Skip to content
Finance Calculators

Capital gains tax calculator

Estimate federal long-term and short-term capital gains tax on stock sales.

Results

Tax owed
$2,250.00
Gain
$15,000.00
Rate
15%
Net after tax
$12,750.00

Long-term beats short-term

Assets held more than a year qualify for long-term capital gains rates (0/15/20%). Held under a year, gains are taxed as ordinary income โ€” often double.

Frequently asked questions

1.What about state tax?

Most states tax capital gains as ordinary income. Add your state rate to get true total tax.

2.What's the NIIT?

High earners pay an additional 3.8% net investment income tax over $200k single / $250k joint thresholds.

Tools that pair with this calculator

Independent picks. We may earn a commission if you open an account โ€” no cost to you.

Digital Dashboard Hub

Track every financial metric in one personalized dashboard

DDH gives you 250+ calculators, trackers, and planners โ€” net worth, debt payoff, FIRE number, savings rate, and more โ€” all synced in one place. Free 14-day trial.

Try 250+ financial tools free โ†’

More free financial tools

Keep going โ€” these tools pair well with this one.

Powered by Digital Dashboard Hub โ€” 250+ free tools for creators, business, and wellness.

Get one result tip a week

Free. No spam. Unsubscribe anytime.

Part of the Digital Dashboard Hub network
Powered byDigital Dashboard Hubโ€” 250+ free tools

Calculators, trackers, and planners for creators, business, and wellness โ€” all in one place.

Explore all 250+ tools โ†’