---
title: Compound Interest Calculator (2026) — Growth with contributions, lump sums & scenarios | Allocate AI
description: Free compound interest calculator. See how your money grows over time with compounding, regular contributions, and different rates of return.
canonical: https://allocateai.io/calculators/compound-interest
site: Allocate AI — https://allocateai.io
---

# Compound Interest Calculator

Project your investment growth with realistic scenarios. Model contribution changes, lump sums, and interest rate variance.

*This is the write-up of an interactive calculator. Use it at https://allocateai.io/calculators/compound-interest — the inputs, charts and year-by-year tables are on that page. The formulas are below.*

> Returns are hypothetical and assume a fixed annual rate credited at the compounding frequency you choose, with contributions counted at the end of each month (the standard ordinary-annuity convention). Actual investment returns vary year to year and are not guaranteed; the low, high and random lines are scenarios, not forecasts. Taxes and fees are not deducted. This calculator is for education, not financial advice.

## How it's calculated

Future value of a starting balance plus recurring end-of-month contributions, compounded annually, quarterly, monthly or daily, for three fixed-rate scenarios and an optional random one.

- **Future value**: A = P(1 + r/n)^nt + PMT × ((1 + r/n)^nt − 1) ÷ (r/n)
- **Variables**: P = initial balance · r = annual rate · n = compounding periods a year (1, 4, 12 or 365) · t = years · PMT = monthly contribution
- **Each month**: balance = balance × (1 + r/n)^n/12 + PMT (monthly or daily); with annual or quarterly compounding, interest is credited at the end of each period on the balance at its start
- **Variance range**: low = r − X% · high = r + X%, same contributions
- **Random line**: each year's rate = r + U(min, max), fixed seed
- Contributions are made consistently every month, at the end of the month
- Annual increases raise the monthly amount at the start of each year, from year 2
- Lump sums are added at the start of the year you choose
- The interest rate is fixed (or modeled as a range)
- Taxes and fees are not deducted from growth

## How compound interest works

Compound interest is what happens when you earn returns not just on your original principal, but on the returns that principal has already produced. Each period, the interest you earned in prior periods becomes part of the new base — so the next round of growth is calculated on a larger number. Repeat that for years and the curve bends sharply upward.

This is what separates compounding from simple interest. Simple interest pays a flat percentage on the original principal only; $10,000 at 5% simple interest earns $500 every year, forever. Compounded annually at 5%, the same $10,000 grows to roughly **$16,289** after ten years and **$26,533** after twenty, because each year's interest joins the principal and earns its own interest the next year.

Five inputs drive the outcome: your starting balance, how much you add over time, your rate of return, how often the account compounds, and the length of time you stay invested. Of those five, time is the one that matters most — and the one most people underuse.

## The compound interest formula

For a lump sum with no further contributions, the future value formula is:

A = P(1 + r/n)^(nt)

Where **A** is the future value, **P** is the starting principal, **r** is the annual interest rate as a decimal, **n** is the number of compounding periods per year, and **t** is the number of years.

A worked example: $10,000 at 7% compounded annually for 10 years is $10,000 × 1.07^10 = **$19,671.51**. The same $10,000 at 6% compounded monthly for 10 years is $10,000 × (1 + 0.06/12)^120 = **$18,193.97**.

When you add regular contributions, the math layers in the future value of a series — each contribution compounds from the moment it's made until the end of the horizon. The calculator above handles both pieces together, so you can model a starting balance plus monthly contributions in one projection.

## Why starting early matters so much

Time is the most powerful variable in compounding because growth is exponential, not linear. Money invested earlier passes through more compounding periods, which means more rounds of "returns on returns." Each extra decade you stay invested is worth dramatically more than the same number of years added at the end.

As a purely illustrative example using assumed numbers: someone who contributes $500 per month from age 25 to 65 at a hypothetical 7% annual return ends up with roughly **$1.3 million** at the end. Someone who contributes the same $500 per month but doesn't start until age 35 — only ten years later — ends up with roughly **$610,000**. Same monthly amount, same return assumption; a single decade of extra compounding more than doubles the final number. These are hypothetical figures and not a forecast — actual returns vary and aren't guaranteed. The [time value of money calculator](https://allocateai.io/calculators/time-value) shows the same cost of waiting for any start age.

## Compound interest on debt vs. investments

Compounding cuts both ways. The same math that grows a long-term portfolio also grows the balance on a credit card you don't pay off. A 24% APR card that compounds monthly will roughly double an unpaid balance in about three years if no payments are made — that's compounding working against you.

That's why [paying down high-interest debt](https://allocateai.io/calculators/debt-payoff) is often described as a guaranteed return: every dollar you put toward a 24% balance is one fewer dollar compounding against you at 24%. For most people that's a higher and more certain return than any reasonable investment assumption.

## Frequently asked questions

### What is compound interest in simple terms?

It's interest that earns interest. After each compounding period, the interest you earned is added to your balance, and the next round of interest is calculated on that larger total. Over long horizons, this turns small contributions into much larger amounts.

### How is compound interest different from simple interest?

Simple interest is calculated only on your original principal — the base never grows. Compound interest is calculated on principal plus accumulated interest, so the base grows every period. Over short horizons the difference is small, but over decades it's enormous.

### How often does interest compound?

It depends on the account. Savings accounts often compound daily or monthly. Investment returns are usually quoted annually but effectively compound continuously as prices move. More frequent compounding produces slightly more growth at the same stated rate, but the difference is small compared to time and contribution size. This calculator defaults to monthly; pick Annually, Quarterly or Daily above to see the gap.

### What is a realistic rate of return?

The long-run U.S. stock market is often cited at roughly 10% nominal and about 7% after inflation, but those are averages over very long periods — actual returns vary widely year to year and aren't guaranteed. Bonds, savings accounts, and CDs typically earn less. Use a conservative assumption when planning, and treat any specific projected number as a scenario rather than a forecast.

### Does compound interest work on a savings account?

Yes — most savings and money-market accounts compound daily or monthly. The mechanism is the same as in investments; the rates are usually much lower, so the curve bends more gently. A realistic [monthly budget](https://allocateai.io/calculators/budget-50-30-20) that frees up cash to contribute is what makes compounding useful in the first place.

### What's the rule of 72?

The rule of 72 is a back-of-the-envelope way to estimate how long it takes money to double at a given return: divide 72 by the annual rate. At 8%, money doubles in roughly 9 years; at 6%, about 12; at 4%, about 18. It's an approximation, but it's accurate enough to compare scenarios in your head.

### When are contributions counted, and why do other calculators give different numbers?

At the end of each month, the standard “ordinary annuity” convention. Set compounding to Annually and this calculator matches investor.gov’s to the cent ($642,887.27 for $10,000 plus $500 a month at 7% for 30 years); set it to Monthly and it matches the textbook formula ($691,150). Calculators that credit deposits at the start of the month run about half a percent higher.

This calculator and its explanations are educational and give estimates only — not investment, tax or legal advice. Real returns, inflation and tax outcomes vary; talk to a qualified professional about your own situation.

## More calculators

- [Time Value of Money Calculator](https://allocateai.io/calculators/time-value) — Present value, future value and the cost of waiting
- [Mega Backdoor vs. Traditional 401(k)](https://allocateai.io/calculators/mega-backdoor-growth) — After-tax value of each over time
- [Debt Payoff Calculator](https://allocateai.io/calculators/debt-payoff) — Avalanche vs. snowball, and your debt-free date
- [FatFIRE Withdrawal Calculator](https://allocateai.io/calculators/fire-withdrawal) — Will the portfolio last? Tax-aware drawdown

**Want to track your actual investments?**

Allocate connects to your brokerage accounts and tracks RSUs, 401k, ESPP, and more — automatically.

[Get started](https://app.allocateai.io/signup)

---

Allocate AI is a budgeting and financial-planning app: link your accounts, say what you want in plain words, and it writes the plan and stages every change for your approval. Read more at https://allocateai.io or see all pages in https://allocateai.io/llms.txt.
