Whenever you sell a capital asset—such as shares of stock, cryptocurrency, mutual funds, or commercial real estate—for more than your original cost basis, the Internal Revenue Service requires you to pay capital gains tax. How much you owe depends fundamentally on an exact 365-day calendar rule and your overall taxable income bracket.
Who Needs Capital Gains Tax Calculations?
Capital gains modeling is essential for:
- Retail Investors & Tech Workers: Exercising and selling ISO/NSO employee stock options or RSU grants.
- Crypto Traders: Calculating taxable events across Bitcoin, Ethereum, and DeFi swaps under IRS Notice 2014-21.
- Property Owners: Selling residential secondary rental units or vacation homes outside the Section 121 primary residence exclusion.
Short-Term vs. Long-Term Mechanics
The IRS creates an intentional cliff between holding periods:
- Short-Term Capital Gains (Held 1 year or less): Taxed as ordinary income. Gains are layered on top of your wage income and taxed at progressive federal brackets ranging from 10% to 37%.
- Long-Term Capital Gains (Held more than 365 days): Benefit from preferential statutory rates of 0%, 15%, or 20%.
- Net Investment Income Tax (NIIT): High earners with Modified Adjusted Gross Income (MAGI) above \$200,000 (Single) or \$250,000 (Married Filing Jointly) face an additional 3.8% surtax under IRC Section 1411.
Real-Life US Example: Timing a \$60,000 Tech Stock Liquidation
Sarah, an engineer in Seattle, acquired \$20,000 worth of stock that has appreciated to \$80,000, creating a \$60,000 gain. Her base salary is \$110,000 (Single filer):
- Scenario A (Sold at 11 Months - Short Term): The \$60,000 is added to ordinary income. It falls directly into the 24% marginal federal tax bracket. Tax owed = \$14,400.
- Scenario B (Sold at 12 Months + 1 Day - Long Term): Because Sarah's total taxable income falls between \$47,025 and \$518,900, her long-term capital gain is taxed at 15%. Tax owed = \$9,000.
Immediate Tax Savings by Waiting 30 Days: \$5,400 (a 37.5% reduction in federal tax liability).
Comparison: UK Capital Gains Tax Rules
In contrast to the US 0%/15%/20% schedule, the UK HMRC charges Capital Gains Tax (CGT) with a single annual tax-free allowance (£3,000 for 2024/25). Gains above this threshold are taxed at 10% (basic rate) or 20% (higher rate) on listed securities, and 18% or 24% on residential property gains.
Compute your exact tax liability and discover how holding periods alter your net return with our interactive US Capital Gains Tax Calculator.