💡 Real capital gains tax examples show the difference between paying 0% and 37% on the exact same stock profit — and it often comes down to timing.
Example 1: Short-Term Gain on a Fast Trade
Let’s start with the most common beginner scenario — and honestly, the most expensive one from a tax perspective.
Imagine someone picks up 100 shares of a tech stock at $60 per share in March. By September — just six months later — the stock’s at $90. They sell. Total proceeds: $9,000. Original cost: $6,000. That’s a $3,000 short-term capital gain.
Because the holding period is under 12 months, this gets taxed as ordinary income. If this person earns $75,000 a year from their job, that $3,000 gain pushes into the 22% bracket. Tax owed on the gain: $660.
Not catastrophic. But here’s the capital gains tax example that stings — if they had waited just six more months, the same $3,000 gain would likely be taxed at 15% instead. That’s $450 instead of $660. A $210 difference for literally doing nothing except waiting.
💡 Short-term capital gains can cost you 2x what long-term gains would — the only variable you’re changing is the calendar.
Example 2: Long-Term Gain After a Patient Hold
Now the other side of the coin.
A 40-something professional I know — not in finance, just someone who started investing seriously a few years ago — bought 50 shares of an index fund at $120 per share back in early 2022. She held through the downturn, didn’t panic, and sold earlier this year when shares had recovered and climbed to $190.
Her gain: 50 × ($190 − $120) = $3,500 long-term capital gain.
Her household income put her in the 15% long-term capital gains bracket. Tax owed: $525.
Plot twist: if her income had been lower — say, she’d taken a gap year — she might have fallen into the 0% bracket entirely. Zero tax on $3,500 of gains. That’s a legal outcome that surprises a lot of people when they first hear it.
pie title "Long-Term Gain of $3,500 Breakdown"
"Net Profit Kept" : 2975
"Federal Tax (15%)" : 525
Example 3: When Losses Actually Help You
Here’s where tax strategy gets genuinely interesting.
Say you made $4,000 in gains on one stock but took a $1,500 loss on another position you sold in the same tax year. You don’t owe taxes on $4,000. You owe taxes on $2,500 — the net figure after losses offset gains.
This is called tax-loss harvesting, and it’s one of the few legal moves that feels almost too good to be true. The IRS allows capital losses to cancel out capital gains dollar-for-dollar. If your losses exceed your gains, you can even deduct up to $3,000 against ordinary income in a single year, and carry the rest forward.
Quick note — watch out for the wash-sale rule. If you sell a stock at a loss and buy it back within 30 days (before or after), the IRS disallows the loss. It’s a trap a lot of people stumble into when they’re trying to harvest losses while staying invested.
flowchart TD
A[Total Gains: $4,000] --> C[Net Taxable Gain Calculation]
B[Total Losses: $1,500] --> C
C --> D[Net Gain: $2,500]
D --> E{Is net gain positive?}
E -->|Yes| F[Pay tax on $2,500]
E -->|No - Net Loss| G[Deduct up to $3,000\nagainst ordinary income]
G --> H[Carry forward remaining loss]
The Wash-Sale Catch
Honestly, I initially got this wrong too when I first started reading about tax-loss harvesting. The 30-day window is easy to forget, especially if you’re bullish on a stock you just sold at a loss and want back in immediately. The cleanest workaround: buy a similar (but not identical) ETF to maintain market exposure during the 30-day window.
Example 4: Dividend Reinvestment and the Hidden Tax Complication
This one catches a lot of moderate-experience investors off guard.
When you enroll in a dividend reinvestment plan (DRIP), each dividend payment buys you tiny fractional share lots at that day’s price. Over the years, you accumulate dozens of small purchase lots — each with its own cost basis and its own holding period clock.
When you eventually sell, your brokerage has to account for all of those individual lots. Some may be long-term, some short-term. The tax treatment varies across each one. The aggregate math can be surprisingly complex — which is why so many DRIP investors end up with messy 1099-B forms at tax time.
💡 Each DRIP reinvestment creates a new tax lot with its own basis and holding period — track them throughout the year, not just at tax time.
Has anyone else found the DRIP situation to be the most confusing of the bunch? I spent an afternoon untangling three years of automatic reinvestments on a single ETF and came away genuinely impressed by how quickly it compounds both the shares and the tax complexity.
The bigger takeaway from all four examples: capital gains taxes are predictable once you understand the rules. You’re not at the mercy of some black box. Holding period, net gain calculation, and lot selection are all levers you can pull — and understanding each one through real capital gains tax examples makes the abstract rules click into place.
Related Articles
- What is Stock Capital Gains Tax?
- How to Calculate Your Capital Gains
- Tax Deductions and Exemptions for Stock Gains
Back to Complete Guide: Stock Capital Gains Tax Calculation: 7-Step Beginner’s Guide
Leave a Reply