UnitPlanet

Compound Interest Calculator

This calculator does the math, not the recommendation. Outputs are mathematical results based on the inputs you provide. UnitPlanet does not give financial, investment, or tax advice. For decisions about your money, consult a qualified professional.

Compound interest is the most powerful force in math: money earning interest on its interest grows exponentially rather than linearly. At 5% compounded monthly, $10,000 becomes $16,471 after 10 years — not $15,000 as simple interest would predict. The difference is $1,471 in interest earned on interest. Real savings accounts and investments compound at rates that change over time; this calculator shows the math for a fixed rate.

The formula

For a lump sum with no additional contributions:

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

Where:

  • A = final amount
  • P = principal (initial deposit)
  • r = annual interest rate as a decimal (e.g., 5% = 0.05)
  • n = compounding periods per year (monthly = 12, daily = 365)
  • t = time in years

With periodic contributions (PMT per compounding period), the total is:

A = P(1 + r/n)^(nt) + PMT × [((1 + r/n)^(nt) − 1) / (r/n)]

For contributions at the start of each period, multiply the PMT term by (1 + r/n).

Source: Investor.gov (U.S. Securities and Exchange Commission).

Practical examples

Example 1: Lump sum, 10 years

$10,000 at 5% annual rate, compounded monthly, for 10 years:

A = 10000 × (1 + 0.05/12)^(12 × 10)
  = 10000 × (1.004167)^120
  = 10000 × 1.6471
  = $16,471

Total interest earned: $6,471 — nearly two-thirds of the original investment.

Example 2: Monthly contributions

$10,000 initial deposit, $200/month contributions, 5% compounded monthly, 20 years:

  • Without contributions: $27,126
  • Contribution total over 20 years: $48,000
  • Final balance: approximately $100,968
  • Interest earned: $15,968 (on contributions alone, in addition to the lump-sum growth)

Example 3: Effect of compounding frequency

$10,000 at 6% for 10 years:

CompoundingPeriods/year (n)Final balance
Annual1$17,908
Quarterly4$18,061
Monthly12$18,194
Daily365$18,220

Common mistakes

Using the rate as a whole number rather than a decimal. The formula requires r as a decimal. Entering 5 instead of 0.05 produces a result millions of times too large.

Confusing APR and APY. A savings account advertised at 5% APR compounded monthly actually yields 5.116% APY. The calculator uses the rate you enter as APR; if your account states APY, use the APR/APY converter to find the equivalent APR first.

Expecting the formula to include taxes. Real returns on savings and investments are subject to income tax on interest earned each year. The formula shows gross growth before any taxes.

Assuming the rate stays fixed. Real interest rates on savings accounts, CDs, and investment accounts change. The formula is mathematically exact only for a constant rate over the full period.

International and regional variations

Country / RegionCommon compounding conventionNotes
United StatesDaily or monthly (savings); monthly (mortgages)APY disclosure required by Truth in Savings Act
United KingdomAnnual (AER — Annual Equivalent Rate)AER is the UK equivalent of APY; mandated by FCA
European UnionAnnual (EAR — Effective Annual Rate)EU Consumer Credit Directive requires EAR disclosure
CanadaSemi-annual (mortgages); monthly (deposits)Canadian mortgages legally compound semi-annually
AustraliaMonthly or dailyComparison Rate required for loan advertising

Quick reference: Rule of 72

Annual rateYears to double (Rule of 72)Exact years (monthly compounding)
3%24 years23.1 years
5%14.4 years13.9 years
7%10.3 years9.9 years
10%7.2 years6.96 years
12%6 years5.81 years

The Rule of 72 is a rough approximation. The calculator gives exact results for any rate and compounding frequency.

Compound Interest

Final balance$16,470.09
Total principal$10,000.00
Total interest earned$6,470.09

A = P(1 + r/n)^(nt) + PMT × [((1 + r/n)^(nt) − 1) / (r/n)]

$0$4k$8k$12k$16kNowYr 2Yr 4Yr 6Yr 8Yr 10
PrincipalContributionsInterest
View data table
YearBalancePrincipalContributionsInterest
0$10,000.00$10,000.00$0.00$0.00
1$10,511.62$10,000.00$0.00$511.62
2$11,049.41$10,000.00$0.00$1,049.41
3$11,614.72$10,000.00$0.00$1,614.72
4$12,208.95$10,000.00$0.00$2,208.95
5$12,833.59$10,000.00$0.00$2,833.59
6$13,490.18$10,000.00$0.00$3,490.18
7$14,180.36$10,000.00$0.00$4,180.36
8$14,905.85$10,000.00$0.00$4,905.85
9$15,668.47$10,000.00$0.00$5,668.47
10$16,470.09$10,000.00$0.00$6,470.09

Frequently Asked Questions

What is compound interest?
Compound interest is interest calculated on both the initial principal and the accumulated interest from previous periods. This means your interest earns interest — the defining feature that separates compound growth from simple interest.
What is the compound interest formula?
For a lump sum: A = P(1 + r/n)^(nt), where P is principal, r is annual interest rate (as a decimal), n is compounding periods per year, and t is time in years. With additional periodic contributions, a separate term is added for the future value of those payments.
How does compounding frequency affect growth?
More frequent compounding produces slightly more interest. At 5% annual rate on $10,000 for 10 years: annual compounding yields $16,289; monthly compounding yields $16,471; daily compounding yields $16,487. The difference is real but modest at typical rates.
What is the Rule of 72?
The Rule of 72 is a quick approximation: divide 72 by the annual interest rate to estimate how many years it takes to double your money. At 6%, 72 ÷ 6 = 12 years. This is a rough estimate — the calculator gives exact results.
Does this calculator account for taxes or inflation?
No. This tool shows the math of compounding at a fixed rate. Real savings and investments are subject to taxes on interest earned, inflation that reduces purchasing power, and rates that change over time. This tool shows the mathematical outcome, not a financial forecast.
What is the difference between APR and APY?
APR (Annual Percentage Rate) is the stated annual rate; APY (Annual Percentage Yield) is what you actually earn after compounding is applied. If your account compounds monthly at 5% APR, your APY is approximately 5.12%. See our APR vs APY calculator for the exact conversion.

Sources

  1. Investor.gov — Compound Interest Calculator (U.S. SEC)[archived 2026-05-29]

Related Tools