Calculate capital gains tax with short-term and long-term rates. Includes NIIT and residence exclusion.
Capital gains tax is a tax on the profit from the sale of an asset. Short-term gains (held under 1 year) are taxed as ordinary income; long-term gains benefit from reduced rates of 0%, 15%, or 20% based on your income.
Estimated Tax Owed
| Filing Status | 0% | 15% | 20% |
|---|---|---|---|
| Single | $0 – $47,025 | $47,026 – $518,900 | $518,901+ |
| Married Filing Jointly | $0 – $94,050 | $94,051 – $583,750 | $583,751+ |
| Married Filing Separately | $0 – $47,025 | $47,026 – $291,850 | $291,851+ |
| Head of Household | $0 – $63,000 | $63,001 – $551,350 | $551,351+ |
Source: IRS Revenue Procedure 2023-34. For informational purposes only.
Formula
Capital Gains Tax = Taxable Gain × Applicable Rate (0%, 15%, or 20% for long-term)Taxable Gain = Sale price minus cost basis, minus any applicable exclusions
Applicable Rate = 0%, 15%, or 20% for long-term; ordinary income rate for short-term
Worked Example
$50,000 stock gain, single filer, $80,000 income
Did you know? The Net Investment Income Tax (NIIT) of 3.8% applies to investment income for taxpayers with modified AGI above $200,000 (single) or $250,000 (married filing jointly). This tax was established by the Affordable Care Act and applies to capital gains, dividends, interest, and rental income (source: IRS Topic 559).
Sources
Estimate monthly spousal support using income disparity and marriage length. Educational use only.
Generate a full amortization schedule showing each payment's principal and interest split.
Calculate auto loan payments with down payment, trade-in, and amortization schedule.
Find break-even units and revenue. Analyze profit at any volume with contribution margin.
Calculate expected returns using CAPM based on beta, risk-free rate, and market return.
Calculate cash flow from operations, investing, and financing to analyze business health.