# Continuously Compounding Interest

How to calculate the continuously compounded interest rate, which is equivalent to a given (nominal) annual interest rate?

I’ve found the above hard to google (maybe these are not the correct finance terms), so I’ve decided to add my own entry on the subject. In chase you just want the answer, here it is:

r_c = \log{\left(1 + r_a\right)}

To find out why this is true, and how it would work for different compounding periods, read on.

The formula for compound interest (that you find on the web) is:

W_t = W_0\,\left(1 + \frac{r}{n}\right)^{nt}

where W_0$W_0$ is the initial wealth, W_t$W_t$ is the wealth after t$t$ years, r$r$ is the nominal annual interest rate, and n$n$ is the number of compounding periods per year.

As we vary the number of compounding periods, we notice that we get a higher return as the number goes up. Note that this is the case even though we divide the interest rate r$r$ by the number of compounding periods n$n$.

Since we’ve noticed that we get more money as we increase the number of compounding periods, we might be interested in what happens when we grant ourselves infinitely many compounding periods. Contrary to what you might think, we don’t get infinite money.

We can figure it out by letting n$n$ approach infinity.

W_t = \lim_{n \to \infty} W_0 \left(1 + \frac{r}{n}\right)^{nt}

If we set m \coloneqq \frac{n}{r}$m \coloneqq \frac{n}{r}$, we get

\begin{aligned}
W_t &= \lim_{m \to \infty} W_0 \left(1 + \frac{1}{m}\right)^{mrt} \\[1em]
&= W_0\left[\lim_{m \to \infty} \left(1 + \frac{1}{m}\right)^m\right]^{rt}
\end{aligned}

Since we know that \left(1 + \frac{1}{n}\right)^n$\left(1 + \frac{1}{n}\right)^n$ converges to e$e$, we get

W_t = W_0\,e^{rt}

This corresponds to the purple line in the chart above. As you can see, it results in the highest growth for the given interest rate.

Now, we might be interested in the rate, which when compounded continuously, would result in the same growth as annual compounding, but smoothly distributed throughout the year. In the graph, this would correspond to a continuous line that touches every left corner of the annual line (green).

The continuously compounded rate r_c$r_c$ for this curve would be slightly lower than the corresponding annual interest rate r_a$r_a$. But by how much?

We already have the formulas for discrete and periodic compounding, so we can equate them and solve for r_c$r_c$:

\begin{aligned}
W_0\,e^{r_c t}  &= W_0\left(1 + \frac{r_a}{n}\right)^{nt}    \\[1em]
\log{e^{r_c t}} &= \log{\left(1 + \frac{r_a}{n}\right)^{nt}} \\[1em]
r_c t           &= nt\,\log{\left(1 + \frac{r_a}{n}\right)}  \\[1em]
r_c             &= n \,\log{\left(1 + \frac{r_a}{n}\right)}
\end{aligned}

Since n = 1$n = 1$ when compounding once per year, we get

r_c = \log{\left(1 + r_a\right)}

which is equal to the statement in the introduction.

Conversely, we can derive a formula to calculate nominal interest rates for different compounding periods, given the continuously compounded interest rate:

r_a = \frac{\sqrt[n]{e^{r_c} - 1}}{n}

or in the case of n = 1$n = 1$,

r_a = e^{r_c} - 1