How Compound Interest Works (Formula and Examples)
By the SnapCalculations team · Updated 18 Nov 2026
The short answer
Compound interest is interest earned on your interest. The formula is A = P × (1 + r ÷ n)^(n × t), where P is the starting amount, r the yearly rate as a decimal, n how often it compounds per year and t the number of years. $10,000 at 5% a year for 10 years grows to $16,288.95.
Interest on interest
With simple interest, you earn interest only on the money you put in. With compound interest, each period's interest is added to your balance, and the next period's interest is worked out on that bigger balance. The difference starts small but grows every year, which is why time matters so much for savings and investments, and why debt left unpaid can grow quickly.
A = P × (1 + r ÷ n)^(n × t)
P = starting amount, r = yearly rate as a decimal (5% → 0.05), n = compounding periods per year, t = years
Step by step
- 1Turn the rate into a decimal: 5% → 0.05.
- 2Divide it by the number of compounding periods per year (1 for yearly, 12 for monthly).
- 3Add 1.
- 4Raise it to the power of the total number of periods (periods per year × years).
- 5Multiply by your starting amount. Subtract the starting amount to see the interest earned.
Worked examples
Example 1: compounding once a year
You invest $10,000 at 5% a year, compounded yearly, for 10 years.
- A = 10,000 × (1 + 0.05)^10 = 10,000 × 1.05^10.
- 1.05^10 ≈ 1.628895.
- A ≈ $16,288.95, so the interest is $6,288.95.
Answer: $16,288.95
Try it in the calculatorExample 2: the same money compounded monthly
Same $10,000 at 5% for 10 years, but compounded monthly.
- Rate per month: 0.05 ÷ 12 ≈ 0.0041667.
- Number of months: 12 × 10 = 120.
- A = 10,000 × (1 + 0.05 ÷ 12)^120 ≈ $16,470.09.
Answer: $16,470.09: $181.14 more than yearly compounding
Try it in the calculatorExample 3: compound against simple interest
How much more does compounding earn than simple interest on $10,000 at 5% for 10 years?
- Simple interest: 10,000 × 0.05 × 10 = $5,000, so you'd end with $15,000.
- Compound interest, yearly (Example 1): $16,288.95.
- Difference: $16,288.95 − $15,000 = $1,288.95.
Answer: $1,288.95 more with compounding
Example 4: adding money every month
You start with $10,000 and add $200 at the end of every month, earning 7% a year compounded monthly, for 10 years.
- You pay in $10,000 + $200 × 120 months = $34,000.
- Each deposit then earns interest for the months that are left, and that interest compounds too.
- The balance after 10 years is $54,713.58.
Answer: $54,713.58, of which $20,713.58 is interest
Try it in the calculatorHow long it takes to double: the rule of 72
Divide 72 by the yearly interest rate to estimate how many years it takes for money to double. At 6%, 72 ÷ 6 = 12 years. The exact answer for 6% compounded yearly is about 11.9 years, so the shortcut is close. It's an estimate, and it gets less accurate at very high rates.
Example 5: checking the rule of 72
Does $1,000 at 6% a year, compounded yearly, double in 12 years?
- A = 1,000 × 1.06^12.
- 1.06^12 ≈ 2.0122.
- A ≈ $2,012.20.
Answer: Yes, just over: $2,012.20
Try it in the calculatorAPR, APY and compounding frequency
The more often interest compounds, the more you earn at the same headline rate. 5% compounded monthly is the same as about 5.116% compounded once a year, because (1 + 0.05 ÷ 12)^12 − 1 ≈ 0.05116. Savings accounts in the US often show this yearly equivalent as the APY (annual percentage yield), so comparing APYs is a fair way to compare accounts.
Common mistakes to avoid
- Using the rate as a whole number. 5% is 0.05 in the formula, not 5.
- Forgetting to divide the rate by n when compounding more than once a year.
- Counting years instead of periods in the power. Monthly for 10 years is 120 periods.
- Ignoring tax, fees and inflation. The formula shows growth before any of these.
Try your own numbers
Our compound interest calculator handles a starting amount, monthly contributions and daily, monthly, quarterly, half-yearly or yearly compounding, and shows your balance year by year.
Frequently asked questions
What is the compound interest formula?
A = P × (1 + r ÷ n)^(n × t). P is the starting amount, r the yearly rate as a decimal, n the number of times interest is added per year, and t the number of years.
How much is $10,000 at 5% for 10 years?
$16,288.95 compounded yearly, or $16,470.09 compounded monthly, with no extra deposits.
Does daily compounding make a big difference?
Not much compared with monthly. $10,000 at 5% for 10 years grows to $16,470.09 compounded monthly and $16,486.65 compounded daily.
Does compound interest work against me on debt?
Yes. Unpaid interest on credit cards and many loans is added to the balance, so you then pay interest on it. Paying more than the minimum stops the balance compounding as fast.