Medicare Surtax Impact Calculator

Medicare Surtax Guide (NIIT & Additional Medicare Tax)

High-income US taxpayers may be subject to two additional taxes often referred to as Medicare surtaxes: the Net Investment Income Tax (NIIT) and the Additional Medicare Tax.

1. Net Investment Income Tax (NIIT) - 3.8%

This tax applies to the lesser of:

  • Your Net Investment Income, OR
  • The amount your Modified Adjusted Gross Income (MAGI) exceeds the applicable threshold.

Generally, Net Investment Income includes interest, dividends, capital gains, rental and royalty income, and income from businesses that are passive activities to you. There are exclusions.

2. Additional Medicare Tax - 0.9%

This tax applies to the amount of your wages, compensation, or self-employment income that exceeds the applicable threshold.

Applicable Thresholds (for 2024 & 2025 Tax Years)

Filing StatusThreshold Amount
Married Filing Jointly (MFJ)$250,000
Married Filing Separately (MFS)$125,000
Single, Head of Household, Qualifying Widow(er)$200,000

*These thresholds are for the 2024 and 2025 tax years and may change annually. Thresholds are the same for both the NIIT and Additional Medicare Tax but apply to different income bases.

Disclaimer: This guide provides simplified, general information about US federal Medicare surtaxes. It is not exhaustive and does not cover all rules, definitions (e.g., specific inclusions/exclusions for Net Investment Income, how MAGI is calculated), or exceptions. Tax laws change annually. Consult with a qualified tax professional for accurate information and advice specific to your situation. This tool is for educational purposes only.

Estimate Medicare Surtax Impact

Enter your information below to estimate the potential impact of the 3.8% NIIT and 0.9% Additional Medicare Tax. Use $ for currency inputs.

*AGI is used as a proxy for MAGI in this tool.

*Refer to IRS guidance for a precise definition of Net Investment Income.

*This is the total of income subject to Medicare tax.

Enter your information above and click "Calculate Estimated Surtax".

Disclaimer: This tool provides a simplified estimate based on the inputs you provide and the 2024/2025 federal tax thresholds. It is **NOT** a precise tax calculation or tax advice. It uses AGI as MAGI, requires user input for complex amounts like Net Investment Income, and does not account for all tax rules or individual circumstances. Your actual tax liability may differ. Consult a qualified tax professional for accurate advice.

Estimated Net Investment Income Tax (3.8%): ${estimatedNiit.toFixed(2)} $

`; resultsHTML += `

Excess Wages / Self-Employment Income (over Threshold): ${excessWagesSeIncome.toFixed(2)} $

`; resultsHTML += `

Estimated Additional Medicare Tax (0.9%): ${estimatedAddtlMedicareTax.toFixed(2)} $

`; resultsHTML += `

Estimated Total Medicare Surtax: ${estimatedTotalSurtax.toFixed(2)} $

`; estimatedImpactOutput.innerHTML = resultsHTML; downloadPdfButton.style.display = 'inline-block'; // Show download button }); // --- PDF Download Functionality --- downloadPdfButton.addEventListener('click', async function() { // The element to convert to PDF is the estimated impact output div const element = document.getElementById('mst-estimated-impact'); // Create a clone of the element to avoid modifying the visible DOM const elementToPrint = element.cloneNode(true); elementToPrint.style.width = '800px'; // Set a specific width for PDF rendering elementToPrint.style.padding = '20px'; elementToPrint.style.backgroundColor = '#fff'; // Ensure background is white in PDF elementToPrint.style.color = '#333'; // Ensure text color is dark elementToPrint.style.fontSize = '10pt'; // Adjust font size for PDF // Apply styles to cloned output block elementToPrint.style.border = '1px solid #dee2e6'; // Use light gray border for consistency elementToPrint.style.borderRadius = '5px'; elementToPrint.style.backgroundColor = '#f8f9fa'; // Use light gray background // Apply styles to paragraphs const paragraphs = elementToPrint.querySelectorAll('p'); paragraphs.forEach(p => { p.style.marginBottom = '8px'; p.style.paddingBottom = '4px'; p.style.borderBottom = '1px dashed #e9ecef'; }); // Remove border from the last paragraph if (paragraphs.length > 0) { paragraphs[paragraphs.length - 1].style.borderBottom = 'none'; paragraphs[paragraphs.length - 1].style.marginBottom = '0'; paragraphs[paragraphs.length - 1].style.paddingBottom = '0'; } // Apply styles to spans with amount classes const amountSpans = elementToPrint.querySelectorAll('span.mst-amount'); amountSpans.forEach(span => { span.style.color = '#28a745'; // Success green span.style.fontWeight = 'bold'; }); // Apply styles to the total surtax span const totalSurtaxSpan = elementToPrint.querySelector('span.mst-total-surtax'); if (totalSurtaxSpan) { totalSurtaxSpan.style.color = '#dc3545'; // Danger red totalSurtaxSpan.style.fontWeight = 'bold'; totalSurtaxSpan.style.fontSize = '1.1em'; } // Apply styles to the total row paragraph const totalSurtaxParagraph = elementToPrint.querySelector('p').parentNode.lastElementChild; // Get the last paragraph if (totalSurtaxParagraph) { totalSurtaxParagraph.style.fontWeight = 'bold'; totalSurtaxParagraph.style.marginTop = '15px'; totalSurtaxParagraph.style.paddingTop = '8px'; totalSurtaxParagraph.style.borderTop = '2px solid #dc3545'; } // Apply styles to strong tags const strongTags = elementToPrint.querySelectorAll('strong'); strongTags.forEach(strong => { strong.style.color = '#0056b3'; // Darker primary blue for strong tags in PDF }); // Append cloned element to body temporarily for html2canvas document.body.appendChild(elementToPrint); try { const canvas = await html2canvas(elementToPrint, { scale: 2, // Increase scale for better resolution logging: false, // Disable logging useCORS: true // Enable CORS if images are involved (unlikely here) }); const imgData = canvas.toDataURL('image/png'); const pdf = new window.jspdf.jsPDF({ orientation: 'p', unit: 'mm', format: 'a4' }); const imgWidth = 210 - 20; // A4 width minus margins (10mm each side) const pageHeight = 297; // A4 height const imgHeight = canvas.height * imgWidth / canvas.width; let heightLeft = imgHeight; let position = 10; // Top margin pdf.addImage(imgData, 'PNG', 10, position, imgWidth, imgHeight); heightLeft -= pageHeight - 10; // Deduct height of the first page content while (heightLeft >= 0) { position = heightLeft - imgHeight + 10; // Calculate position for next page pdf.addPage(); pdf.addImage(imgData, 'PNG', 10, position, imgWidth, imgHeight); heightLeft -= pageHeight; } pdf.save('Medicare_Surtax_Estimate.pdf'); } catch (error) { console.error('Error generating PDF:', error); alert('Could not generate PDF. Please try again.'); } finally { // Remove the temporary cloned element document.body.removeChild(elementToPrint); } }); });

The Medicare Surtax Impact Calculator is a useful tool designed to help taxpayers estimate the additional Medicare surtax they may owe based on their income. The Medicare surtax, officially known as the Net Investment Income Tax (NIIT), applies an extra 3.8% tax on certain investment income for individuals and couples with income above specific thresholds. Understanding how this surtax affects your overall tax liability is essential for effective tax planning and financial management.

This calculator allows you to enter your modified adjusted gross income (MAGI), investment income, and filing status to quickly determine the potential surtax amount. Knowing this figure helps you plan investments, adjust income streams, or implement tax strategies that minimize your surtax exposure.

The Medicare surtax applies to income such as interest, dividends, capital gains, rental and royalty income, and passive business income. It kicks in when your MAGI exceeds $200,000 for single filers and $250,000 for married filing jointly. Because the surtax is a relatively recent addition to the tax code, many taxpayers may overlook its impact when estimating their tax burden.

By regularly using the Medicare Surtax Impact Calculator, you can stay informed about your tax obligations and make smarter decisions regarding your investment portfolio and income timing. This tool is especially valuable for high-income earners, investors, and retirees managing diversified income sources.

With clear insights from this calculator, you can work with your tax advisor to optimize your tax planning, reduce surprises during tax season, and maintain better control over your financial health.

Use our Medicare Surtax Impact Calculator today to estimate your additional tax liability and plan more effectively for your financial future.

Scroll to Top