📈 Compound InterestMonthly DCAS&P 500 ReturnsInflation-AdjAfter-TaxFree

Investment Calculator 2026

See how much your investment will grow with compound interest and monthly contributions. Compare conservative, average, and aggressive return scenarios with optional inflation and capital gains tax adjustments.

~8%/yr
Market avg return
~10%/yr
S&P 500 nominal
~9 yrs
Rule of 72 at 8%
Daily–Annual
Compounding

Enter your initial investment and monthly contributions, set an expected annual return (or pick a preset), choose your investment horizon, and optionally apply inflation and capital gains tax. The calculator shows future value, total contributions vs. interest earned, a growth chart, and a year-by-year breakdown.

Investment inputs
Initial amount, monthly contribution, return rate & term
Amount & contributions
Return rate & term
Optional adjustments
Show today's purchasing power
After-tax value on gains
Results after 20 years
8% annual return · monthly compounding
Estimate only
Ending balance
$343,778
$10,000 initial + $500/mo over 20 yrs
Contributions
$130,000
38% of balance
Interest earned
$213,778
62% of balance
Contributions (38%)Interest (62%)
Estimates assume constant 8% return. Actual returns vary.
Growth over time
Contributions vs interest earned by year
Year-by-year breakdown
Balance, contributions, and interest by year
YearBalanceContributionsInterest
0$10,000$10,000$0
1$17,055$16,000$1,055
2$24,695$22,000$2,695
3$32,970$28,000$4,970
4$41,932$34,000$7,932
5$51,637$40,000$11,637
6$62,148$46,000$16,148
7$73,531$52,000$21,531
8$85,859$58,000$27,859
9$99,210$64,000$35,210
10$113,669$70,000$43,669
11$129,329$76,000$53,329
12$146,288$82,000$64,288
13$164,655$88,000$76,655
14$184,546$94,000$90,546
15$206,088$100,000$106,088
16$229,419$106,000$123,419
17$254,685$112,000$142,685
18$282,049$118,000$164,049
19$311,684$124,000$187,684
20$343,778$130,000$213,778

How compound interest works

Compound interest is interest earned on your principal plus on interest you've already earned. The formula is A = P(1 + r/n)^(nt) — A = future value, P = principal, r = annual rate, n = compounding frequency per year, t = years. With monthly contributions, each contribution grows from the time it's invested until the end.

$500/mo · 30 yrs · 8%
~$745,000
Contributions: $180K · Interest: ~$565K
$10,000 lump · 20 yrs · 8%
~$49,000
Interest earned: ~$39,000

Historical stock market returns (S&P 500)

The S&P 500 has averaged about 10% per year nominal return over long periods (1926–present). After inflation (roughly 3% historically), that's about 7% real return. The “Average market (8%)” preset in this calculator is a conservative but realistic assumption for diversified long-term stock investing. Short-term returns vary widely year to year — these figures are only meaningful over 10+ year time horizons.

How much should you invest per month?

A common guideline is to invest 10–20% of gross income. 10% is a minimum many advisors suggest; 15% is a solid target for retirement; 20% or more accelerates wealth building. Use our paycheck calculator to see your take-home pay, then decide what you can comfortably invest each month.

Scenario~Result at 8%
$500/mo · 10 yrs · 8%~$91,000
$500/mo · 20 yrs · 8%~$294,000
$500/mo · 30 yrs · 8%~$745,000
$1,000/mo · 20 yrs · 8%~$589,000
$10K lump · 20 yrs · 8%~$49,000
$10K lump · 30 yrs · 8%~$109,000

Investment strategies by age

20s

Time is your biggest advantage. Use 10–12% aggressive preset. Consistent monthly investing lets compounding work its full magic over 40+ years.

30s

Balance growth with stability. 8% is a reasonable default. Max your employer 401(k) match, then IRA, then taxable account.

40s

Increase contributions if you started late. Continue 6–8% assumptions. Start considering how to reduce sequence-of-returns risk.

50+

Consider a slightly lower expected return (5–7%) and use the inflation toggle to plan in today's dollars. Transition more to bonds as retirement nears.

Impact of inflation on investments

Inflation reduces the real value of future dollars. An 8% nominal return with 3% inflation is roughly a 5% real return. The calculator's inflation rate option converts your ending balance into today's purchasing power so you can see inflation-adjusted growth. For long-term goals (e.g. retirement in 20–30 years), always consider inflation when judging whether your target is enough.

Investment taxes explained

In taxable accounts, investment gains can be taxed as capital gains — long-term rates are 0%, 15%, or 20% depending on income. The calculator's optional capital gains tax rate applies a flat rate to your total gain (ending balance minus total contributions) to show after-tax value. For IRA/401(k), tax is deferred until withdrawal. Use our capital gains tax calculator for more detail.

Lump sum vs monthly investing

Lump sum investing (e.g. $10,000 today) can capture full market growth if the market rises. Monthly investing (dollar-cost averaging) spreads risk and often yields similar long-term results while fitting paycheck flow. Use the calculator: set initial to $10,000 and monthly to $0 for lump sum; set initial to $0 and monthly to $500 to see regular contribution growth. Many people do both.

2026 long-term capital gains tax rates and the 0% zone — what every investor needs to know

The long-term capital gains (LTCG) rate you pay depends on your taxable income, not your gross income. The 2026 thresholds (IRS Rev. Proc. 2025-32) create meaningful planning opportunities:

LTCG rateSingle filersMarried filing jointly
0%≤ $49,450≤ $98,900
15%$49,451 – $545,500$98,901 – $613,700
20%> $545,500> $613,700
+3.8% NIITMAGI > $200,000MAGI > $250,000

Strategic tax-gain harvesting in the 0% zone

The 2026 standard deduction is $16,100 for single filers, so a single person with no other income can realize up to $65,550 in gross income ($49,450 + $16,100) — including long-term capital gains — and pay 0% federal capital gains tax. This is why many early retirees intentionally realize gains each year to reset their cost basis tax-free, a strategy called tax-gain harvesting.

Short-term vs. long-term: the 1-year cliff

Assets held 12 months or less are short-term and taxed as ordinary income (10%–37%). Holding an investment just one day past 12 months converts a potential 37% tax to a maximum 20% (or 0% if you're in a low bracket). Qualified dividends also receive the same 0%/15%/20% LTCG rates. Non-qualified dividends are taxed as ordinary income.

Tax-location strategy: which investments belong in taxable, tax-deferred, and Roth accounts

Asset allocation answers what you own. Tax-location answers where you hold it. Optimal tax-location can add 0.5–1%+ per year in after-tax returns without changing a single investment.

Account typeBest-fit investmentsReasoning
Taxable brokerageTax-managed equity index funds, international stocksLow-turnover index funds generate few taxable events. International stocks qualify for the Foreign Tax Credit — only claimable in taxable accounts.
Traditional 401(k) / IRA (tax-deferred)Bonds, REITs, high-dividend stocks, actively managed fundsBond interest and REIT dividends are taxed as ordinary income. Deferring removes annual tax drag; you pay later at (potentially) lower retirement rates.
Roth IRA / Roth 401(k)High-growth stocks, small-cap stocks, aggressive fundsHighest expected growth goes here — gains are never taxed. No RMDs means assets compound indefinitely.

Note: these are general guidelines, not personalized advice. Your situation — income level, marginal tax rate, years to retirement, and estate goals — should shape your final decision. A fee-only financial advisor can model the specific impact for your portfolio.

Sequence of returns risk: why two investors with the same average return can get very different outcomes

This calculator assumes a constant annual return — which is mathematically useful for planning but doesn't reflect reality. Real markets deliver returns in an unpredictable sequence. Sequence of returns risk is the danger that a large loss early in retirement (or the final years of accumulation) permanently damages a portfolio more than the same loss later.

YearPortfolio A (bad early)Portfolio B (bad late)Both withdraw $40K/yr
Year 1−20%+20%A loses more after withdrawal
Year 2–9+10% avg+10% avgSame average, different path
Year 10−20%−20%Both get same late loss
OutcomePortfolio depleted soonerPortfolio survives longerSame 7% average — different result

Cash buffer

Keep 1–2 years of expenses in cash or short-term bonds. Avoid selling equities in a downturn to fund withdrawals.

Bond tent

Temporarily increase bonds in the 5 years before and 5 years into retirement ("glide path"), then slowly shift back to equities.

Flexible withdrawals

Cut spending 10–15% in poor market years. The Guardrails method (Kitces/Guyton-Klinger) formalizes this into a rules-based approach with higher starting withdrawal rates.

Bottom line: For long-term accumulators (20+ years out), sequence of returns risk is minimal — time averages it out. For those within 5–10 years of drawing on their portfolio, this risk becomes the dominant concern. Use the FIRE calculator's Monte Carlo simulation to stress-test different return sequences.

How we calculate your investment growth
Step-by-step breakdown of the future value shown in the calculator above. Last reviewed 2026-06-22.

The future value above comes from your starting balance, monthly contributions, annual return, compounding frequency, and optional inflation or capital-gains tax adjustments—not a third-party feed. We compound the lump sum and periodic contributions at your chosen frequency, then optionally deflate the ending balance for inflation or subtract tax on total gains. Below are the formulas, the order we follow, and worked examples you can check by hand.

Formulas

LineFormula
Periodic rater = annual return % ÷ 100 ÷ compounding periods per year
Total periodsn = years × compounding periods per year
Contribution per periodPMT = monthly contribution × (12 ÷ periods per year)
Lump sum growthFV₁ = initial investment × (1 + r)^n
Contribution growth (ordinary annuity)FV₂ = PMT × [((1 + r)^n − 1) / r]
Ending balance (nominal)Future value = FV₁ + FV₂
Inflation-adjusted valueFuture value ÷ (1 + inflation % ÷ 100)^years
After-tax valueFuture value − (max(0, future value − contributions) × tax % ÷ 100)
Real return (when inflation enabled)((1 + nominal return) ÷ (1 + inflation) − 1) × 100

Order of operations

1

Compound lump sum and contributions

FV₁ + FV₂ at your chosen compounding frequency

We convert your monthly contribution into equal payments per compounding period (e.g. monthly when compounding monthly). The initial deposit and each periodic payment grow at rate r for n periods.

2

Separate interest from principal

Interest earned = ending balance − (initial + all contributions paid in)

Total contributions include the starting balance plus monthly payments × 12 × years. The difference between ending balance and that principal is total interest earned.

3

Optional inflation adjustment

Divide ending balance by (1 + inflation)^years

When enabled, we express the ending balance in today's purchasing power. Year-by-year rows use the same deflation factor for each year elapsed.

4

Optional capital-gains tax

Tax = total gain × your tax rate; after-tax = balance − tax

We apply your rate to total gains (ending balance minus contributions), not to principal. This is a simplified lump-sum tax at withdrawal—not annual tax drag inside the account.

5

Build the yearly chart

Re-run compound math at each year boundary

Each chart point uses the same inputs with a shorter horizon. Inflation and tax columns apply the same formulas to the balance at that year.

Worked example

$10,000 start · $500/mo · 8.0% return · 20 years · Monthly compounding

Lump sum: $10,000 × (1 + 0.7%/Monthly)^240 periods = $49,268

Contributions: $500/mo → $294,510

$49,268 + $294,510 = $343,778 ending balance

Interest earned: $343,778 − $130,000 contributed = $213,778

Line itemAmount
Initial investment$10,000
Monthly contribution$500
Annual return8.0%
Years20
CompoundingMonthly
Initial grew to$49,268
Contributions grew to$294,510
Ending balance$343,778
Total contributed$130,000
Interest earned$213,778

Inflation (3%): With 3% inflation: ending balance in today's dollars$190,342 in today's dollars (real return ~4.8%).

Tax on gains (15%): With 15% tax on gains at withdrawal → after-tax $311,712.

Lump sum only: Lump sum only: $10,000 invested, no monthly contributions$49,268.

Higher savings rate: Double contributions: $1,000/mo instead of $500/mo$638,288 (vs $343,778 at $500/mo).

Constants we use

ParameterWhat we use
Default initial investment$10,000
Default monthly contribution$500
Default annual return8.0%
Default horizon20 years
Default compoundingMonthly
Inflation toggle default3%
Capital-gains tax default15%

What we do not model on this page

We use a constant nominal return and level monthly contributions—we do not model market volatility, fund fees, dividend taxes, account-type rules (401(k), IRA, taxable), dollar-cost averaging timing, rebalancing, withdrawal schedules, or annual tax drag inside the account. Capital-gains tax is applied once to total gains at your rate, not as realized gains each year. Inflation is a flat annual rate, not historical CPI series. Results are illustrative, not investment advice.

Frequently asked questions

Historically, the S&P 500 has returned about 10% per year before inflation and roughly 7% after inflation. For planning, many use 6–8% as a realistic long-term expected return. Conservative portfolios may assume 4–5%; aggressive growth assumptions might use 10–12%.

At 7% annual return with monthly compounding and no additional contributions, $1,000 grows to about $2,010 in 10 years. At 8%, about $2,220. Use the investment calculator above and set monthly contribution to $0 to see lump-sum growth.

Yes. The S&P 500 has averaged about 10% nominal return per year over many decades. After inflation, that's roughly 7%. Using 8% for long-term (20+ year) stock investing is a common, reasonable assumption. Short-term returns vary widely.

Inflation reduces purchasing power. A 7% return with 3% inflation gives roughly 4% real return. The calculator's inflation toggle shows your ending balance in today's dollars so you can see real (inflation-adjusted) growth.

Compound interest is interest earned on both your principal and on previously earned interest. Formula: A = P(1 + r/n)^(nt). The more often interest compounds (e.g. monthly or daily), the higher the ending balance for the same stated rate.

Investing monthly (dollar-cost averaging) smooths out price swings and often results in a similar or better outcome than investing one lump sum per year. The calculator shows the impact of monthly contributions vs initial-only.

The Rule of 72 estimates how long it takes to double your money: divide 72 by your annual return rate. At 8%, 72/8 = 9 years to double. At 6%, about 12 years. It's an approximation for quick mental math.

At 7% return with monthly compounding and no additional contributions, $10,000 grows to about $40,400. At 8%, about $49,300. Add monthly contributions in the calculator to see combined growth.

At 8% return, $500/month for 10 years ($60,000 total contributions) grows to about $91,473. At 7%, about $86,542. Use the calculator with initial investment $0, monthly $500, 10 years, and your chosen rate.

The S&P 500 has historically returned about 10% per year (before inflation). Use the calculator with an 8–10% annual return to approximate long-term S&P 500 growth. Past performance does not guarantee future results.

For the 2026 tax year (IRS Rev. Proc. 2025-32): 0% rate for single filers with taxable income up to $49,450 (MFJ up to $98,900). 15% rate from $49,451 to $545,500 (MFJ $98,901–$613,700). 20% rate above $545,500 (MFJ $613,700). The 3.8% Net Investment Income Tax (NIIT) applies on top when MAGI exceeds $200,000 single / $250,000 MFJ — bringing the effective top rate to 23.8%. The 2026 standard deduction is $16,100 for single filers, so a single person with no other income can realize up to $65,550 in gross income ($49,450 + $16,100) and still pay 0% on long-term capital gains. Short-term gains are taxed as ordinary income (10%–37%).

Tax-location means placing investments in the account type where they face the least tax drag. General rules: (1) Bonds, REITs, and high-dividend stocks → tax-deferred accounts (401(k), traditional IRA) — their income is taxed as ordinary income and benefits most from tax deferral. (2) Growth stocks and stock index funds → Roth IRA — no taxes on gains, ever, and no RMDs. (3) International stocks → taxable brokerage — you can claim the Foreign Tax Credit for taxes paid to foreign governments, which is only available in taxable accounts. (4) Tax-managed equity index funds → taxable — low turnover means few taxable distributions. Optimized tax-location can add 0.5–1%+ per year in after-tax returns without changing your investments.

Sequence of returns risk is the danger that poor investment returns early in retirement (or in the years just before) permanently damage a portfolio more than the same losses later. This calculator assumes a constant annual return — but real markets deliver those returns in an unpredictable sequence. Two portfolios with identical 30-year averages (say, 7%) can produce dramatically different outcomes if one experiences a large loss in year 1 while the other experiences the same loss in year 25. For investors within 10 years of needing funds, practical mitigation strategies include: (1) a 1–2 year cash buffer to avoid selling equities in a downturn, (2) a bond tent (temporarily increasing bonds as you enter retirement, then slowly shifting back to equities), and (3) flexible withdrawal spending that can temporarily reduce withdrawals in bad markets.

Next steps: use your paycheck to invest

Know how much you can invest each month by estimating take-home pay and tax. Then revisit this calculator to see how that amount grows over time.

Disclaimer: This calculator provides estimates only. Investment returns are not guaranteed. Past performance does not guarantee future results. Consult a licensed financial advisor for personalized advice.

Related calculators

Return rate presets
Conservative
Bonds / CD mix
5%
Average market
S&P 500 ~7–10% hist.
8%
Aggressive
Growth stocks
12%

S&P 500 historical: ~10% nominal, ~7% real (after inflation).

Rule of 72 — doubling time
Annual returnTime to double
4%18 yrs
5%14.4 yrs
6%12 yrs
7%10.3 yrs
8%9 yrs
10%7.2 yrs
12%6 yrs

72 ÷ return rate = years to double.

Key concepts
Compound interest: earnings reinvested to generate more earnings
Dollar-cost averaging: invest fixed amount monthly regardless of price
Real return = nominal return − inflation rate
Capital gains tax applies to profit in taxable accounts
Tax-deferred accounts (401k, IRA) grow without annual tax drag