Compound interest
Compound interest calculator
Start with a lump sum, add a monthly deposit if you like, and choose how often interest is credited. The result is the balance at the end of the period, split into money you paid in and money the rate produced.
The formula, and why the page simulates instead
For a single lump sum with no deposits, the textbook result is A = P × (1 + r/n)n×t, where r is the annual rate as a decimal, n is the number of compounding periods per year and t is the number of years. $1,000 at 10% for 10 years compounded annually gives $2,593.74. Change the compounding to monthly and the same nominal 10% produces $2,707.04, because interest starts earning interest sooner.
Once monthly deposits are involved there is no tidy single formula worth quoting, so this page walks the schedule one month at a time. The monthly growth factor is derived from your chosen frequency as (1 + r/n)n/12, which means a lump sum alone still lands on the textbook answer while deposits are handled correctly. Each deposit is added at the end of its month, so it starts earning in the following month — the conservative assumption.
A worked example with deposits
$5,000 to start, $200 a month, 7% a year compounded monthly, for 20 years: you pay in $53,000, the balance reaches $124,379.03, and the difference — $71,379.03 — is interest. The effective annual rate is 7.229%, slightly above the nominal 7% because of the monthly compounding. Note which number dominates: over 20 years the deposits are about 43% of the final balance and interest is the rest. Time does more work than the deposit does.
Nominal, effective and advertised rates
A savings account quoting 4.00% with daily compounding does not pay 4.00% a year; it pays about 4.08%. Lenders and banks are required in most countries to show an annual equivalent rate precisely because the nominal figure is misleading. The "Effective annual rate" cell above does that conversion for whatever compounding you selected, so you can compare two offers on the same basis.
What this calculator leaves out
Tax on interest, account fees, inflation and any change in the rate. Each of them can move a 20-year result by more than a percentage point of growth. If you are modelling retirement or a child's education fund, run the same figures at a rate 1–2 points lower as a sanity check; if the plan only works at the optimistic rate, it is not a plan. The companion guide covers how to read the output without fooling yourself, and the payoff calculator covers the same maths from the borrower's side.
Related calculators
Estimates only, not financial advice. These figures come from the inputs you typed and the assumptions listed above; they ignore fees, taxes and local rules unless stated otherwise. Check important numbers against your lender, utility or adviser before you act on them.