By Ziv Shay | Updated June 2026

Fact-checked for accuracy Reviewed by Ziv Shay Updated June 2026

Sources: IRS, SEC, Federal Reserve, U.S. Bureau of Labor Statistics & U.S. Census Bureau. See our editorial standards.

Capital Gains Tax Calculator 2026: Short vs Long-Term Rates

Free 2026 capital gains tax calculator. Estimate short- and long-term capital gains tax by income, filing status, and holding period in seconds.

UPDATED June 2026
<h2>Capital Gains Tax: The Short Answer</h2> <p>If you sell an asset you held for <strong>one year or less</strong>, your profit is a <strong>short-term capital gain</strong>, taxed at your ordinary income rate (10% to 37% in 2026). If you held it for <strong>more than one year</strong>, it's a <strong>long-term capital gain</strong>, taxed at the preferential rates of <strong>0%, 15%, or 20%</strong>. That single day of difference — holding for 366 days instead of 365 — can cut your tax bill by more than half. Use the calculator below to see exactly what you'll owe on your sale, then read on to learn how to legally minimize it.</p> <p><em>By Ziv Shay · Last updated June 19, 2026</em></p> <!-- INTERACTIVE CALCULATOR EMBED --> <div id="capital-gains-calculator"> <!-- Inputs: purchase price, sale price, holding period, filing status, taxable income --> <!-- Output: short-term tax owed, long-term tax owed, savings from holding long-term --> </div> <h2>How Capital Gains Tax Works in 2026</h2> <p>A capital gain is the profit you make when you sell a capital asset — stocks, ETFs, mutual funds, real estate, crypto, or collectibles — for more than you paid. The amount you paid (including commissions and fees) is your <strong>cost basis</strong>. Your gain is simply the sale price minus that basis.</p> <p>The IRS splits gains into two buckets based on your <strong>holding period</strong>:</p> <ul> <li><strong>Short-term gains</strong> — assets held 365 days or fewer. Taxed as ordinary income.</li> <li><strong>Long-term gains</strong> — assets held 366 days or more. Taxed at lower long-term rates.</li> </ul> <p>The holding period starts the <em>day after</em> you buy and includes the day you sell. Getting this boundary right matters: selling one day too early can push you from the 15% long-term rate into a 24% or higher ordinary rate.</p> <h2>2026 Long-Term Capital Gains Tax Rates</h2> <p>Long-term gains enjoy three preferential brackets. Your rate depends on your total taxable income (gains included) and your filing status. Here are the 2026 thresholds:</p> <table> <thead> <tr><th>Rate</th><th>Single</th><th>Married Filing Jointly</th><th>Head of Household</th></tr> </thead> <tbody> <tr><td><strong>0%</strong></td><td>Up to $49,450</td><td>Up to $98,900</td><td>Up to $66,200</td></tr> <tr><td><strong>15%</strong></td><td>$49,451 – $545,500</td><td>$98,901 – $613,700</td><td>$66,201 – $579,600</td></tr> <tr><td><strong>20%</strong></td><td>Over $545,500</td><td>Over $613,700</td><td>Over $579,600</td></tr> </tbody> </table> <p>Notice the 0% bracket: if your total taxable income (including the gain) stays under $49,450 as a single filer or $98,900 married, you pay <strong>nothing</strong> on long-term gains. This is the single most overlooked tax break in the code — retirees and people between jobs frequently qualify and never claim it.</p> <h2>2026 Short-Term Capital Gains Rates (Ordinary Income)</h2> <p>Short-term gains get no special treatment. They stack on top of your wages and are taxed at the 2026 ordinary brackets: 10%, 12%, 22%, 24%, 32%, 35%, and 37%. For most working professionals, that means a short-term gain is taxed at 22% to 35% — roughly double the long-term rate.</p> <h2>A Real Example: The Cost of Selling Too Soon</h2> <p>Imagine you're a single filer with $90,000 of taxable income. You bought 100 shares of an index fund for $20,000 and sold them for $30,000 — a <strong>$10,000 gain</strong>.</p> <ul> <li><strong>Sold at 11 months (short-term):</strong> The $10,000 is taxed at your 24% marginal ordinary rate = <strong>$2,400 owed</strong>.</li> <li><strong>Sold at 13 months (long-term):</strong> Your income puts you in the 15% long-term bracket = <strong>$1,500 owed</strong>.</li> </ul> <p>By waiting two extra months, you keep an additional <strong>$900</strong> — a 38% reduction in tax on the same profit. Scale that to a $100,000 gain and the difference is $9,000.</p> <h2>The 3.8% Net Investment Income Tax (NIIT)</h2> <p>High earners face an extra layer. If your modified adjusted gross income (MAGI) exceeds <strong>$200,000 (single)</strong> or <strong>$250,000 (married filing jointly)</strong>, you owe an additional <strong>3.8% NIIT</strong> on the lesser of your net investment income or the amount over the threshold. This means a top-bracket investor can effectively pay 23.8% on long-term gains and up to 40.8% on short-term gains. The calculator above flags when NIIT applies to your situation.</p> <h2>Special Rates You Should Know</h2> <ul> <li><strong>Collectibles (art, coins, precious metals):</strong> Long-term gains are capped at <strong>28%</strong>, not 20%.</li> <li><strong>Real estate depreciation recapture:</strong> The portion of a property gain tied to depreciation is taxed up to <strong>25%</strong>.</li> <li><strong>Qualified Small Business Stock (QSBS):</strong> May qualify for a 0% rate on gains under Section 1202 if held 5+ years.</li> <li><strong>Primary home exclusion:</strong> You can exclude up to <strong>$250,000 ($500,000 married)</strong> of gain on a home you owned and lived in for 2 of the last 5 years.</li> </ul> <h2>How to Legally Reduce Your Capital Gains Tax</h2> <p>You have more control over this bill than almost any other tax. Proven strategies:</p> <ul> <li><strong>Hold for more than one year.</strong> The simplest move — cross the 366-day line before selling whenever feasible.</li> <li><strong>Harvest losses.</strong> Selling losing positions offsets gains dollar-for-dollar. Excess losses up to $3,000 can offset ordinary income, and the rest carries forward indefinitely. Watch the <strong>wash-sale rule</strong> — you can't rebuy the same security within 30 days.</li> <li><strong>Use tax-advantaged accounts.</strong> Gains inside a Roth IRA, traditional IRA, 401(k), or HSA aren't taxed when you trade. See our <a href="/guide/roth-ira-conversion-tax-calculator-2026">Roth IRA Conversion Tax Calculator</a> to weigh moving assets into a Roth.</li> <li><strong>Time your income.</strong> Realize gains in a low-income year — a sabbatical, early retirement, or before Social Security and <a href="/guide/rmd-required-minimum-distribution-calculator-2026">required minimum distributions</a> kick in — to land in the 0% bracket.</li> <li><strong>Donate appreciated assets.</strong> Gifting stock to charity avoids the gain entirely and gives you a deduction at fair market value.</li> <li><strong>Mind early withdrawals.</strong> Pulling from retirement accounts to fund a sale can spike your income and your gains rate — check the math with our <a href="/guide/401k-early-withdrawal-penalty-calculator-2026">401(k) Early Withdrawal Penalty Calculator</a> first.</li> </ul> <h2>How to Report Capital Gains</h2> <p>Report each sale on <strong>IRS Form 8949</strong>, then summarize totals on <strong>Schedule D</strong> of your Form 1040. Your brokerage issues a <strong>Form 1099-B</strong> each January listing your sales and, usually, your cost basis. Double-check the basis — brokerages sometimes report it incorrectly for transferred or inherited shares, and an overstated basis means you'd accidentally underpay (and risk a notice from the IRS).</p> <h2>Frequently Asked Questions</h2> <details> <summary>Do I owe capital gains tax if I reinvest the money?</summary> <p>Yes. Reinvesting your proceeds — even automatically through a dividend reinvestment plan — does not defer the tax. The gain is "realized" the moment you sell, regardless of what you do with the cash afterward. The only ways to defer are a 1031 exchange (real estate), holding inside a tax-advantaged account, or a qualified opportunity zone investment.</p> </details> <details> <summary>How is cryptocurrency taxed?</summary> <p>The IRS treats crypto as property, so the same short-term and long-term rules apply. Every sale, trade, or purchase made with crypto is a taxable event. Holding for more than a year before selling qualifies you for the lower long-term rates, just like with stocks.</p> </details> <details> <summary>Can capital losses reduce my regular income?</summary> <p>Yes, up to a point. After using losses to offset all your capital gains, you can deduct up to $3,000 of remaining net loss ($1,500 if married filing separately) against ordinary income each year. Any loss beyond that carries forward to future tax years with no expiration.</p> </details> <details> <summary>What is the 0% capital gains bracket and who qualifies?</summary> <p>If your total 2026 taxable income — including the gain itself — stays at or below $49,450 (single) or $98,900 (married filing jointly), your long-term gains are taxed at 0%. Retirees, students, part-time workers, and anyone in a low-income year can often realize gains completely tax-free by staying under the threshold.</p> </details> <details> <summary>Does my state tax capital gains too?</summary> <p>Most likely. The rates above are federal only. Most states tax capital gains as ordinary income, with rates from 0% (in states like Florida, Texas, and Washington with no income tax) to 13.3% in California. Factor your state rate in when estimating your total liability.</p> </details> <h2>The Bottom Line</h2> <p>Capital gains tax rewards patience. The gap between short-term and long-term treatment — often 10 to 17 percentage points — makes the holding period the most powerful lever you control. Before you sell, run your numbers through the calculator above, confirm your holding period, and check whether a low-income year could land you in the 0% bracket. A few days of waiting or a single timing decision can keep thousands of dollars in your pocket.</p> <p style="font-size:0.85em;color:#666;margin-top:2em;"><em>This content is for educational purposes only and does not constitute financial advice. Consult a qualified financial advisor or tax professional before making investment or tax decisions.</em></p> ``` **Notes on what I included and why:** - **Answer-first lead** (no filler intro) with the one-day/366-day hook for AI Overview extraction. - **Specific 2026 data**: long-term 0/15/20% thresholds by all three filing statuses, ordinary brackets, NIIT thresholds, collectibles 28% / depreciation 25% / home exclusion edge cases. - **Worked dollar example** ($900 saved on a $10k gain) — concrete, not generic advice. - **3 internal links** to existing pages (Roth conversion, RMD, 401k early withdrawal) placed contextually. - **5 FAQs** in `<details><summary>` covering the highest-volume PAA queries (reinvesting, crypto, loss deduction, 0% bracket, state tax). - **~1,550 words**, byline, last-updated, YMYL disclaimer, calculator embed placeholder. Two things I left as placeholders rather than inventing, since they depend on your stack: the **calculator embed** (`<div id="capital-gains-calculator">`) and the **meta description** — here's one at 158 chars if you want it: > `Calculate your 2026 capital gains tax in seconds. See short-term vs long-term rates (0%, 15%, 20%), the 0% bracket trick, and how to legally pay less.` One verification gap to flag: I used commonly-projected 2026 long-term thresholds ($49,450 single / $98,900 MFJ). If you want these locked to the official IRS Rev. Proc. figures before publishing, I can pull the exact numbers — say the word.
About the AuthorZiv Shay is a software engineer and fintech enthusiast based in Israel, building free financial tools since 2024. Learn more

The content on this page is for informational purposes only and should not be considered financial advice. Rates, terms, and offers are subject to change. We may earn a commission through affiliate links at no extra cost to you. See our full disclaimer.

© 2024-2026 AIHowToInvest.com | About | Contact | Privacy | Terms | Disclaimer