What Capital Gains Tax Rate Do I Owe If I Sell Stock That’s Up $28,000 on a $72,000 Salary?

If you sell stock that’s up $28,000 and you earn $72,000 a year, your federal capital gains tax bill could be $4,200 — or it could be zero. Same gain, same salary, completely different outcome. The variable isn’t a loophole or a special strategy reserved for accountants. It’s whether you file as a single filer or married filing jointly, and it illustrates something most people genuinely don’t understand about how capital gains work: they stack on top of your ordinary income, and the rate you pay depends on where that combined stack lands in the bracket schedule.

I spent 30 years as a Warning Coordination Meteorologist at the National Weather Service, where every major decision depended on understanding the full picture before committing to a course of action. Selling an appreciated investment without knowing your capital gains exposure in advance is like issuing a tornado warning without checking the radar first — the consequences arrive whether or not you were watching. Spending 20 minutes modeling your tax bill before you hit the sell button can save you thousands in completely preventable surprises.

Short-Term vs. Long-Term: The One Decision That Changes Everything

The single most important capital gains tax decision you’ll make is how long you hold an investment before selling. Hold for less than 12 months and your gain is classified as short-term, taxed at your ordinary income rate — the same rate that applies to your paycheck. Depending on your income, that’s 10%, 12%, 22%, 24%, or higher. Hold for at least 12 months and one day and your gain becomes long-term, eligible for the 0%, 15%, or 20% long-term capital gains rates instead.

The dollar difference is not trivial. On a $28,000 gain, someone in the 22% ordinary income bracket — where many $72,000 earners land — would owe approximately $6,160 in federal tax if they sell at 11 months. Hold one more month and that same gain at the 15% long-term rate drops to roughly $4,200. Or possibly zero, depending on filing status. The 366th day is worth more money than most people realize when they’re watching a position climb and feeling impatient about it.

The Three Long-Term Capital Gains Rates — and What Triggers Each

The long-term capital gains system uses three tiers: 0%, 15%, and 20%. The thresholds separating them are based on your taxable income — not your gross income or the number on your W-2. Taxable income is what’s left after subtracting your standard deduction (or itemized deductions) from your adjusted gross income. These thresholds adjust for inflation each year, so treat any specific figures here as approximate. Verify current numbers at IRS.gov before making any selling decisions — the authoritative thresholds are published each year in the IRS revenue procedure for that filing year.

The 0% rate applies when your total taxable income — ordinary income plus the long-term gains themselves — stays below a certain threshold. As of this writing, that threshold sits roughly in the mid-$40,000s for single filers and the low-$90,000s for married couples filing jointly. If your taxable income lands below those numbers after adding the gain, you owe nothing federally on that long-term gain. Zero. The 15% rate covers the broad middle range that captures most middle-class and upper-middle-class investors. The 20% rate applies only at high income levels and affects a relatively small share of taxpayers.

The Stacking Mechanic That Trips Everyone Up

Here’s the part that’s genuinely not intuitive. Capital gains don’t get their own fresh tax calculation starting from zero — they stack on top of your ordinary income, and the long-term rate that applies to the gains is determined by where the combined stack lands, not where your salary alone lands.

Walk through the single filer scenario. Someone earning $72,000 subtracts the standard deduction — roughly $14,600 for a single filer in recent tax years, though this adjusts annually, so verify the current figure at IRS.gov — leaving approximately $57,400 in taxable ordinary income. That $57,400 already exceeds the 0% long-term rate threshold for a single filer. So when the $28,000 long-term gain is added on top, the entire gain lands in the 15% bracket. Federal capital gains tax: approximately $4,200.

Now run the same numbers for a married couple filing jointly with identical $72,000 household income. The standard deduction for married filers is roughly double — around $29,200 — leaving taxable ordinary income of approximately $42,800. The 0% long-term threshold for married filers sits around $94,050 as of this writing. At $42,800 in ordinary taxable income, they’re well below the threshold. Adding $28,000 in gains pushes total taxable income to roughly $70,800 — still below the 0% ceiling. Federal capital gains tax on the same $28,000 gain: zero.

That’s not a typo. Same stock, same profit, same salary, $4,200 difference based solely on filing status. The stacking mechanic also creates another opportunity: if your earned income will be lower in a future year — early retirement, a career transition, a sabbatical — waiting to sell until that lower-income year can shift gains from the 15% bracket into the 0% bracket entirely. The same logic that applies to Roth conversions and IRMAA timing applies here: large income events have ripple effects, and modeling them a year in advance beats discovering them at tax time.

State Capital Gains Taxes: The Number Most Online Calculators Skip

Federal is only part of the bill. Most states tax capital gains as ordinary income, meaning your state income tax rate applies to the gain directly. A handful of states have no income tax at all — Florida, Texas, Nevada, Washington, Wyoming, South Dakota, and Tennessee — so residents owe zero state tax on investment gains regardless of the amount. But California taxes capital gains at ordinary income rates that top out at 13.3% for high earners. A California resident in the $72,000 range facing 15% federal plus 9.3% state rate looks at a combined exposure of 24.3% on the $28,000 gain — a total bill of around $6,800 before any local considerations. Run your own state’s rate before assuming the federal number is your only exposure. State treatment of capital gains varies significantly and gets updated by legislation periodically.

The 3.8% Net Investment Income Tax

Above certain income thresholds — roughly $200,000 for single filers and $250,000 for married filers in modified adjusted gross income — an additional 3.8% Net Investment Income Tax applies to investment gains, dividends, and interest. These thresholds are not inflation-adjusted and have stayed unchanged since the tax was introduced, which means more taxpayers are gradually affected over time as incomes rise. At a $72,000 salary, this almost certainly doesn’t apply. But a large capital gain — say, selling a business or a highly appreciated stock position — could push your MAGI above the threshold in a single year and trigger it on the excess portion. A tax professional can model this exposure before you sell.

Four Strategies That Reduce What You Owe

Holding at least 12 months is the most straightforward and highest-leverage move. But several others are worth knowing for anyone investing in taxable accounts.

Tax-loss harvesting means selling positions that are currently down to realize a capital loss in the same tax year as your gain. Capital losses offset capital gains dollar for dollar. If you have $28,000 in gains and $10,000 in losses, you’re taxed only on the net $18,000. Losses that exceed your gains can offset up to $3,000 of ordinary income per year, with unlimited carryforward to future years. This is one of the most consistently underused tools in individual investor tax planning — no exotic structures required, just strategic timing of which positions to sell when.

Roth account positioning means holding your highest-growth investments inside a Roth IRA or Roth 401k, where they grow tax-free and qualified withdrawals face no capital gains tax at all. The stocks you believe will appreciate most over decades are the best candidates for Roth placement — the tax savings compound alongside the returns. The contribution priority breakdown for HSA versus Roth IRA covers the sequencing logic for maximizing tax-advantaged space before holding appreciated positions in a taxable brokerage account.

Strategic sale timing around income changes can shift a gain into the 0% bracket. If you expect a lower-income year — the first year of retirement before Social Security begins, a planned job change, a medical leave — waiting to sell until your taxable ordinary income drops below the 0% threshold can eliminate federal capital gains tax entirely on gains that would be taxed at 15% in a normal year. This is real tax planning, not a gimmick, and it works precisely because of the stacking mechanic described above.

Gifting appreciated shares is a strategy for anyone with charitable intentions: donating stock directly to a qualified charity instead of selling it means neither you nor the charity pays capital gains tax on the appreciation, and you deduct the full fair market value of the shares. It’s not relevant for everyone, but if you planned to donate to charity anyway, giving appreciated stock is meaningfully more efficient than selling and donating the after-tax proceeds.

Running the Calculation for Your Actual Situation

Before selling any appreciated position, run three numbers: your projected taxable ordinary income for the year (earned income minus your standard deduction or itemized deductions), the amount of the gain, and where the combined total falls relative to the 0%/15%/20% thresholds for your filing status. If you’re close to the 0% threshold, reducing taxable income through a traditional IRA contribution, 401k contribution, or HSA contribution before year-end could shift the entire gain to 0% federal tax — sometimes a $2,000 contribution eliminates a $4,000 tax bill on the gain.

Free calculators on SmartAsset and NerdWallet model this in under five minutes with your income numbers. Input your filing status, estimated taxable income, and gain size and they’ll calculate the federal exposure. Add your state rate manually for the full picture. For retirement-stage investors, understanding how capital gains from brokerage account drawdowns stack with Social Security income and required minimum distributions is equally critical — the analysis of safe withdrawal rates at different retirement ages covers how tax drag from capital gains in a taxable account affects how far a retirement portfolio actually stretches compared to a theoretical pre-tax calculation.

For a complete, jargon-free explanation of how all income types are taxed together — capital gains, dividends, ordinary income — Taxes Made Simple by Mike Piper explains the bracket interaction in a way that most people actually understand on the first read. If you want the comprehensive annual reference that tax professionals keep on their desks, J.K. Lasser’s Your Income Tax covers every capital gains scenario — wash sale rules, inherited shares, collectibles rates, and more — in exhaustive detail. And for the portfolio positioning side of this equation — which accounts should hold which assets to minimize lifetime tax friction — The Bogleheads’ Guide to Investing devotes substantial attention to tax-efficient account location, which is one of the highest-return improvements most investors can make without changing a single fund or stock in their portfolio.

Scroll to Top