Compound interest calculator
Explore a savings balance with regular contributions and compounding.
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
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
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
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
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
| Year | Balance | Total paid in | Interest |
|---|---|---|---|
| 1 | 2,279.04744704 | 2,200 | 79.0474470433 |
| 2 | 3,623.53338896 | 3,400 | 223.533388958 |
| 3 | 5,036.80578334 | 4,600 | 436.805783337 |
| 4 | 6,522.38387564 | 5,800 | 722.383875635 |
| 5 | 8,083.96696259 | 7,000 | 1,083.96696259 |
Constant-rate scenario; excludes taxes, fees and inflation.