Your numbers

Result

Federal tax on your investment income—Effective rate
Income tax on investments—
Net investment income tax—
You keep—

Calculated in your browser. Nothing you type is sent or stored on a server. Federal figures use the IRS brackets, standard deduction and limits for the year you pick (2025 and 2026, as updated by the One Big Beautiful Bill Act). It is an estimate for planning, not tax advice.

Long-term vs short-term

Gains on assets you held for more than a year, and qualified dividends, get lower rates: 0%, 15% or 20% depending on your taxable income. Short-term gains, non-qualified dividends and interest are taxed like wages, at your normal bracket.

How the rates stack

Your other income fills the brackets first. Long-term gains sit on top of it, so the same gain can be taxed partly at 0% and partly at 15% if it crosses a threshold. For 2026 the 0% rate applies to taxable income up to $49,450 for single filers and $98,900 for joint filers.

Net investment income tax

If your income is above $200,000 ($250,000 for joint filers), an extra 3.8% applies to the smaller of your investment income or the amount you are over the threshold.

Example

A single filer in 2026 with $60,000 of other income and a $20,000 long-term gain owes about $2,168 on the gain: $5,550 of it falls in the 0% band and the rest is taxed at 15%, an effective rate of about 10.8%.

Official source for tax rules in the United States: Internal Revenue Service (IRS). Last updated .

Questions

Can losses lower the tax?

Yes. Capital losses offset gains, and up to $3,000 of extra losses can reduce other income each year. Enter your net gains after losses.

Does this include state tax?

No. Most states tax capital gains as regular income, so your total could be higher.

What are qualified dividends?

Most dividends from US companies and many foreign ones held for long enough. Your broker lists them separately on Form 1099-DIV.