Capital Gain Amount: How Much Tax You Really Owe

- Your capital gain amount is sale price minus adjusted cost basis minus selling expenses, and the holding period decides whether it's taxed at ordinary rates or lower long-term rates [1]
- A $300,000 long-term gain can owe $17,000 less in federal tax than the same gain taxed short-term, just because you waited past the one-year mark [2]
- High earners don't just pay the federal rate; add the 3.8% NIIT and your state's rate, and a California seller can face a combined rate over 37%
- Founders selling qualified small business stock can exclude up to the greater of $10 million or 10x basis under Section 1202, but only after a 5-year hold [3][4]
- A single large gain can trigger an underpayment penalty if you don't make an estimated tax payment, since the IRS expects you to pay as you go [5]
If you just sold stock and typed "capital gain amount" into Google, you want one thing: the dollar figure you'll owe the IRS, not a tax-code lecture. So let's get to it. Your capital gain amount is a specific number you calculate, and the tax on it depends on how long you held the stock, how much you earn, and where you live.
I'll walk through the formula, show you the math on a $10,000, $100,000, and $300,000 gain, and then get into the stuff that actually moves the needle for founders: QSBS, timing a sale around the one-year mark, and making sure a big gain doesn't blow up your cash flow with an estimated tax penalty.
1. What Is Your Capital Gain Amount, Exactly?
Your capital gain amount is your sale price minus your adjusted cost basis minus any selling expenses. If you bought 100 shares at $50 and sold them at $75, your gain is $2,500 before fees [6]. That's the number everything else in this post is based on, so get it right before you worry about rates.
The adjusted basis part trips people up. If you got stock as a gift, you generally inherit the giver's original basis, which can mean a bigger taxable gain than you'd expect [1]. If you inherited stock, the basis typically steps up to the fair market value on the date of death, which can wipe out decades of appreciation for tax purposes. If your company ran you through an employee stock purchase plan, the disqualifying disposition rules change your basis calculation entirely, so check that before you file.
Short-Term vs. Long-Term: The One-Year Line
The IRS splits your gain into two buckets based on a single date. Hold a stock for one year or less and it's short-term, taxed at your ordinary income rate (10% to 37%). Hold it more than one year and it's long-term, taxed at 0%, 15%, or 20% depending on your income [2].
The clock starts the day after you buy and ends the day you sell. There's no rounding. A stock held 364 days is short-term; 366 days is long-term. If you're sitting on a gain and you're close to the one-year mark, that's worth a calendar reminder, not a guess.
2. How Much Tax Will You Owe on $10,000, $100,000, or $300,000?
The dollar tax on a given gain depends entirely on whether it's short-term or long-term and what tax bracket the gain lands in once it's stacked on top of your other income. Here's the math at three common gain sizes, assuming a single filer with no other unusual income.
On a $10,000 gain: if short-term and you're in the 22% bracket, you owe roughly $2,200. If long-term and your taxable income keeps you in the 15% long-term bracket, you owe $1,500. Small difference in dollars, same logic as the bigger examples.
On a $100,000 gain: short-term at the 32% bracket costs $32,000. The same $100,000 held long-term at 15% costs $15,000 — a $17,000 swing from timing alone.
On a $300,000 gain: short-term at the top 37% rate is $111,000. Long-term at 20% is $60,000, a $51,000 difference. Add the 3.8% NIIT on top for high earners and the long-term bill becomes $71,400, still far better than short-term plus NIIT, which would run $122,400.
11 Months vs. 13 Months: The Same Gain, Two Very Different Bills
| Holding period | Tax treatment | Federal rate | Tax owed |
|---|---|---|---|
| 11 months | Short-term | 37% | $111,000 |
| 13 months | Long-term | 20% | $60,000 |
| Difference | — | — | $51,000 saved by waiting 2 months |
That table is the single most useful thing in this post for anyone sitting on an appreciated position right now. If you're within a couple months of the one-year mark, check your calendar before you click sell.
3. How Does the NIIT and State Tax Stack on Top?
The federal long-term rate is only part of the bill for high earners. Add the 3.8% Net Investment Income Tax if your modified adjusted gross income tops $200,000 single or $250,000 joint, then add your state's rate on top of that [7][8].

| State | State rate | Combined effective rate | Notes |
|---|---|---|---|
| California | up to 13.3% | up to 37.1% | Gains taxed as ordinary income, 1% surcharge over $1M [9] |
| New York | up to 10.9% | up to 34.7% | Among the highest state marginal rates in the country [10] |
| Texas / Florida | 0% | 23.8% | No state income tax [11] |
That's the gap people miss. Two founders selling identical $5 million gains can owe $1.9 million versus $1.2 million in combined tax, purely based on which state they live in when the sale closes.
4. Can Founders Avoid Capital Gains Tax With QSBS?
If your stock qualifies as Qualified Small Business Stock under Section 1202, you can exclude the greater of $10 million or 10 times your basis from tax entirely, but you have to hold it more than five years from issuance [3][4]. This is the single biggest lever available to startup founders and early employees, and most people don't check eligibility until it's too late.
A Founder's Pre-Liquidity Checklist
- Confirm QSBS eligibility: C-corp status, $50M gross asset limit at issuance, eligible industry, 5-year hold
- Check your holding period against the sale date; a short delay can flip short-term to long-term
- Estimate your quarterly tax payment before the sale closes, not after
- Review your portfolio for losses you can harvest against the gain before year-end
- Model combined federal, NIIT, and state tax on the actual expected proceeds, not a round number
5. What Options Exist to Defer or Reduce a Large Gain?
If QSBS doesn't apply or doesn't cover the whole gain, you have a few structures that defer or reduce tax: installment sales, charitable remainder trusts, and opportunity zone reinvestment. Each trades some complexity and loss of control for a real tax benefit, so the right one depends on how soon you need the cash.

A deferred sales trust is worth a look if you want cash flexibility without triggering the full gain in one year. It's not for everyone, mostly because of the setup cost and the trustee relationship, but for a seven-figure exit it can be the difference between one brutal tax year and several manageable ones.
6. How Do You Avoid an Underpayment Penalty on a Big Gain?
A large one-time capital gain can trigger an underpayment penalty if you don't pay enough tax during the year it happens, because the IRS expects you to pay as income is earned, not just at filing time. You generally need to pay at least 90% of the current year's tax or 100% (110% if your prior-year AGI was over $150,000) of last year's tax through withholding and estimated payments [5].
Picture a founder who sells $5 million of post-Series C stock in March. If none of that gain is covered by withholding or an estimated payment before the next quarterly deadline, the IRS can charge a penalty on top of the tax itself, even though the full amount gets paid correctly at filing time the following April. The fix is simple: calculate the tax on the gain as soon as the sale closes and send in an estimated payment before the next deadline.
7. How Do Capital Gains Affect Other Thresholds?
A capital gain adds to your adjusted gross income, which can push you past thresholds for things that have nothing to do with investing, like Medicare premium surcharges and the phase-out of certain deductions and credits. This is easy to miss because the capital gains rate itself looks low, but the gain still counts as income everywhere else on your return.
If you're retired or near Medicare age, a big one-time gain two years before you enroll can raise your Part B and Part D premiums for a full year, an effect people rarely plan for. If you're claiming credits tied to income limits, the same gain can phase those out even though it's taxed at a preferential rate.
8. What About Losses? Carryover vs. the $3,000 Deduction
If your losses exceed your gains, you can deduct up to $3,000 against ordinary income each year, and anything left over carries forward indefinitely [2]. The math changes a lot depending on whether you have one bad year or a pattern of losses stretched over several.
| Year | Gains realized | Loss applied | Remaining carryover |
|---|---|---|---|
| Year 1 | $0 | $3,000 | $37,000 |
| Year 2 | $15,000 | $15,000 offset | $22,000 |
| Year 3 | $0 | $3,000 | $19,000 |
| Year 4 | $19,000 | $19,000 offset | $0 |
Notice how a single large loss can quietly offset gains for years. That's why you want to track carryover losses on every return, not just the year you realized them. And watch the wash sale loss disallowed rule if you're harvesting losses and plan to rebuy the same stock; buy it back within 30 days and the loss gets disallowed.
9. Case Study: A Founder Selling $5M Post-Series C
Consider a founder who sells $5 million of stock after a Series C-led secondary, with a $200,000 cost basis, held four years. Here's how the tax bill actually works out, assuming no QSBS eligibility and California residency.
Gain: $4.8 million, long-term. Federal tax at 20%: $960,000. NIIT at 3.8%: $182,400. California state tax at 13.3%: $638,400. Total tax: roughly $1.78 million, leaving about $3.2 million net. If this same founder had qualified for the full QSBS exclusion, the federal and NIIT portions would have been eliminated entirely, saving over $1.1 million. That's the whole argument for checking QSBS eligibility the day you get your stock, not the day you sell it. If you hold ISOs instead of founder stock, the math changes again; see our note on ISO tax treatment in M&A exits.
Conclusion
Your capital gain amount is a simple subtraction, but the tax on it depends on a handful of decisions you mostly control: how long you hold, when you sell relative to your income, which state you live in, and whether QSBS or a deferral structure applies. Run the math before the sale closes, not after, because by then your options have shrunk to one: pay the bill. If you'd rather not build this by hand, Dear CFO builds it from your QuickBooks.
FAQs
Do I pay capital gains if I make less than $80,000?
If your taxable income keeps you in the 0% long-term capital gains bracket, roughly up to $48,350 for single filers in 2025, you can owe $0 federal tax on a long-term gain. Short-term gains are still taxed as ordinary income regardless of the $80,000 figure, so the answer depends heavily on holding period and filing status [2].
Do you pay capital gains tax immediately?
How do I avoid capital gains tax when selling stock?
The main legal routes are holding more than a year to get long-term rates, offsetting gains with tax-loss harvesting, donating appreciated shares to charity, qualifying for the QSBS exclusion if you hold founder stock, or using a deferral structure like an installment sale or opportunity zone fund.
How long do you have to own a stock to avoid capital gains?
How much capital gains tax do I pay on $100,000?
At the 32% short-term bracket, a $100,000 gain costs about $32,000 in federal tax. Held long-term at the 15% rate, the same gain costs about $15,000, a $17,000 difference based purely on holding period.
How much capital gains tax will I owe on $10,000 profit?
At a 22% short-term rate, $10,000 in profit costs about $2,200 in federal tax. At the 15% long-term rate, the same gain costs about $1,500. Add 3.8% NIIT and state tax if your income is high enough to trigger those.
How much capital gains tax will I pay on $300,000?
At the top 37% short-term rate, a $300,000 gain costs $111,000 federally. Held long-term at 20%, it costs $60,000. Add the 3.8% NIIT for high earners and the long-term total rises to about $71,400, still roughly $51,000 less than the short-term scenario.
How much capital gains will I pay on $100,000?
It depends on your bracket and holding period: short-term at 32% costs about $32,000, long-term at 15% costs about $15,000. High earners in states like California should add NIIT and state tax on top of either figure.
How much tax do I have to pay on selling stocks?
You owe tax only on the gain, not the full sale proceeds, and the rate depends on your income, filing status, and whether you held the stock more than a year. Run your actual gain through the short-term and long-term brackets above to get a real number rather than a rule of thumb.
How much tax do I pay if I sell my US stocks?
US capital gains tax rules apply the same way regardless of citizenship for US-held brokerage accounts: short-term gains at ordinary rates, long-term gains at 0/15/20%, plus NIIT and state tax if applicable. Non-resident aliens have different withholding rules, so check your residency status separately.
How much will I be taxed if I sell my stock?
Calculate your gain (sale price minus adjusted basis), check your holding period, then apply the short-term or long-term bracket that matches your income. For a quick estimate, use the worked $10,000, $100,000, and $300,000 examples above as reference points.
How to avoid paying taxes when selling a stock?
You generally can't avoid tax entirely unless QSBS, a charitable donation, or an opportunity zone reinvestment applies to your specific shares. For most sellers, the realistic goal is reducing the rate through long-term holding and offsetting gains with losses, not eliminating the tax altogether.

About the author
Partner, Phoenix Strategy Group
Ethan Lu is a Partner at Phoenix Strategy Group, where he works as a fractional CFO helping founder-led companies maximize their exit value. He currently oversees more than $200M in client enterprise value and has been part of multiple eight-figure exits. Before PSG he was an asset manager and investor for a San Diego family office, where he sat on the investment committee for more than $1B in assets. A data scientist by training, he holds a B.S. in Mathematics with a minor in Accounting from UC San Diego.
Talk to a PSG CFO about your numbers
Phoenix Strategy Group does CFO work for growth-stage companies.
Schedule a call



