Short-Term vs. Long-Term Capital Gains Tax Calculator (2026 Brackets)
Compare ordinary rates (10% to 37%) against 0%, 15%, 20% long-term capital gains brackets plus 3.8% NIIT surtax. Calculate net tax liabilities instantly.
Direct Rate-Card Audit (Verified against official 2026 platform documentation)
Dual-model mathematical verification against published developer documentation, SEC 10-K/10-Q filings, and merchant platform agreements. Our algorithms are open-source and deterministic, ensuring zero sponsored skew or affiliate distortion in calculation outputs.
Head-to-Head Platform Fee Comparison Engine
Platform A (Marketplace)
10% Platform Cut + 2.9% + $0.30 Card Processing
Platform B (Merchant of Record)
5.0% + $0.50 (Merchant of Record All-In)
Platform Comparison Notice: Rates reflect 2026 published standard schedules for Gumroad and Lemon Squeezy. Does not factor custom high-volume merchant negotiated tier rates.
Share & Save This Calculator
Copy live calculations or pin the high-resolution 2026 fee cheat-sheet.
Deconstructing Financial Realities in 2026
Capital gains taxation represents one of the most critical determinants of net investment performance for taxable retail accounts. Under United States federal tax law, the internal revenue code enforces a fundamental bifurcation between Short-Term Capital Gains (assets held for 365 days or fewer) and Long-Term Capital Gains (assets held for greater than one year). Short-term gains enjoy zero preferential treatment and are taxed as ordinary income at progressive federal marginal rates ranging from 10% up to 37%. In contrast, long-term gains receive substantial tax relief under statutory preferential brackets of 0%, 15%, and 20%, depending on total household taxable income. High-income investors must also account for the Net Investment Income Tax (NIIT)—a 3.8% surtax levied on investment earnings exceeding statutory Modified Adjusted Gross Income thresholds ($200,000 for single filers, $250,000 for married couples filing jointly). This institutional tax model compares short-term versus long-term liabilities, NIIT exposure, state tax loads, and net retained proceeds.
Exact Mathematical Formula & Logic
Unlike simplistic estimates, our algorithmic engine calculates net profit by computing discrete operational friction variables:
Formula Variable Legend
Net taxable profit generated upon asset disposition, equal to gross sales proceeds minus adjusted cost basis.
Elapsed duration between trade execution date of acquisition and trade execution date of liquidation.
Taxpayer's standard taxable income derived from wages, salaries, business profits, and interest prior to capital gains.
A 3.8% statutory federal surtax applied under IRC Section 1411 to investment income above statutory MAGI thresholds.
State-level income tax levied on recognized capital gains, which typically treat capital profits as ordinary income.
$75,000 Realized Capital Gain with $145,000 Ordinary Income (Married Filing Jointly, 16-Month Hold)
A married couple filing jointly realizes a $75,000 capital gain on an equity position. Their base taxable ordinary income is $145,000, placing them in the 22% federal ordinary income bracket. Because they held the stock for 16 months (>1 year), the gain qualifies for long-term rates. Their total MAGI is $220,000 ($145k + $75k). They reside in a state with a flat 5.75% capital gains tax rate.
Step-by-Step Mathematical Reconciliation
Federal Capital Gains Tax Brackets & Surtax Thresholds (2026)
Directly audited against published 2026 Merchant Agreements & Terms
| Filing Status | 0% Long-Term Bracket | 15% Long-Term Bracket | 20% Long-Term Bracket | 3.8% NIIT MAGI Threshold |
|---|---|---|---|---|
| Single Filer | Taxable income up to $48,350 | $48,351 to $533,400 | Taxable income over $533,400 | MAGI exceeding $200,000 |
| Married Filing Jointly | Taxable income up to $96,700 | $96,701 to $600,050 | Taxable income over $600,050 | MAGI exceeding $250,000 |
| Head of Household | Taxable income up to $64,750 | $64,751 to $566,700 | Taxable income over $566,700 | MAGI exceeding $200,000 |
| Married Filing Separately | Taxable income up to $48,350 | $48,351 to $300,025 | Taxable income over $300,025 | MAGI exceeding $125,000 |
| Short-Term (All Statuses) | None: Taxed as ordinary | None: Progressive brackets | Top bracket reaches 37.0% | Applies to net investment gain |
Actionable Levers to Expand Net Margins
Tactical interventions designed by our financial modeling desk to defend cash flows.
Delay Asset Sales by Days or Weeks to Cross the 365-Day Threshold
Audit your trade lot acquisition dates meticulously. Liquidating an asset on day 364 triggers full ordinary income taxation (up to 37%), whereas waiting just two days to day 366 cuts your federal tax rate to 15% or 20%, generating an immediate 10% to 17% net return on tax savings alone.
Execute Year-End Tax-Loss Harvesting to Offset Realized Capital Gains
Review unrealized losses in your portfolio before December 31st. Realized capital losses offset capital gains dollar-for-dollar without limit. If losses exceed gains, you can offset up to $3,000 of ordinary wage income per tax year, rolling forward excess losses indefinitely.
Utilize Specific Identification (Spec ID) When Liquidating Partial Holdings
Instruct your brokerage to execute sales under the 'Highest-In, First-Out' (HIFO) or Specific Identification methodology. Selling high-cost lots first minimizes your taxable capital gain, allowing lower-cost baseline lots to continue compounding unrealized in tax deferral.
Donate Appreciated Long-Term Shares to Charity or Donor-Advised Funds (DAF)
Donating appreciated equities held over one year directly to a 501(c)(3) charity or DAF allows you to deduct 100% of the fair market value from your ordinary income while paying 0% in capital gains tax on the built-in appreciation.
Frequently Asked Questions
Detailed technical answers addressing 2026 fee policy adjustments.
Q: What is the exact holding period required to qualify for long-term capital gains?
To qualify for long-term capital gains tax rates, the security must be held for more than one year (at least 366 days, or 367 days in a leap year). The holding period begins on the day after you acquire the asset (the trade date, not settlement date) and includes the day you sell it.
Q: How does the Net Investment Income Tax (NIIT) 3.8% surtax apply?
The Net Investment Income Tax is a 3.8% surtax enacted under IRC Section 1411. It applies to the lesser of: (1) your net investment income (which includes capital gains, dividends, interest, and rental income), or (2) the amount by which your Modified Adjusted Gross Income (MAGI) exceeds statutory thresholds ($200,000 single, $250,000 married joint).
Q: Can capital losses be used to offset ordinary salary income?
Yes, but with strict statutory limits. Capital losses must first offset capital gains of the same type (short-term against short-term, long-term against long-term). If you have an overall net capital loss for the year, you can deduct up to $3,000 ($1,500 if married filing separately) against ordinary wage income, carrying forward the remainder.
Q: Do state income taxes apply to capital gains, and are there state deductions?
Most US states tax capital gains as standard ordinary income at their standard state income tax rates (e.g., California up to 13.3%, New York up to 10.9%), offering zero preferential rates for long-term holding. A few states (like Washington) levy specialized excise taxes on high-value capital gains, while states like Florida, Texas, and Nevada charge 0%.
Q: What is the 0% long-term capital gains tax bracket and who qualifies?
Under federal tax law, taxpayers with taxable income below statutory ceilings ($48,350 for single filers, $96,700 for married joint filers in 2026) pay exactly 0% federal tax on realized long-term capital gains that fall within that income threshold. This allows low-income or early-retired investors to harvest substantial investment gains completely tax-free.