Continuous compounding
Compounding more often adds a little more each time, but the gain levels off. In the limit of compounding every instant, growth becomes .
01The formula
- the annual rate as a decimal
- how many times a year interest is added
- the number of years
- Euler's number, about 2.71828
02See it move
03Where it is used
- Options deskUses continuously compounded rates everywhere, as in Black–Scholes, where a strike paid in years is worth today.
- Quant researcherWorks with log returns, which are continuously compounded returns, because they add up over time.
- Execution traderConverts between quoted rates (annual, monthly, daily compounding) to compare funding costs on the same basis.
04Why traders use it
The exponential is the natural language of growth: rates add, logs turn products into sums, and derivatives are simple. Most pricing models assume continuous compounding.
05Worked example
$100 at 8.0% for 10 years grows to $215.89 with yearly compounding, $221.96 when compounded 12 times a year, and $222.55 with continuous compounding. A continuous rate of 8.0% is the same as an annual rate of 8.329%.
06How it is built
- Compounding times a year at rate adds each period, so one year multiplies money by .
- Take logs: . For large , , so the log tends to .
- So one year multiplies money by , and years by .
- The equivalent annual rate is , a little more than .
07The common mistake
Mixing rate conventions. A 5% continuous rate is not the same as a 5% annual rate; convert with before comparing.
08In Python and LaTeX
import numpy as np r, m, T = 0.08, 12, 10 print(round(100 * np.exp(r * T), 2), round(100 * (1 + r / m) ** (m * T), 2), round(100 * (1 + r) ** T, 2)) # 222.55 221.96 215.89
\lim_{m \to \infty} \Big(1 + \frac{r}{m}\Big)^{mT} = e^{rT}09Where it fits
Rather not code the maths yourself? Describe your trading idea and let AI build the bot.
Build a bot with AgenKitThe worked example and the model run the same code, so every number matches. Models simplify markets on purpose. This is education, not financial advice.