Capital Gains Rate Calculator
Find which 2026 federal long-term capital gains rate (0%, 15%, or 20%) applies to you, based on your other taxable income and filing status.
Find which 2026 federal long-term capital gains rate (0%, 15%, or 20%) applies to you, based on your other taxable income and filing status.
Results
About This Calculator
Enter your other taxable income (before adding any capital gain) and your filing status to instantly see which of the three 2026 long-term capital gains rates — 0%, 15%, or 20% — the FIRST dollar of a long-term gain would be taxed at. This is genuinely useful on its own, separate from calculating tax on a specific gain amount, for planning when to sell.
The result also shows how much more taxable income (including any gain) you could add before crossing into the next, higher rate — handy for timing a sale to stay in a lower bracket, or for tax-loss/gain harvesting decisions near year-end.
Example
Example: a Single filer with $40,000 in other taxable income has a starting long-term capital gains rate of 0%, with about $25,550 of room (gains up to that amount would stay entirely tax-free) before crossing into the 15% bracket.
Assumptions
This calculator uses 2026 IRS federal capital gains brackets, ordinary income brackets, and the standard deduction — it's federal-only (no state capital gains tax, which many states do levy on top of this) and doesn't account for itemized deductions or every situation (wash sales, Qualified Opportunity Zone deferrals, 1031 exchanges, and similar are not modeled). The 3.8% Net Investment Income Tax is estimated using your other income plus the gain as a stand-in for Modified AGI, which is close but not identical to the IRS's exact MAGI definition.
This tool provides general estimates for informational purposes only and isn't tax, legal, or financial advice. For guidance specific to your situation, consult a qualified tax professional or the IRS.
Frequently Asked Questions
Is my capital gains rate the same as my income tax bracket?
No — long-term capital gains have their own separate rate schedule (0%/15%/20%) that doesn't match the ordinary income brackets (10% through 37%), though both are based on the same taxable income figure. It's common to be in, say, the 22% ordinary bracket while your long-term gains are taxed at 15%.
Does this include state capital gains tax?
No — this is a federal-only calculator. Most states also tax capital gains (often as ordinary income), so your total tax bill including state tax will typically be higher than this federal-only estimate.
What is the Net Investment Income Tax?
An additional 3.8% federal tax on investment income (including capital gains) for higher-income filers — above $200,000 Modified AGI for Single/Head of Household, $250,000 for Married Filing Jointly, or $125,000 for Married Filing Separately. This calculator estimates it automatically when it applies.
Related Calculators
About the Author

Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile