Compound Interest Calculator
- Free
- No sign-up
- Works on phones
- Shows the working
This compound interest calculator shows how money grows when interest earns interest. Enter the principal, the annual interest rate, how often interest is compounded (yearly, half-yearly, quarterly, monthly, daily or continuously) and the number of years. It returns the final balance, the interest earned, the effective annual rate, the simple-interest amount for comparison, and a year-by-year balance table.
It’s free and needs no sign-up. However, it’s for learning and estimates; it doesn’t include fees, taxes or regular deposits.

How to use it
- Enter the principal P, the starting amount.
- Enter the annual rate in percent (5 for 5%).
- Choose how often interest is compounded.
- Enter the number of years and press Calculate.
Formula
$$A = Pleft(1 + frac{r}{n}right)^{nt}$$

where r is the annual rate as a decimal, n the number of compounding periods per year and t the time in years. With continuous compounding, ( A = Pe^{rt} ). So, the interest earned is ( A – P ).
Worked example
$1000 at 5% compounded monthly for 10 years (as loaded above):
$$A = 1000left(1 + frac{0.05}{12}right)^{120} approx $1647.01$$
The interest earned is $647.01. Simple interest would give only $1500, so compounding adds $147.01. Compounded continuously, the balance would be ( 1000e^{0.5} approx $1648.72 ).
Worked example: quarterly
$5000 at 6% compounded quarterly for 8 years: ( A = 5000(1.015)^{32} approx $8051.62 ).
How compounding frequency matters to a compound interest calculator
For $1000 at 5% for 10 years:

| Compounded | Final amount |
|---|---|
| Yearly | $1628.89 |
| Monthly | $1647.01 |
| Daily | $1648.66 |
| Continuously | $1648.72 |
More frequent compounding helps, but with rapidly diminishing returns, approaching the continuous limit ( Pe^{rt} ). That limit is where the number ( e ) comes from; see exponential functions.
The rule of 72
Money doubles in roughly ( 72 div text{rate} ) years: at 6%, about 12 years. However, the exact doubling time for yearly compounding is ( frac{ln 2}{ln(1 + r)} ), found with logarithms.
Common mistakes
- Using the rate as a whole number. For example, 5% is 0.05 in the formula (the calculator takes 5 and converts it).
- Mixing up n and t. n is periods per year, t is years; the exponent is ( nt ).
- Comparing nominal rates with different compounding. Compare effective annual rates instead.
Compound interest with regular deposits
Most savings plans add money every month. As a result, the future value is the compounded starting amount plus the compounded deposits:
$$A = P\left(1 + \frac{r}{n}\right)^{nt} + D \cdot \frac{\left(1 + \frac{r}{n}\right)^{nt} - 1}{r/n}$$
where \( D \) is the deposit made at the end of each period.
Example. Start with $5,000, add $200 a month, earn 6% a year compounded monthly for 20 years. Here \( r/n = 0.005 \) and \( nt = 240 \), so \( 1.005^{240} \approx 3.3102 \).
- Starting amount: \( 5000 \times 3.3102 \approx 16{,}551 \)
- Deposits: \( 200 \times \frac{3.3102 - 1}{0.005} \approx 92{,}408 \)
- Total: about $108,959, of which you paid in $53,000. The other $55,959 is interest.
Continuous compounding
When interest compounds “continuously”, the formula becomes
$$A = Pe^{rt}$$
$10,000 at 5% for 10 years grows to \( 10000e^{0.5} \approx \$16{,}487.21 \). Compounded monthly it would be $16,470.09, and yearly $16,288.95. Continuous compounding is the upper limit: compounding more often than daily adds almost nothing.
Effective annual rate (APY)
Banks quote a nominal rate and an annual percentage yield. However, the yield shows what you really earn in a year:
$$\text{APY} = \left(1 + \frac{r}{n}\right)^{n} - 1$$
| Nominal 6% compounded | Effective annual rate |
|---|---|
| Yearly | 6.000% |
| Monthly | 6.168% |
| Daily | 6.183% |
| Continuously | 6.184% |
Use the APY to compare accounts with different compounding.
Solving for time or rate
Take logarithms to find how long a balance takes to grow:
$$t = \frac{\ln(A/P)}{n \ln\left(1 + \frac{r}{n}\right)}$$
At 7% compounded yearly, money doubles in \( \ln 2 / \ln 1.07 \approx 10.24 \) years (the rule of 72 gives 10.29). To find the rate that turns $10,000 into $20,000 in 8 years with yearly compounding, solve \( (1 + r)^8 = 2 \). As a result, \( r = 2^{1/8} - 1 \approx 9.05\% \).
Inflation and real return
Growth in dollars is not growth in what money buys. However, the real return is
$$\text{real return} = \frac{1 + \text{nominal rate}}{1 + \text{inflation}} - 1$$
A 7% return with 3% inflation is a real return of \( 1.07/1.03 - 1 \approx 3.88\% \), not 4%.
Compound interest working against you: loans and cards
Debt compounds too. Next, a credit card with a 24% APR charged monthly applies 2% a month, so the effective annual rate is \( 1.02^{12} - 1 \approx 26.8\% \). A $1,000 balance left unpaid for a year (with no payments or fees) grows to about \( 1000 \times 1.02^{12} \approx \$1{,}268.24 \). Comparing loans by their effective annual rate, not the headline APR, shows the true cost.
Step-by-step: using the formula
- Write the annual rate as a decimal (5% = 0.05).
- Divide it by the number of compounding periods per year \( n \).
- Multiply the years by \( n \) to get the number of periods.
- Compute \( P(1 + r/n)^{nt} \), then subtract \( P \) if you want the interest alone.
- For regular deposits, add the deposit part from the formula above.
Keep full precision until the last step; rounding \( (1 + r/n) \) early can change the answer by several dollars over long periods.
Simple interest vs compound interest
Simple interest is paid only on the original amount: \( I = Prt \). On $10,000 at 5% for 10 years that is $5,000, for a total of $15,000. Compounded yearly, the same deposit grows to $16,288.95. The gap widens every year, because compound interest also earns interest on the interest already added. Over 30 years the totals are $25,000 (simple) and about $43,219 (compound).
How often is interest compounded?
Savings accounts usually compound daily or monthly, certificates of deposit monthly or quarterly, and many bonds pay twice a year. Mortgages in the US compound monthly, while Canadian fixed-rate mortgages are by law compounded semi-annually. Check the account terms and enter that frequency in the calculator, because the same headline rate earns slightly different amounts.
Common questions about the inputs
Enter the rate as a yearly percentage even if interest is paid monthly; the calculator divides it by the compounding frequency. Enter the time in years (18 months is 1.5). If your bank quotes an APY rather than a nominal rate, choose yearly compounding and enter the APY directly.
Practice problems
- $2,000 at 4% compounded quarterly for 5 years.
- How many years does $1,000 take to reach $1,500 at 5% compounded yearly?
- What is the APY of 12% compounded monthly?
Answers: 1. \( 2000(1.01)^{20} \approx \$2{,}440.38 \). 2. \( \ln 1.5 / \ln 1.05 \approx 8.31 \) years. 3. \( 1.01^{12} - 1 \approx 12.68\% \).
Related guides
Further reading
- Compound interest (Wikipedia) — the formula, continuous compounding and history.
FAQ
What is the compound interest formula?
( A = Pleft(1 + frac{r}{n}right)^{nt} ).
What is the difference between simple and compound interest?
Simple interest is paid only on the original amount; compound interest is also paid on earlier interest, so the balance grows faster.
How much is $1000 at 5% for 10 years?
About $1628.89 compounded yearly, or $1647.01 compounded monthly.
What is continuous compounding?
The limit of compounding more and more often: ( A = Pe^{rt} ).
