The math behind this calculator (click to expand)
The future value of a starting principal plus regular monthly contributions is the sum of two compounding series. The principal piece is FV_principal = P * (1 + r/12)^(12t) where P is starting amount, r is annual return rate, and t is years. The contribution piece is the future value of an annuity: FV_contrib = C * [((1 + r/12)^(12t) - 1) / (r/12)] where C is the monthly contribution.
The calculator runs the iteration month by month, applying the return rate to the running balance, then adding that month's contribution. Total return = final balance - starting principal - sum of contributions. To approximate fund expense ratios, subtract the expense ratio from the return rate before running (e.g., 7% gross return at 0.5% expense ratio = 6.5% net).
Implementation by Michael.
How Compound Interest Actually Works
The compound interest formula - A = P(1 + r/n)^(nt) + PMT × [((1 + r/n)^(nt) - 1) / (r/n)] - breaks into two pieces: growth on your initial lump sum and growth on your periodic contributions. The variable n is your compounding frequency. Most brokerage and savings accounts compound monthly (n = 12), which means each month's gains immediately start generating their own returns the following month.
The difference between annual and monthly compounding is measurable but not dramatic. A $10,000 deposit at 7% for 30 years grows to $76,123 with annual compounding versus $81,165 with monthly compounding - a $5,042 gap. That gap widens with higher rates and longer time horizons. This calculator uses monthly compounding to match real-world account behavior.
The Rule of 72: Quick Mental Math
Divide 72 by your annual return rate to estimate how many years it takes to double your money. At 7%, your investment doubles roughly every 10.3 years. At 10%, every 7.2 years. At the current high-yield savings rate of ~4.3% (March 2026), about 16.7 years.
The rule is most accurate between 4% and 12%. Below or above that range, use 69.3 divided by the rate for a tighter estimate. For practical planning: $50,000 at 7% becomes roughly $100,000 in year 10, $200,000 in year 20, and $400,000 in year 31. Three doublings from doing nothing except staying invested.
Real vs. Nominal Returns: What Inflation Costs You
The S&P 500 has averaged approximately 10% nominal returns annually since 1926. After adjusting for inflation (historically ~3% per year), the real return drops to roughly 7%. That distinction matters enormously over long time horizons.
Using this calculator with a 10% return shows your nominal future balance. To see purchasing power in today's dollars, use 7% instead. Concretely: $10,000 with $500/month at 10% for 30 years produces $1,133,830. At 7% (inflation-adjusted), the same inputs yield $610,727. The gap - $523,103 - represents money that exists on paper but buys no more than today's dollars would. Use the 7% figure when asking "will I have enough to retire on?" and the 10% figure when projecting nominal account balances.
The Cost of Waiting: Starting at 25 vs. 35
A 25-year-old investing $500/month at 7% until age 65 accumulates $1,197,811 on $240,000 in total contributions. A 35-year-old with the same $500/month at 7% until 65 ends with $566,765 on $180,000 in contributions. Starting ten years earlier produces $631,046 more - on just $60,000 of additional contributions.
Put differently, the 25-year-old's money multiplied 5.0x. The 35-year-old's multiplied 3.1x. Those first ten years of compounding generated more wealth than the next twenty. If you are 35 and just starting, you would need to invest roughly $1,060/month to match the 25-year-old's outcome - more than double the monthly amount to compensate for the lost decade.
Tax-Advantaged vs. Taxable Accounts
Compound growth in a 401(k) or Roth IRA is sheltered from annual taxation. In a taxable brokerage account, dividends and realized capital gains erode your compounding each year. Assuming a 7% return with 2% distributed as qualified dividends taxed at 15%, a taxable account effectively earns about 6.7% - a 0.3% annual drag that compounds into a significant gap.
Over 30 years on $500/month: a tax-sheltered account at 7% grows to roughly $610,727. A taxable account with the same underlying return but annual dividend taxation might net closer to $575,000. The ~$35,700 difference is the tax cost of compounding in a taxable wrapper. Max out your 401(k) ($23,500 limit in 2026) and IRA ($7,000 limit) before routing additional savings to taxable accounts. For those over 50, catch-up contributions add $7,500 to the 401(k) limit.
Increasing Contributions Over Time
Most people earn more as their career progresses, and bumping contributions by even 3% annually makes a substantial difference. Starting with $500/month and increasing 3% each year (roughly tracking inflation and career wage growth), your total contributions over 30 years rise from $180,000 to $285,362. But the ending balance at 7% jumps from $610,727 to approximately $867,000 - an extra $256,000 from gradually stepping up what you set aside.
A practical approach: set your brokerage or 401(k) contribution to auto-increase by 1% of salary each January. You absorb the increase before lifestyle inflation does, and the compounding benefit accelerates over time. This calculator uses a fixed monthly contribution, so to model escalating contributions, run it several times with increasing monthly amounts for different career phases.
How I Started Using Compound Interest (and Why This Calculator Exists)
I opened my first investment account at 23 with $2,000 and a vague sense that I should be "investing." I picked a target-date fund, set up a $200 monthly auto-deposit, and mostly forgot about it. Three years later, I checked the balance and saw $10,400 - I had contributed $9,200, so the market had added $1,200. Not life-changing, but it was the first time I watched money make money without me doing anything.
What made it click was running the numbers forward. If I kept that $200/month going at 7% average returns for another 30 years, the compound interest calculator showed $228,000 - on just $74,000 of my own contributions. The other $154,000 was pure compound growth. That projection changed how I thought about every discretionary dollar. I built this compound interest calculator because the ones I found online either had too many ads, required email signups, or didn't show the year-by-year breakdown that makes the growth curve real. Every calculation here runs entirely in your browser - no data leaves your machine.
Compound Interest Calculator: Common Questions for 2026
What rate of return should I use? For a diversified stock portfolio (like an S&P 500 index fund), 7% is a reasonable inflation-adjusted estimate based on historical averages. If you want nominal returns (before adjusting for inflation), use 10%. For a high-yield savings account in 2026, rates are around 4-4.5%. CDs and Treasury bonds are currently yielding 4-5%. Use this compound interest calculator with different rates to see how sensitive your outcome is to return assumptions.
How much should I invest monthly? A common guideline is to save 15-20% of gross income for retirement. If you earn $60,000, that's $750-$1,000 per month. But any amount beats zero - even $100/month at 7% for 30 years compounds to over $121,000. Use our investment calculator above to model your specific situation and see how small increases in monthly contributions create outsized differences over time.
Daily vs. monthly vs. annual compounding - does it matter? For most practical purposes, the difference between daily and monthly compounding is minimal. On a $10,000 deposit at 5% for 10 years: annual compounding gives $16,289, monthly gives $16,470, and daily gives $16,487. The gap is about $200 over a decade. This calculator uses monthly compounding, which matches how most brokerage and savings accounts actually work.
What might change in the next 24 months
Three structural shifts affect compound-growth assumptions for the 2026-2027 horizon. First, the inflation regime: BLS CPI cooled to roughly 2.5 to 3% by early 2026 after the 2022-2023 spike, which restores a more typical real-return gap (nominal stock return minus inflation) of about 7% for diversified equity portfolios. If inflation settles below 2.5%, the real-return gap widens and the inflation-adjusted future-value estimate climbs.
Second, the high-yield savings rate is finally meaningful again. As of March 2026, top-tier HYSA rates sit near 4 to 4.5% APY (per major bank rate publications), with 12-month CDs slightly higher. That puts the marginal value of a true emergency fund (3 to 6 months of expenses) at $1,000 to $2,000 of yield per year on a $50K cushion, which compounds materially over a decade.
Third, IRS contribution limits for retirement accounts are inflation-indexed and continue to creep upward. The 401(k) deferral limit reached $23,500 in 2026, and the IRA contribution limit is at $7,000 ($8,000 with the age-50 catch-up). Each $500 step on the 401(k) limit translates to roughly $50K of additional balance at retirement for a 30-year horizon at 7%. Watch the November IRS Notice each year for the next adjustment.