Compound Interest Calculator
Free compound interest calculator with regular deposits, a year-by-year schedule, growth chart and APY. See how savings grow — instant results, no sign-up.
About this tool
Compound interest is often called the eighth wonder of the world: your money earns interest, and then that interest earns interest too. Over years and decades, this snowball effect turns modest savings into serious wealth.
Enter your starting amount, annual rate, and how long the money will grow, and add regular deposits if you save monthly. The calculator shows the final balance, a year-by-year schedule, a growth chart, the effective annual rate, and how long your money takes to double — or switch to a solver mode to find the starting amount, the rate, or the time you need.
By Azhar Hussain · Last updated: 12 November 2026
How to use
Type your initial principal, the expected annual interest rate, and how many years the money will grow. Choose the compounding frequency - monthly is typical for savings accounts.
Press Calculate Growth to see the final balance and how much of it is interest earned. Increase the years to see why starting early matters more than starting big.
Add a regular contribution — monthly, quarterly or annual, at the start or end of each period — and an optional inflation rate to see the balance in today's money. Use the Extra months field for terms like 2 years 6 months. The mode selector at the top switches the tool to find the starting amount, the rate, or the time instead: those modes work on the lump sum only, without contributions.
The math behind it
The formula is A = P(1 + r/n)^(n x t), where P is the principal, r the annual rate, n the number of times interest compounds per year, and t the years.
For example, $10,000 at 7% compounded monthly for 20 years grows to about $40,387 - more than $30,000 of it pure interest. With a regular deposit C every period, the deposit part is C × ((1+i)^N − 1) ÷ i, where i = r ÷ n — deposits made at the start of each period earn one extra round of interest. The effective annual rate (APY) is (1 + r ÷ n)^n − 1: 7% compounded monthly is 7.23% a year in effect.
Regular contributions: how deposits change the answer
Most people do not invest once and wait — they add money every month. With a regular deposit C every period, the future value is the lump-sum part plus the deposit part: A = P(1 + i)N + C × ((1 + i)N − 1) ÷ i, where i = r ÷ n and N = n × t. Deposits made at the start of each period earn one extra round of interest, so their part is multiplied by (1 + i).
Worked example. Save $200.00 a month at 7% compounded monthly for 20 years, deposits at the end of each month: the deposits total $48,000.00, and the balance reaches $104,185.33 — $56,185.33 of it interest. The first 10 years earn $10,616.96 of interest; the second 10 years earn $45,568.37 — more than four times as much, because the balance doing the earning is far larger. The same deposits made at the start of each month reach $104,793.08 — $607.75 more, for nothing but timing.
When the deposit schedule does not match the compounding schedule — say, monthly deposits with quarterly compounding — the calculator converts the nominal rate to the equivalent monthly rate first, so every deposit is credited fairly. The schedule in the results shows exactly how much of each year's growth came from your deposits and how much from interest.
Worked examples, step by step
Lump sum. $10,000 at 7% compounded monthly for 20 years. Step 1: the monthly rate is i = 0.07 ÷ 12 = 0.005833. Step 2: the number of periods is N = 12 × 20 = 240. Step 3: the growth factor is (1.005833)240 = 4.0387. Step 4: $10,000 × 4.0387 = $40,387.39. Of that, $30,387.39 is interest — the original $10,000 more than quadrupled without another cent added.
Monthly deposits. $200 a month at the same rate and term, deposits at the end of each month. The deposit factor is ((1.005833)240 − 1) ÷ 0.005833 = 520.9267. Multiply by the deposit: $200 × 520.9267 = $104,185.33. The deposits themselves total $48,000, so $56,185.33 is interest earned along the way.
Compounding frequency comparison
The same $10,000 at 5% for 10 years, at every compounding frequency. More frequent compounding always wins — but the gaps shrink fast: moving from yearly to monthly adds $181.14, from monthly to daily adds $16.56, and from daily to continuous adds just $0.56.
| Compounding | Balance after 10 years | Effective annual rate (APY) |
|---|---|---|
| Annually | $16,288.95 | 5.00% |
| Semi-annually | $16,386.16 | 5.06% |
| Quarterly | $16,436.19 | 5.09% |
| Monthly | $16,470.09 | 5.12% |
| Daily | $16,486.65 | 5.13% |
| Continuous | $16,487.21 | 5.13% |
The APY column is the fair way to compare: it is the effective yearly rate after compounding, (1 + r ÷ n)n − 1. A 5% rate compounded monthly behaves like 5.12% a year. The calculator shows the APY for your own rate and frequency in the results.
Rule of 72 and doubling time
The Rule of 72 is a shortcut: divide 72 by the annual rate to get roughly how many years it takes money to double. At 7%, 72 ÷ 7 ≈ 10.3 years. It is most accurate near 8% and works best roughly between 6% and 10% — the US Securities and Exchange Commission's Investor.gov teaches the same shortcut.
| Annual rate | Rule of 72 | Exact doubling time |
|---|---|---|
| 2% | 36.00 years | 35.00 years |
| 4% | 18.00 years | 17.67 years |
| 6% | 12.00 years | 11.90 years |
| 8% | 9.00 years | 9.01 years |
| 10% | 7.20 years | 7.27 years |
| 12% | 6.00 years | 6.12 years |
The exact doubling time with annual compounding is ln(2) ÷ ln(1 + r). At 7% the exact figure is 10.24 years — the rule is only a month out. The calculator shows the exact doubling time for your rate and your compounding frequency, which is slightly faster than the annual figure when compounding is monthly or daily.
Spreadsheet formulas
The same calculation in Excel or Google Sheets. For a lump sum, type the formula directly: =ROUND(10000*(1+0.07/12)^(12*20),2) gives 40,387.39 — the same answer as the worked example above. The pattern is =P*(1+r/n)^(n*t), with P the starting amount, r the annual rate as a decimal, n the compounding periods per year, and t the years.
The built-in FV function does the same job: =FV(0.07/12, 240, 0, -10000) returns 40,387.39. With monthly deposits, =FV(0.07/12, 240, -200, 0) returns 104,185.33. Note the signs: money you pay in is negative, so the starting amount and the deposits go in as negatives and the result comes out positive.
To find the rate you need: =n*((A/P)^(1/(n*t))-1). Growing $30,000 into $33,000 over 2.5 years with daily compounding needs =365*((33000/30000)^(1/(365*2.5))-1) = 3.81% a year. For continuous compounding, use =P*EXP(r*t).
Solving for the rate or the time
Sometimes the question runs backwards: you know the target, and you want the rate, the time, or the starting amount. The mode selector at the top of the calculator switches the tool around. The rearranged formulas are: starting amount P = A ÷ (1 + i)N; rate r = n × ((A ÷ P)1 ÷ (nt) − 1); time t = ln(A ÷ P) ÷ (n × ln(1 + r ÷ n)).
Rate example. Turning $30,000 into $33,000 over 2.5 years with daily compounding needs r = 365 × ((33000 ÷ 30000)1 ÷ 912.5 − 1) = 3.81% a year.
Time example. Turning $10,000 into $40,000 at 7% compounded monthly takes t = ln(4) ÷ (12 × ln(1.005833)) = 19.86 years — about 19 years 10 months.
The solver modes work on the lump sum only: regular contributions are not included, and the tool says so in the results. If you are saving monthly as well, use the main mode and adjust the inputs until the balance reaches your target.
Tax and inflation: what the headline number leaves out
The headline balance is nominal — before tax and before inflation. Both eat into it, and the calculator's inflation input shows the second one: today's-money value = balance ÷ (1 + inflation)years. For example, $144,572.72 in 20 years at 3% inflation buys what $80,046.41 buys today — barely more than half the headline figure. That is why the real return — the rate minus inflation — matters more than the nominal rate.
Tax works the other way: interest is generally taxable income — in the US, the IRS treats it as such (Topic 403) — and the rules, rates and allowances vary by country, so the calculator shows pre-tax figures. A rough way to allow for it is to enter your after-tax rate: if a fifth of your interest goes to tax, a 7% rate behaves roughly like 5.6% after tax. These are estimates, not tax advice — check your local rules before planning around a number.
Methodology and sources
Core formula. A = P(1 + r ÷ n)nt, with n = 1, 2, 4, 12 or 365. Continuous compounding uses A = P × ert. Daily compounding uses 365 periods a year.
Deposits. The calculator simulates month by month. The nominal rate is first converted to the equivalent monthly rate — (1 + r ÷ n)n ÷ 12 − 1, or er ÷ 12 − 1 for continuous compounding — so deposits on a monthly, quarterly or annual schedule are all credited fairly, and the year-by-year schedule is built from the same simulation as the headline balance. With no deposits, the simulation reproduces the closed-form formula exactly. Deposits at the start of a period earn that period's interest; deposits at the end do not.
APY and doubling. APY = (1 + r ÷ n)n − 1 (er − 1 continuous). Exact doubling time = ln(2) ÷ (n × ln(1 + r ÷ n)), or ln(2) ÷ r continuous.
Sources. The formulas and methods are those published by CalculatorSoup, Calculator.net and Finlyzers in their compound interest calculators; the Rule of 72 is taught by the US Securities and Exchange Commission's Investor.gov. Every figure on this page was recomputed and checked before publishing.
Estimates only — not financial advice. Rates are assumed fixed for the whole term; real savings rates and investment returns vary, and past growth says nothing about future growth.
Frequently asked questions
What is the difference between simple and compound interest?
How often should interest compound?
What is a realistic interest rate to assume?
How do you calculate compound interest step by step?
What is APY, and how is it different from the interest rate?
How long will it take my money to double?
Do regular monthly deposits make a big difference to the final balance?
What will my balance be worth in today's money after inflation?
Related tools
Investment Calculator
Savings Calculator
Simple Interest Calculator
BMI Calculator
Age Calculator
Percentage Calculator
💬 Comments
Have a question about this page, or an idea to make it better? Share it below — your feedback helps everyone who uses this site.