US Capital Gains Tax Estimator (Short-Term vs. Long-Term)
Compare estimated federal taxes on stocks, ETFs, crypto, or real estate sold within 1 year (short-term ordinary income rates) vs. held longer than 1 year (0%, 15%, or 20% long-term brackets).
Sale & Income Details
Estimated Tax & Net Profit
Tax Disclaimer: Uses simplified progressive US federal reference brackets for educational planning only. Does not constitute legal or CPA tax advice; verify exact annual IRS inflation-adjusted thresholds before filing.
How US Federal Capital Gains Tax Works (Short-Term vs. Long-Term)
When you sell stocks, index ETFs, cryptocurrency, or real estate for more than your adjusted cost basis, the IRS taxes the net profit based on how long you owned the asset. Crossing the 1-year holding threshold (366+ days) shifts gains from ordinary income rates (up to 37%) into preferential 0%, 15%, or 20% long-term brackets.
Step-by-Step Instructions
- Enter your original purchase cost basis (including reinvested dividends or commissions) and total sale proceeds.
- Select Single or Married Filing Jointly and enter your other taxable ordinary income (after standard/itemized deductions).
- Add your state income tax rate (0% in TX, FL, WA, NV, TN, SD, WY, AK, NH; California taxes gains as ordinary state income).
- Toggle between Long-Term (> 1 year) and Short-Term (โค 1 year) to see exact federal tax, 3.8% NIIT impact, and net after-tax profit.
Worked Example & Methodology
A Single filer with $75,000 taxable ordinary income who sells stock for a $25,000 gain pays roughly 15% federal long-term tax ($3,750) if held over a yearโversus 22%โ24% ($5,500+) if sold on Day 360, saving over $1,750 simply by waiting.
Privacy & Verification: Runs 100% locally in your browser with zero financial tracking. Estimates use simplified federal brackets for educational planning; verify exact annual IRS limits with a CPA.
Frequently Asked Questions
How does the 0% long-term capital gains bracket work?
Capital gains stack on top of ordinary taxable income. Any portion of long-term gain that fits below the 0% taxable income ceiling (roughly ~$48k Single / ~$96k Married Jointly) is taxed at 0% federally.
When does the extra 3.8% Net Investment Income Tax (NIIT) apply?
NIIT applies to net investment income when Modified Adjusted Gross Income exceeds $200,000 (Single) or $250,000 (Married Filing Jointly).
Can capital losses offset my gains and salary?
Yes. Realized losses offset realized gains dollar-for-dollar, and up to $3,000 of excess net capital loss per year can offset ordinary income (subject to the 30-day wash-sale rule).
Does selling inside a 401(k) or Roth IRA trigger capital gains tax?
No. Buying and selling securities inside tax-advantaged retirement accounts does not trigger annual capital gains reporting.