Skip to content
URIAH CLEMMER
$ ./compoundcalc

CompoundCalc

What money does when it is left alone. A starting balance, what you add and how often, the rate and how often it compounds, and the years — and back come the balance, how much of it is interest, the schedule year by year, and how long a goal takes.

// a projection, not a promise: the rate you type is the rate you get, every period, for the whole run. Nothing real does that. Try $10,000 plus $500 a month at 7 % for 30 years

// the arithmetic, and the two places it is usually done carelessly, are in the write-up

THE MONEY

// either one is enough. Leave the contribution blank for a lump sum left alone; leave the starting balance blank to see what the habit alone does.

THE RATE AND THE TIME

// the rate is the NOMINAL annual rate — the number on the account, before compounding. The results print what it comes to once compounding is counted (the APY). A savings account compounds daily; most index-fund arithmetic assumes yearly; a loan amortises monthly.

A GOAL — OPTIONAL

// the other question: not "what will I have" but "when will I have it". Solved exactly, in years and months, whether or not it lands inside the horizon above.

ADVANCED — TIMING AND INFLATION

// paying in at the start of the period gives every deposit one more period of growth — an annuity due rather than an ordinary annuity. Inflation does not change the balance; it adds a line saying what that balance buys in today's money.

ASSUMPTIONS // what the numbers rest on

// the nominal rate is converted to an exact rate per contribution period, i = (1 + r/n)^(n/m) − 1, so monthly deposits into a daily-compounding account are computed as such rather than by pretending the two frequencies match. Every figure on the page comes from that one rate in closed form.

// the rate never changes, nothing is taxed, no fee is charged, and no deposit is missed. Real returns arrive in a different order every year and the order matters; this page is the arithmetic, not the forecast.

// doubling time is for a lump sum: ln 2 ÷ ln(1 + APY). The rule of 72 divides 72 by the nominal rate and is close between about 6 and 10 %; the page prints both so the gap is visible.

// nothing here is advice. It cannot know your taxes, your fees or your nerve, and a calculator that claims to is selling something. The horizon stops at 100 years.

INSERT COIN Found a bug in the maths? →