Compound Interest Calculator

Grow an initial principal with optional contributions at any compounding frequency — annually, monthly, daily or continuous. Periodic compounding is computed as exact BigInt fractions, and every step of the formula is shown.
Computed
The final amount, the schedule and the full working are shown below.
Resultexact

Final amount

1,628.89

Every balance is computed as an exact BigInt fraction — no floating-point rounding.

Total interest earned
628.89
Effective annual rate exact
5%
Doubling time (years)
14.21
Year-by-year schedule
Year
Balance
Interest earned
0
1,000.00
0.00
1
1,050.00
50.00
2
1,102.50
102.50
3
1,157.63
157.63
4
1,215.51
215.51
5
1,276.28
276.28
6
1,340.10
340.10
7
1,407.10
407.10
8
1,477.46
477.46
9
1,551.33
551.33
10
1,628.89
628.89
Graph
-224681012500100015002000 0
Balance

Step-by-step solution

  1. 1

    Identify the inputs

    With compound interest, each period's earnings are added to the balance, so the next period earns interest on interest. The inputs are listed below.

    A=P(1+rn)ntA = P \left(1 + \frac{r}{n}\right)^{nt}
    • P = 1000
    • r = 5%
    • t = 10
    • n = 1
  2. 2

    Convert the annual rate to a fraction

    The annual rate 5% becomes the exact fraction 1/20. Every periodic computation below stays in fractions.

    5%=5100=1205\% = \frac{5}{100} = \frac{1}{20}
  3. 3

    Per-period rate and growth base

    With 1 compounding periods per year, each period applies the exact per-period rate i = 1/20. The growth base is B = 1 + i.

    i=rn=120,B=1+i=2120i = \frac{r}{n} = \frac{1}{20}, \qquad B = 1 + i = \frac{21}{20}
  4. 4

    Count the compounding periods

    1 periods per year over 10 years gives N = 10 compounding periods in total.

    N=n⋅t=1⋅10=10N = n \cdot t = 1 \cdot 10 = 10
  5. 5

    Grow the principal

    The power B^N is expanded exactly with BigInt numerator and denominator — no floating-point rounding — leaving the grown principal at about 1,628.89.

    AP=P⋅BN=1000⋅(2120)10≈1628.89A_P = P \cdot B^{N} = 1000 \cdot \left(\frac{21}{20}\right)^{10} \approx 1628.89
  6. 6

    Total amount

    The final amount is the grown principal plus the grown contributions: about 1,628.89.

    A=AP≈1628.89A = A_P \approx 1628.89
  7. 7

    Interest earned

    Subtracting everything paid in leaves the earnings: about 628.89 of interest on a principal of 1,000.00 and contributions of 0.00.

    interest=A−P≈628.89\text{interest} = A - P \approx 628.89
  8. 8

    Effective annual rate

    Compounding more often than once a year beats the nominal rate. The equivalent single yearly growth is EAR = B^n − 1, computed exactly as a fraction — about 5% per year.

    EAR=Bn−1=(2120)1−1≈5%\text{EAR} = B^{n} - 1 = \left(\frac{21}{20}\right)^{1} - 1 \approx 5\%
    • EAR = 1/20 ≈ 5%
  9. 9

    Doubling time

    Solving B^(n·t) = 2 with logarithms gives the doubling time: about 14.21 years. The Rule of 72 shortcut, 72 divided by the percent rate, estimates 14.4 years.

    tdouble=ln⁡2n⋅ln⁡B=ln⁡21⋅ln⁡(2120)≈14.21t_{\text{double}} = \frac{\ln 2}{n \cdot \ln B} = \frac{\ln 2}{1 \cdot \ln\left(\frac{21}{20}\right)} \approx 14.21
    • 72 / 5 ≈ 14.4

About compound interest

Compound interest is interest on interest. Instead of being paid out, each period's earnings are added to the balance, so the next period earns interest on a larger amount. With an initial principal P, an annual rate r and n compounding periods per year, the balance after t years is A = P(1 + r/n)^(nt) — the same geometric growth law that drives geometric sequences.

The more often interest is added, the more you earn: monthly compounding beats annual compounding at the same nominal rate, and continuous compounding — the limit as n grows without bound — gives A = P·e^(rt). The effective annual rate (EAR) makes the frequencies comparable: it is the single yearly growth that produces exactly the same balance, EAR = (1 + r/n)^n − 1. A 6% nominal rate compounded monthly is really about 6.17% per year.

Regular contributions turn the formula into an annuity: every payment compounds for the time remaining, and together they grow to C·((1 + r/n)^(nt) − 1)/(r/n) — over long horizons often worth more than the initial principal. For a quick estimate of the doubling time, the Rule of 72 divides 72 by the percent rate: at 5% it predicts about 14.4 years, close to the exact ln(2)/ln(1.05) ≈ 14.21 years.