Algebra & functions · Compound interest

Compound interest

Compound interest is interest on interest: each payment joins the balance and earns interest from then on. Keep the nominal annual rate fixed and increase the number of payments to approach continuous compounding.

01

Compound interest in this visualization

Compound interest is interest paid on interest: each payment is added to the balance and earns interest from then on. At an annual rate rr paid nn times a year, each payment adds r/nr/n of the balance, so after tt years a principal PP has grown to P (1+r/n)⌊nt⌋P\,(1 + r/n)^{\lfloor nt \rfloor}, where ⌊nt⌋\lfloor nt \rfloor is the number of payments made so far (just P (1+r/n)ntP\,(1 + r/n)^{nt} at the payment times). Compounding per period is also written y=a(1+r)xy = a(1 + r)^{x}, with aa the principal, rr the rate per period and xx the number of periods; here the rate per period is r/nr/n and a year has nn periods. This page follows a principal of 1 for one year and lets nn run from 1 to a million.

The yellow staircase is the balance: flat between payments, a step up at each one. The red ticks along the bottom mark the payment times, 1/n of a year apart. At the end of the year the staircase has reached

Balance after one year
(1+rn)n.\left(1 + \frac{r}{n}\right)^{n}.

As nn grows the steps get smaller and more frequent, and the year-end balance increases — but it does not grow without bound. It approaches the blue curve, continuous compounding:

The limit
lim⁡n→∞(1+rn)n=er,lim⁡n→∞(1+1n)n=e=2.718281828…\lim_{n \to \infty} \left(1 + \frac{r}{n}\right)^{n} = e^{r}, \qquad \lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^{n} = e = 2.718281828\ldots

At r=100%r = 100\% the limit is the number ee itself; this is one of its standard definitions. The blue curve is erte^{rt}, the balance when interest is credited continuously.

02

Things to notice

  • The year-end balance always rises with nn and always stays below ere^{r}. For large nn the gap is about err2/(2n)e^{r} r^{2} / (2n), so ten times as many payments leave about a tenth of the gap (not at first: from 1 to 10 payments at 100%, it shrinks to 0.17 of itself).
  • Most of the gain comes early. At 100%, yearly to monthly adds 0.61; monthly to daily only 0.10; daily to every minute 0.004.
  • At ordinary rates frequency matters little: at 5%, yearly gives 1.05 and continuous compounding 1.0513.
  • The window that opens at large nn magnifies the last few payments by the same factor in both directions, so the steps and the gap to ere^{r} keep their true proportions.
03

Reading it correctly

  • rr is the nominal annual rate. The rate actually earned in a year, the effective annual rate (APY), is (1+r/n)n−1(1 + r/n)^{n} - 1, which is higher whenever n>1n > 1.
  • Daily, hourly and minute payments assume a 365-day year (n=365n = 365, 8760, 525 600). Continuous compounding is a limit, not a very large nn: the page states ere^{r} exactly instead of reading it off the largest nn.
04

Where it comes from and where it is used

  • Jacob Bernoulli studied this question in 1683: how much does 1 earn at 100% if interest is compounded more and more often? He showed that the answer settles at a limit between 2 and 3: the number now called ee.
  • Growth in proportion to the current amount, compounded continuously, is ekte^{kt}: continuous compounding in finance, and the same exponential law in population growth and radioactive decay.
05

Controls

  • The Rate knob and keys set rr. Under Compounding, the keys pick a named frequency; the fader sets the time between payments, 1/n1/n, on a log scale, so pushing it right means more payments. Click a value to type it.
  • n → ∞ moves nn up to the next power of ten, then through each power of ten to a million, where it stops — still short of the limit. Compare frequencies lists the year-end balance for each. Presentation mode opens a full-screen view for projectors (Space runs n → ∞, ← → divide or multiply n by 10, H hides ere^{r}).
06

Related