> Quick Answer: Qualified Small Business Stock held long enough can exclude gain from federal tax up to the greater of a statutory dollar cap or 10 times your basis, with the required holding period and dollar cap depending on whether the stock was acquired before or after July 4, 2025.
Overview
Section 1202 of the tax code is one of the most valuable, and most frequently misunderstood, provisions available to founders and early employees of qualifying startups. It allows an investor in Qualified Small Business Stock, universally shortened to QSBS, to exclude some or all of the gain on sale from federal income tax entirely, not merely defer it or tax it at a reduced rate, but exclude it outright. For a founder who built a company from nothing and sells for a large multiple of their tiny original investment, this can mean millions of dollars that never show up as taxable income at all.
The rules changed meaningfully in 2025. The One Big Beautiful Bill Act, enacted July 4, 2025, left the original rule intact for stock acquired on or before that date, a full 100% exclusion after a five-year holding period, capped at the greater of $10 million or 10 times the adjusted basis in the stock. But for stock acquired after July 4, 2025, it replaced the all-or-nothing five-year cliff with a tiered schedule that starts paying out exclusion benefits after just three years, and it raised the dollar cap to $15 million. This calculator models both regimes side by side so you can see which one applies to your stock and what it actually produces.
How This Is Calculated
The calculation starts with a straightforward gain figure: sale proceeds minus your adjusted basis in the stock, the price you originally paid (or the value at issuance, for many founder shares that is a very small number).
For stock acquired on or before July 4, 2025 (the legacy rule): if you have held the stock at least five years, you are eligible for a 100% exclusion, subject to a cap equal to the greater of $10 million or 10 times your adjusted basis. If your basis is small and your gain is enormous, the cap is very likely $10 million flat. If your basis is unusually large, for example because you bought a large block of stock rather than receiving founder shares for a nominal amount, the 10x-basis alternative can push your cap well above $10 million. Hold the stock fewer than five years, and none of this exclusion is available at all; the entire gain is fully taxable.
For stock acquired after July 4, 2025 (the OBBBA tiered rule): the five-year cliff is gone. Instead, holding the stock three years gets you a 50% exclusion, four years gets you 75%, and five or more years gets you the full 100%, all subject to a cap equal to the greater of $15 million or 10 times your adjusted basis. Hold the stock less than three years under this newer rule, and again, no exclusion applies at all.
Whichever regime applies, the calculator applies the relevant exclusion percentage to the smaller of your total gain or the applicable dollar cap, and whatever is left over is the taxable portion of your gain. That taxable portion is then taxed at ordinary long-term capital gains rates, 0%, 15%, or 20% depending on your total income, stacked on top of your other taxable income for the year using the 2026 federal capital gains brackets.
Worked Example
Full exclusion. A founder holds QSBS acquired well before July 4, 2025, with a $500,000 adjusted basis, and sells for $8,000,000 after a 6-year holding period. Gain is $7,500,000. The exclusion cap is the greater of $10,000,000 or 10 times $500,000 ($5,000,000), so the cap is $10,000,000. Since the full $7,500,000 gain is under that cap and the five-year hold is satisfied, the entire gain is excluded. Taxable gain: $0. Federal tax on the gain: $0.
Capped exclusion. A different founder, same legacy rule, has only a $200,000 basis but sells for $15,000,000 after 6 years. Gain is $14,800,000. The cap is the greater of $10,000,000 or 10 times $200,000 ($2,000,000), so the cap stays at $10,000,000, well below the actual gain. Only $10,000,000 is excluded; the remaining $4,800,000 is taxable. Stacked on top of $250,000 of other income for a single filer, using the 2026 long-term capital gains brackets, that $4,800,000 generates $945,225.00 of federal tax, since almost all of it falls in the top 20% bracket.
OBBBA tiered exclusion. A founder with stock acquired after July 4, 2025, a $100,000 basis, sells for $6,000,000 after holding 4.5 years. Gain is $5,900,000. The four-year tier applies a 75% exclusion (not yet the full five-year 100%), so $4,425,000 is excluded and $1,475,000 remains taxable. Stacked on $250,000 of other income, that taxable gain produces $280,225.00 of federal tax.
What This Does Not Account For
This calculator does not verify whether your stock actually qualifies as QSBS in the first place, which depends on a lengthy set of requirements at issuance: the issuing corporation must be a domestic C corporation, the aggregate gross assets of the company generally cannot have exceeded $50 million (raised to $75 million under OBBBA for stock issued after the aggregate-asset-test change takes effect) at any time before and immediately after the stock was issued, the stock must have been acquired directly from the corporation (not purchased from another shareholder) in exchange for money, property, or services, and the corporation must be engaged in a qualified active trade or business, excluding categories like most professional services, banking, farming, hotels, and restaurants. It does not model state tax treatment, since many states, notably California, do not conform to the federal QSBS exclusion at all and tax the full gain. It does not apply the Net Investment Income Tax, an additional 3.8% that can apply to any non-excluded portion of the gain for higher-income taxpayers. It does not model the special 28% rate under IRC Section 1(h)(4), which applies to gain from a narrower category of pre-September 27, 2010 QSBS subject to the older 50%/75% partial-exclusion regime; for the two regimes modeled here, both apply after that date, so any non-excluded gain is taxed at ordinary long-term capital gains rates instead. It also does not model stacking multiple QSBS sales, or the effect of gifting or contributing QSBS to a trust, both of which can multiply the per-taxpayer exclusion cap across multiple holders in ways well beyond a single calculator.
Common Pitfalls
- Assuming the exclusion percentage and dollar cap for the new tiered regime apply retroactively. They do not. Stock acquired on or before July 4, 2025 is governed entirely by the old five-year, $10 million (or 10x-basis) rule, regardless of when it is eventually sold.
- Confusing "issued" with "acquired." The acquisition date that matters is when you personally received the stock, not when the company was founded or when the company's very first shares were issued to anyone.
- Not confirming the underlying QSBS eligibility requirements before counting on any exclusion. A huge number of QSBS tax surprises happen because a company failed the active-business requirement, exceeded the gross-assets test at some point, or the stock was acquired in a way that does not qualify, none of which this calculator checks for you.
- Forgetting state tax exposure. A founder who owes zero federal tax on a QSBS sale can still owe a substantial state tax bill in states that do not conform to Section 1202, most notably California, Pennsylvania, and a handful of others.
- Selling one day short of a holding-period milestone. Because the required holding periods are hard cliffs (3, 4, or 5 years under the new tiers, or a single 5-year cliff under the old rule), selling even slightly early can cost a meaningfully larger exclusion percentage or lose it altogether.
Frequently Asked Questions
What is the difference between the old QSBS rule and the new OBBBA rule?▸
How is the $10 million or $15 million cap actually applied if I sell stock from multiple companies?▸
Is the 10-times-basis alternative ever actually the better number?▸
Does my state also exclude QSBS gain from tax?▸
What happens if I sell QSBS before the required holding period?▸
Sources
- Perkins Coie, "Significant Changes by the One Big Beautiful Bill Act to the Qualified Small Business Stock Provisions of Section 1202," https://perkinscoie.com/insights/update/significant-changes-one-big-beautiful-bill-act-qualified-small-business-stock
- Baker Tilly, "Changes to Section 1202, Qualified Small Business Stock, in the One Big Beautiful Bill Act," https://www.bakertilly.com/insights/changes-to-section-1202-qualified-small-business
- Greenberg Traurig, "Qualified Small Business Stock (QSBS) Regime Expanded Under One Big Beautiful Bill Act," https://www.gtlaw.com/en/insights/2025/7/qualified-small-business-stock-qsbs-regime-expanded-under-one-big-beautiful-bill-act
- Internal Revenue Service, Revenue Procedure 2025-32 (2026 federal capital gains brackets), https://www.irs.gov/pub/irs-drop/rp-25-32.pdf
- 26 U.S.C. Section 1202, Internal Revenue Code