Rising curve showing a balance growing faster each period

Compound Interest Calculator

One sum, one rate, and the period by period schedule that shows interest earning interest

$
%
years
MonthlyTwelve times a year
Worked cases

Period by period growth
YearOpeningInterest paidClosingInterest to dateSimple interest balanceCompounding gain

The frequency ladder, measured on one sum

Every rung is the same $10,000 at the same 5% nominal rate over the same ten years. Only the number of compounding periods changes, and the whole climb from annual to continuous is worth $198.26 on a gain of $6,288.95.

CompoundedPeriods a yearEffective annual rateBalance after 10 yearsGain over annualWorth switching?
Annually 1 5.0000% $16,288.95 Baseline The plain formula
Semi-annually 2 5.0625% $16,386.16 $97.21 Half the whole prize
Quarterly 4 5.0945% $16,436.19 $147.24 Three quarters of it
Monthly 12 5.1162% $16,470.09 $181.14 91% of it, and the usual case
Weekly 52 5.1246% $16,483.25 $194.30 $13.16 past monthly
Daily 365 5.1267% $16,486.65 $197.70 $3.40 past weekly
Continuously Unbounded 5.1271% $16,487.21 $198.26 The ceiling, $0.56 above daily

Read the last column downwards and the real lesson appears. Moving from annual to monthly captures 91% of everything frequency has to give. Everything past daily is worth 56 cents. The reason is that the growth factor (1 + r/n) raised to the power n climbs towards a hard limit: 1.05, then 1.050625, then 1.0509453, then 1.0511619, then 1.0512458, then 1.0512675, against e raised to the power 0.05, which is 1.0512711. The sequence is converging, not accelerating, and that is why a savings advert quotes the effective rate rather than boasting about the schedule.

A quoted rate can still hide a day count. A rate written on an ACT/360 basis divides by 360 rather than 365, so a 5% quote held for a full 365 days accrues 5.0694% as simple interest and 5.1998% if it compounds daily, against 5.0000% and 5.1267% on ACT/365. The ratio between the two bases is 365 divided by 360, or 1.0139. In the United States the annual percentage yield printed on a savings advert is defined by Regulation DD Appendix A, which annualises on a 365 day year and assumes nothing is withdrawn during the term.

Every formula this page uses

Six expressions cover the whole subject. The first is the one everybody quotes. The last is the one that explains why the others stop climbing.

  • Future value, compounded n times a yearA = P(1 + r/n)nt
  • Interest earnedI = P(1 + r/n)nt − P
  • Effective annual rate, the APYEAR = (1 + r/n)n − 1
  • Exact doubling timet = ln 2 ÷ [n · ln(1 + r/n)]
  • Simple interest, for contrastA = P(1 + rt)
  • Continuous compounding, the limitA = P ert

In all six, P is the principal, r is the nominal annual rate written as a decimal so that 5% is 0.05, n is the number of compounding periods in a year, and t is the term in years. Rearranged, the first formula answers the two questions people actually arrive with: the principal needed to reach a target is P = A divided by (1 + r/n) raised to nt, and the rate a known result implies is r = n times the quantity (A over P) raised to the power 1 over nt, minus 1.

Guide

The mathematics of interest earning interest

Where the formula comes from, what each compounding frequency is really worth, and the exact doubling time the Rule of 72 is only guessing at.

Compound interest is one formula and one idea. The idea is that interest, once paid, stops being a payout and becomes principal, so the next payment is calculated on a larger sum than the last one. Everything else on this page, the compound interest formula itself, the compounding frequency, the effective annual rate, the Rule of 72 and the gap against simple interest, is that single sentence written in different notation.

Where the formula comes from

Start with one year and no algebra. Put $1,000 somewhere that pays 10% a year. At the end of the year you have $1,000 plus $100, which is $1,100. Factor it and that is $1,000 multiplied by 1.10. Do it again and you have $1,000 multiplied by 1.10 twice. After five years you have $1,000 multiplied by 1.10 five times, which is $1,610.51 rather than the $1,500 that five separate $100 payments would have given you.

The growth factor 1.10 is just 1 plus the rate, so the general statement is A equals P multiplied by (1 + r) raised to the power t. That is the whole derivation. The only complication left is that most accounts do not pay once a year.

If interest is credited n times a year, each credit uses a slice of the annual rate, r divided by n, and there are n multiplied by t of those credits in the whole term. Substituting gives the formula every calculator quotes:

SymbolMeansExample
AThe balance at the endThe answer
PThe principal, the sum you start with$10,000
rThe nominal annual rate as a decimal5% becomes 0.05
nCompounding periods in a year12 for monthly
tThe term in years10

A equals P multiplied by (1 + r/n) raised to the power nt. Two mistakes account for most wrong answers. The first is leaving r as a percentage, so that 5 goes in where 0.05 belongs. The second is dividing the rate by n but forgetting to multiply the years by n, which quietly converts a ten year sum into a ten month one.

Compounding frequency, all the way to the ceiling

Because every extra credit starts earning immediately, a higher n always pays more. The question nobody answers with a number is how much more. Take $10,000 at a 5% nominal rate for ten years and change nothing but the schedule. Compounded annually it reaches $16,288.95. Compounded monthly, $16,470.09. Compounded daily, $16,486.65.

The entire distance from annual to daily is $197.70 on a gain of $6,288.95, which is a little over 3% of the interest earned. Moving from annual to monthly captures $181.14 of that, or 91% of everything frequency has to offer. The remaining rungs are rounding errors with marketing attached.

Push n higher and the pattern becomes obvious. Hourly compounding, at 8,760 periods a year, gives a growth factor of 1.051270946. Compounding every minute gives 1.051271094. The sequence is not running away, it is converging on a number, and that number is e raised to the power 0.05, which is 1.051271096. This is continuous compounding, written A equals P multiplied by e raised to the power rt, and it is the ceiling rather than an option. At this rate over this term it is worth $16,487.21, which is 56 cents more than daily compounding and $198.26 more than annual.

The constant e is not decoration here. Jacob Bernoulli found it by asking exactly this question, what happens to (1 + r/n) raised to the power n as n grows without bound, and the answer is e raised to the power r. So the whole frequency ladder has a mathematical roof, and every real account sits close to it. A bank that advertises continuous compounding is offering you less than a dollar more than daily on a ten thousand dollar balance.

The effective annual rate, which is the only number that compares two offers

A quoted rate is a nominal rate. It does not say what a year actually pays, because that depends on the schedule. The effective annual rate, EAR, collapses both into a single figure: EAR equals (1 + r/n) raised to the power n, minus 1.

At a 5% nominal rate the effective rate runs 5.0000% annually, 5.0625% semi-annually, 5.0945% quarterly, 5.1162% monthly, 5.1267% daily and 5.1271% continuously. Those spreads look trivial, and at 5% they are. At 18% compounded monthly the effective rate is 19.56%, and at a nominal 100% compounded daily it is 171.46%. Frequency matters in proportion to the rate, which is why it is a footnote on a savings account and a serious number on a credit card.

This is the figure on the advert. In the United States the annual percentage yield is defined by Regulation DD Appendix A as 100 multiplied by the quantity (1 + interest divided by principal) raised to the power 365 over the days in the term, minus 1. It is annualised on a 365 day year and it assumes nothing is withdrawn. That is why a certificate paying a 4.65% nominal rate compounded monthly is advertised as 4.75% APY. If you are comparing two accounts, compare the effective rates and ignore the schedule entirely, because the effective rate already contains it.

One trap survives even that. A rate quoted on an ACT/360 basis divides by 360 rather than 365, so a 5% quote held for a full 365 days accrues 5.0694% as simple interest and 5.1998% if it compounds daily, against 5.0000% and 5.1267% on ACT/365. The ratio between the two bases is 365 divided by 360, or 1.0139. Short term US dollar instruments are usually quoted on ACT/360 and sterling on ACT/365, which means the same printed number is not the same rate.

Compound against simple interest

Simple interest never lets interest become principal. Its formula is A equals P multiplied by (1 + rt), and the balance climbs in a straight line. Compound interest curves. On the same $10,000 at 5%, here is what the divergence costs:

YearsCompound, annualSimpleDifference
1$10,500.00$10,500.00$0.00
2$11,025.00$11,000.00$25.00
5$12,762.82$12,500.00$262.82
10$16,288.95$15,000.00$1,288.95
20$26,532.98$20,000.00$6,532.98
30$43,219.42$25,000.00$18,219.42
40$70,399.89$30,000.00$40,399.89

Read the last column rather than the second. The two methods are identical after one period and differ by $25 after two, which is why compound interest feels like an exaggeration in the first few years. By year 30 the difference is larger than the original deposit, and by year 40 it is four times the entire simple interest return. Time, not rate and certainly not frequency, is the lever that moves this table.

The Rule of 72, and the three places it breaks

Doubling time has an exact answer: t equals the natural log of 2, divided by n multiplied by the natural log of (1 + r/n). Since ln 2 is 0.693147 and ln(1 + r) is roughly r for small r, that collapses to about 69.3 divided by the rate in per cent. The shortcut in circulation uses 72 instead, because 72 divides cleanly by 2, 3, 4, 6, 8, 9 and 12 and can be done in your head. It has been in print since Luca Pacioli set it down in 1494.

It is an approximation, and it is honest only in the middle of its range:

RateRule of 72 saysActually takesError
1%72.00 years69.66 years3.36% too slow
2%36.00 years35.00 years2.85% too slow
5%14.40 years14.21 years1.36% too slow
8%9.00 years9.01 years0.07%, near perfect
10%7.20 years7.27 years1.00% too fast
25%2.88 years3.11 years7.28% too fast
50%1.44 years1.71 years15.77% too fast
100%0.72 years1.00 year28.0% too fast

So the rule breaks in three ways. Below about 4% it runs slow, and the Rule of 70 is the better shortcut there because at 2% it is out by 0.01%. Above about 20% it runs fast and the error grows without limit, reaching 28% at a 100% return. And it silently assumes annual compounding: at 4% a balance doubles in 17.67 years compounded annually but 17.36 years compounded monthly, a shift of about four months that the rule cannot see. If you need the rule outside its comfortable band, the usual adjustment is to move the 72 by one for every three percentage points away from 8%, so 76 at 20%. If you need the real figure, use the logarithm.

Working backwards

The same formula answers the two questions people usually arrive with. To find the deposit that reaches a target, divide rather than multiply: P equals A divided by (1 + r/n) raised to the power nt. Reaching $2,000 in five years at 10% takes $1,241.84 today. To find the rate a known result implies, take the root: r equals n multiplied by the quantity (A over P) raised to the power 1 over nt, minus 1. A painting bought for $2,000 and sold for $3,000 six years later returned 6.9913% a year, which is a far less impressive sentence than "it went up by half". And to find the term, use the doubling formula with your own multiple in place of 2.

Adding money as you go is a different calculation: everything here assumes one sum left alone, which is what makes the arithmetic exact. Once you pay in every month the balance is a lump sum plus an annuity, and inflation and a variable rate of return start to matter more than the compounding schedule ever did. The investment calculator handles that case.

FAQ

Frequently Asked Questions

What do P, r, n and t stand for in A = P(1 + r/n)^nt?

P is the principal, the single sum you start with. r is the nominal annual interest rate written as a decimal, so 5% goes in as 0.05 rather than as 5. n is the number of times interest is credited in a year, so 1 for annual, 4 for quarterly, 12 for monthly and 365 for daily. t is the term in years. A is what comes out, the balance at the end.

Two slips cause most wrong answers. Leaving r as a whole percentage turns a 5% rate into a 500% one. Dividing the rate by n but forgetting to multiply the years by n turns a ten year sum into a ten month one, because the exponent has to count every period, not every year.

How much does compounding daily actually beat compounding monthly?

Far less than the phrase suggests. Take $10,000 at a 5% nominal rate for ten years. Compounded monthly it reaches $16,470.09. Compounded daily it reaches $16,486.65. The difference is $16.56 over a decade, on interest of roughly $6,480.

The reason is that the whole climb from annual to continuous is worth only $198.26 on this sum, and the move from annual to monthly already captures $181.14 of it, which is 91%. Everything beyond daily is worth 56 cents. Compare the effective annual rates instead of the schedules: 5.1162% monthly against 5.1267% daily. A tenth of a percentage point of extra rate beats any change of frequency.

Why is the effective annual rate higher than the rate I was quoted?

Because the quoted figure is a nominal rate, which describes the size of each credit rather than what a year actually pays. The effective annual rate is (1 + r/n) raised to the power n, minus 1, and it folds the schedule into a single number.

At a 5% nominal rate the effective rate is 5.0000% compounded annually, 5.0945% quarterly, 5.1162% monthly and 5.1267% daily. The spread widens with the rate: 18% compounded monthly is an effective 19.56%, and a nominal 100% compounded daily is an effective 171.46%. This is the number on the advert. In the United States it is the annual percentage yield defined by Regulation DD Appendix A, annualised on a 365 day year, which is why a 4.65% nominal rate compounded monthly is published as 4.75% APY.

What does compounded continuously mean, and can anything beat it?

Nothing can beat it, because it is a limit rather than a schedule. As the number of compounding periods n grows, the annual growth factor (1 + r/n) raised to the power n does not run away. It converges. At a 5% rate it goes 1.05 annually, 1.050625 semi-annually, 1.0511619 monthly, 1.0512675 daily, 1.0512709 hourly, and it closes in on e raised to the power 0.05, which is 1.0512711.

That limit is continuous compounding, written A = P e^rt. Jacob Bernoulli found the constant e by asking this exact question. In money, $10,000 at 5% for ten years reaches $16,487.21 compounded continuously, which is 56 cents more than daily compounding. Continuous compounding is mostly a modelling convenience rather than a product feature.

At what interest rates does the Rule of 72 stop being accurate?

It is reliable between roughly 6% and 10%, and it drifts in both directions outside that. At 8% it says 9 years against an exact 9.006, an error of 0.07%. At 1% it says 72 years against 69.66, which is 3.36% too slow. At 25% it says 2.88 years against 3.11, which is 7.28% too fast, and at 100% it says 0.72 years against a real 1.00 year, an error of 28%.

Below about 4% the Rule of 70 is closer, because at 2% it is out by 0.01%. The rule also assumes annual compounding without saying so: at 4% a balance doubles in 17.67 years annually but 17.36 years monthly. If you need it outside its band, move the 72 by one for every three percentage points away from 8%. If you need the real figure, doubling time is ln 2 divided by n times ln(1 + r/n).

How much more does compound interest pay than simple interest?

Nothing at all for the first period, then an amount that grows faster every year. Simple interest is A = P(1 + rt) and never lets interest become principal, so the balance rises in a straight line.

On $10,000 at 5% compounded annually, the two methods are identical after one year and differ by $25 after two. After ten years compound interest is ahead by $1,288.95. After twenty it is ahead by $6,532.98, after thirty by $18,219.42, and after forty by $40,399.89, which is more than four times the entire simple interest return of $30,000 on the same deposit. The lever is time rather than rate, and certainly not the compounding schedule.

Should the year be 360 days or 365 days?

It depends on the market the rate was quoted in, and it is not a rounding detail. A rate quoted on an ACT/360 basis divides the annual rate by 360 rather than 365, so each day earns a slightly larger slice. Hold a 5% ACT/360 quote for a full 365 days and it accrues 5.0694% as simple interest, or 5.1998% if it compounds daily, against 5.0000% and 5.1267% on ACT/365. The ratio between the two bases is 365 divided by 360, or 1.0139.

Short term US dollar instruments are usually quoted ACT/360 and sterling ACT/365, so the same printed number is not the same rate. The saving grace for consumers is that the advertised annual percentage yield is defined on a 365 day year, which removes the ambiguity from the figure you are actually shown.