Compound interest calculator with taxes
Standard compound interest calculators show pre-tax fantasy numbers. This one shows the after-tax reality: $500/mo at 8% over 30 years grows to $746K pre-tax → $661K in taxable, $582K in a 401(k), $746K in a Roth. See your real outcome.
After-tax reality: $500/mo at 8% over 30 years
The compound interest formula A = P(1 + r/n)^(nt) gives you the gross growth. Taxes reduce that depending on the account type. Here's what $180,000 in contributions ($500/month × 30 years) becomes at 8% APY after different tax treatments:
| Account type | Pre-tax | Tax | After-tax | Drag |
|---|---|---|---|---|
Taxable brokerage (LTCG 15%) 15% LTCG on $566K of gains, contributions untaxed | $746,000 | $85,000 | $661,000 | 11.4% |
Taxable brokerage (LTCG 20% + NIIT 3.8%) 23.8% on gains for high earners | $746,000 | $135,000 | $611,000 | 18.1% |
Traditional 401(k) at 22% retirement bracket Full ordinary income tax on entire withdrawal | $746,000 | $164,000 | $582,000 | 22.0% |
Traditional 401(k) at 24% retirement bracket Higher bracket retiree (often dual-income) | $746,000 | $179,000 | $567,000 | 24.0% |
Roth IRA / Roth 401(k) Tax-free growth + tax-free withdrawals after 59½ | $746,000 | $0 | $746,000 | 0% |
Taxable + 1% annual dividend drag 0.5-1%/yr drag from annual dividend tax compounds over 30 yrs | $746,000 | $130,000 | $616,000 | 17.4% |
How to calculate after-tax compound interest
Three different formulas depending on account type:
The hidden cost of annual dividend tax (taxable accounts)
Most calculators ignore annual tax drag on dividends. Even if you don't sell, S&P 500 funds (VOO, VTI) pay ~1.4% in dividends taxed at 15-20% each year. That's a 0.21-0.28% annual drag, which compounds: over 30 years, it reduces your CAGR from 10% nominal to ~9.7-9.8% — roughly $40K less on a $500K final balance.
Solution: hold dividend-paying funds in tax-advantaged accounts (Roth IRA, 401(k)) and growth-oriented funds in taxable accounts.
State tax matters too
9 states have zero capital gains tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, Wyoming. If you live in California (13.3% top rate), your real after-tax outcome is much worse:
- California (13.3% state): $746K pre-tax → ~$549K after fed+state — 26% drag
- New York (10.9% state): $746K → ~$574K — 23% drag
- Texas / Florida (0% state): $746K → ~$661K — 11% drag (same as federal-only)