Capital Gains Tax & NIIT Calculator

Estimate your federal tax on long-term capital gains and qualified dividends using the same stacking logic as the IRS Qualified Dividends and Capital Gain Tax Worksheet, plus the 3.8% Net Investment Income Tax (NIIT) — tax year 2025 (returns filed in 2026), shown line by line so you can see exactly how the numbers are built.

1 Your Income

Enter amounts from your own estimate or last year's return. Dollar figures only — no commas needed.
Taxable income (Form 1040, line 15) before adding net capital gain or qualified dividends — wages, business income, interest, etc., minus your deduction. Don't include the amounts below here or you'll double count them.
Taxed at ordinary rates, not the preferential 0/15/20% rates. This calculator folds it into your ordinary income automatically — enter 0 if none, or a negative number for a net short-term loss.
Eligible for the 0% / 15% / 20% preferential rates.
Also eligible for the 0% / 15% / 20% preferential rates — stacks with long-term gain.
Leave blank and this calculator will approximate MAGI as total taxable income plus your 2025 standard deduction — a rough proxy only. Enter your actual MAGI for an accurate result.
Taxable interest, dividends, capital gains, and rental/royalty income net of allocable expenses. This calculator does not derive it for you — see Form 8960.
Sources

2025 ordinary income tax brackets, capital gain rate breakpoints, and standard deduction amounts: Rev. Proc. 2024-40. NIIT: IRC §1411 and Form 8960 instructions (the $200,000 / $250,000 / $125,000 MAGI thresholds are fixed by statute and are not inflation-adjusted). Worksheet mechanics: Qualified Dividends and Capital Gain Tax Worksheet, 2025 Form 1040 instructions. Verify current figures against the official IRS Rev. Proc. and instructions before filing, as amounts are subject to IRS correction or later legislation.

2 Qualified Dividends & Capital Gain Tax Worksheet line by line

This mirrors the actual IRS worksheet: your ordinary income fills the tax brackets from the bottom up, then your long-term gain and qualified dividends stack on top of it and get taxed at whichever 0% / 15% / 20% tier that stacked total lands in.
LineDescriptionAmount
Tax on ordinary income only
$0
Tax on LTCG + qualified dividends
$0
Worksheet tax (lines combined)
$0
Final income tax (smaller of worksheet or all-ordinary)
$0
Your long-term gain and qualified dividends are taxed across the rate tiers shown above based on where your total taxable income falls.
Why compare to "all-ordinary" tax at the end?

The real IRS worksheet's last step takes the smaller of the worksheet result or the tax on all your taxable income computed as if it were entirely ordinary income. In virtually all real cases the worksheet result is smaller (that's the point of the preferential rates), but this final check is a safety net built into the official form, so this calculator replicates it.

3 Net Investment Income Tax (NIIT) Form 8960 / IRC §1411

A flat 3.8% surtax on the lesser of your net investment income or the amount your MAGI exceeds the threshold for your filing status.
LineDescriptionAmount
NIIT threshold (your filing status)
$0
MAGI used
$0
Net Investment Income Tax
$0

4 Combined Summary

Ordinary income tax (within worksheet)
$0
LTCG / qualified dividend tax
$0
Net Investment Income Tax
$0
Estimated total federal tax
$0

Important — this is an estimate only

This tool provides a simplified, educational estimate for planning purposes only. It is not tax advice, is not a guarantee of your actual tax liability, and does not constitute a completed Form 1040, Schedule D, or Form 8960. It does not account for: state or local income tax; the Alternative Minimum Tax; the Qualified Business Income (§199A) deduction; the 28% rate on collectibles gain or unrecaptured §1250 gain (capped at 25%); the investment interest expense adjustment (Form 4952); phase-outs of other credits or deductions caused by additional income; underpayment penalties or estimated-tax requirements; or any amounts specific to trusts and estates. The MAGI auto-estimate (when left blank) is a rough proxy only and ignores itemized deductions, above-the-line addbacks (such as the foreign earned income exclusion), and other MAGI adjustments — enter your actual MAGI whenever possible. Figures are based on 2025 amounts published in Rev. Proc. 2024-40 and are subject to correction. Always confirm results with a qualified preparer before filing or making financial decisions based on this estimate.

Contacts

Mail: West Palm Beach, Florida

Phone: +1 (616) ···-····

Email: [email protected]

Become a Client