Money & shopping

Compound interest calculator

Explore a savings balance with regular contributions and compounding.

Compound interest calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

What if? Vary one input and watch the result

Pick an input and a result, choose a range, and Toolmoz runs this calculation at each step on your device. Every other input stays as you entered it.

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Uses your nominal annual rate and compounding frequency to derive an equivalent monthly growth rate. Adds monthly contributions at month-end. Assumes a constant rate and regular contributions. Shows nominal totals without taxes, fees or inflation; this is a scenario calculation, not a forecast.

How this is checked

4 reference checks passed These 4 cases were run when this page was built, on 3 December 2026, and all reproduce within the stated tolerance. The same cases are part of the automated tests that run on every change to Toolmoz. Engine version 1.

See the checks and where each expected answer comes from
  1. Case 1

    Inputs
    Starting balance 1000Annual nominal interest (%) 5Years 10Monthly contribution 0Compounding 1
    Expected, and what Toolmoz gave
    Final balance expected 1628.894626777442, Toolmoz 1628.8946267774534Total paid in expected 1000, Toolmoz 1000Interest earned expected 628.894626777442, Toolmoz 628.8946267774534
    Where the expected answer comes from
    Annual compounding with no contributions: 1,000 × 1.05^10 = 1,628.894626777442
    Allowed difference
    ±1e-12 relative
  2. Case 2

    Inputs
    Starting balance 1000Annual nominal interest (%) 5Years 10Monthly contribution 100Compounding 12
    Expected, and what Toolmoz gave
    Final balance expected 17175.237442257057, Toolmoz 17175.23744225705Total paid in expected 13000, Toolmoz 13000Interest earned expected 4175.237442257057, Toolmoz 4175.23744225705
    Where the expected answer comes from
    Future value of an ordinary annuity: P(1 + i)^N + C((1 + i)^N − 1) ÷ i with i = 5% ÷ 12, N = 120, P = 1,000, C = 100, evaluated separately with Math.pow
    Allowed difference
    ±1e-12 relative
  3. Case 3

    Inputs
    Starting balance 1000Annual nominal interest (%) 5Years 1Monthly contribution 0Compounding 365
    Expected, and what Toolmoz gave
    Final balance expected 1051.2674964674468, Toolmoz 1051.2674964674636Total paid in expected 1000, Toolmoz 1000
    Where the expected answer comes from
    Daily compounding for one year: 1,000 × (1 + 0.05 ÷ 365)^365 = 1,051.2674964674468
    Allowed difference
    ±1e-12 relative
  4. Case 4

    Inputs
    Starting balance 1000Annual nominal interest (%) 0Years 2Monthly contribution 50Compounding 12
    Expected, and what Toolmoz gave
    Final balance expected 2200, Toolmoz 2200Total paid in expected 2200, Toolmoz 2200Interest earned expected 0, Toolmoz 0
    Where the expected answer comes from
    Zero interest: 1,000 + 24 × 50 = 2,200 and nothing earned
    Allowed difference
    ±1e-9

What this shows: the engine reproduces independently worked values for these cases. It does not prove every possible input is right. To test an answer you were given, see how to check a number; to see what is and is not checked across Toolmoz, see the accuracy ledger.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Starting balance
1000
Annual nominal interest (%)
5
Years
10
Monthly contribution
100
Compounding
Monthly

Example result

First 5 rows of the example result
YearBalanceTotal paid inInterest
12,279.047447042,20079.0474470433
23,623.533388963,400223.533388958
35,036.805783344,600436.805783337
46,522.383875645,800722.383875635
58,083.966962597,0001,083.96696259

Constant-rate scenario; excludes taxes, fees and inflation.