The Claude Quant PlaybookDownload ebookDownload ebook

Rule of 72

Divide 72 by the annual return in percent and you get, very nearly, the number of years it takes to double your money. It works because compounding grows money exponentially.

Build a trading system with Claude.Download ebook

01The formula

the number of years it takes money to double
the annual return as a decimal, so 8% is 0.08 and 100r is 8
the natural logarithm
a handy number close to 100·ln 2 ≈ 69.3, nudged up to fit typical rates and to divide easily by 2, 3, 4, 6, 8, 9 and 12

02See it move

03Where it is used

04Why traders use it

Exponential growth is hard to feel. The rule turns any rate into a time you can picture, in a second and without a calculator.

05Worked example

At 8.0% a year the rule of 72 says money doubles in 9.00 years. The exact answer is 9.01 years: rule minus exact is just −0.01 years.

06How it is built

  1. Money doubles when .
  2. Take logs: , so .
  3. For small , , giving .
  4. Because is a little smaller than , a slightly larger numerator fits better at typical rates, and 72 divides neatly.

07The common mistake

Using it for very high rates. At 50% a year the rule says 1.4 years, while the exact answer is 1.7. For rates above about 20%, work it out properly.

08In Python and LaTeX

import numpy as np
r = 0.08
print('rule:', round(72 / (100 * r), 2), ' exact:', round(np.log(2) / np.log(1 + r), 2))  # 9.0 9.01
t_{\text{double}} \approx \frac{72}{100\,r} \qquad \text{exact: } t_{\text{double}} = \frac{\ln 2}{\ln(1 + r)}

09Where it fits

Rather not code the maths yourself? Describe your trading idea and let AI build the bot.

Build a bot with AgenKit

The worked example and the model run the same code, so every number matches. Models simplify markets on purpose. This is education, not financial advice.