Short-term gains are taxed at ordinary rates. Long-term gains and qualified dividends use the 0%/15%/20% system with IRS “stacking.” Optionally include the 3.8% Net Investment Income Tax (NIIT).
| Tax on ordinary income (incl. ST gains) | — |
|---|---|
| Tax on LTCG + qualified dividends | — |
| Total federal tax on this income | — |
Capital gains and qualified dividends have their own tax system in the U.S. In 2025, short-term gains (assets held one year or less) are taxed like wages at your ordinary rates, while long-term gains and qualified dividends may benefit from preferential brackets at 0%, 15%, and 20%. The catch is the IRS “stacking” rule: your ordinary income fills the lower layers of your taxable income first, and only then do your long-term gains/dividends spill into the remaining 0%/15%/20% space. This tool models that stack precisely. It also lets you toggle the Net Investment Income Tax (NIIT), a 3.8% surtax that can apply above fixed thresholds based on your Modified AGI.
Everything runs locally in your browser—no sign-in, no data stored. Use it to plan around year-end sales, harvest losses, or preview how a large distribution might land. When you’re done, export a tidy CSV to save your scenario.
Are all dividends “qualified”? No. They must meet holding-period and issuer rules. If not qualified, they’re taxed at ordinary rates.
Does this handle the 25% unrecaptured §1250 or 28% collectibles rates? Not in this version. Those special categories need additional inputs; consider running them separately or conservatively treating them as ordinary to avoid under-estimation.
Why doesn’t my tax equal a single percentage times my gains? Because LTCG/QD float on top of your taxable income. The portion that lands in each bracket gets that bracket’s rate—no single flat percentage applies.
Is NIIT optional? No, not on a real return. The toggle here is for planning; if your MAGI exceeds the threshold and you have net investment income, NIIT applies.
Next steps: check our 2025 Federal Income Tax Calculator for your full ordinary-income picture, and use the Sales Tax Calculator or Self-Employment Tax Calculator if those apply.