M
MultiCalify
Guest
Most people meet the Rule of 72 in a finance blog or from a relative who likes to explain investing at dinner. Divide 72 by the annual return, and you get the number of years it takes to double your money. At 8%, that is 9 years. Simple, memorable, and mostly right.
"Mostly" is the interesting part. If you build anything that shows people projections (a savings widget, a retirement estimate, an "at this rate" tooltip), you need to know how far off the shortcut gets, and in which direction. I could not find a table I trusted, so I made one.
With annual compound interest, money grows by a factor of
For small
So why 72? Because 72 has many small divisors (1, 2, 3, 4, 6, 8, 9, 12), which makes mental math pleasant, and because it happens to be accurate in the range where most people's expected returns sit. The constant is a convenience pick, not a mathematical truth.
Here is the script. It computes the exact doubling time for each rate and compares it with three shortcuts: 72, 70, and
And what it prints (rounded):
Three things stand out.
72 is nearly perfect around 8%, and that is not an accident. The error crosses zero between 7% and 8%. From about 6% to 10% it stays within about 1% of the true value, so for long-run stock-market-style assumptions it is fine.
It overestimates at low rates and underestimates at high ones. At 1%, it says 72 years when the real answer is 69.7. At 24%, it says 3 years when the real answer is 3.2. If your product shows a "years to double" on a savings account paying 2%, the shortcut is about 3% long.
70 is the better pick below about 4%. It is basically exact at 2% and 0.5% off at 1%, then drifts the wrong way as rates rise. Nobody wants a rule where you switch constants, which is why 72 won on popularity.
Take $10,000 at 7% a year, compounded annually:
The exact doubling time at 7% is 10.245 years, which is why year 10 lands just under $20,000. The Rule of 72 says 10.29 years, off by about two weeks. That is more precision than anyone needs in a back-of-the-envelope estimate.
Now, the same $10,000 at 6% for 10 years, with different compounding frequencies, which is where I see the most confusion:
The gap between annual and continuous is about $313, or 1.7%. The rate on the label is the same, but the effective annual rate at monthly compounding is 6.1678%, and at daily it is 6.1831%. The Rule of 72 assumes annual compounding. If your user picks monthly compounding in your UI and you feed 72 ÷ 6 into the label, the years shown are slightly wrong.
If you are building anything user-facing, my advice after running these numbers:
None of this makes the Rule of 72 bad. It does one thing very well: it gives a person with no calculator a feel for how brutal or generous compounding is. Between 6% and 10% it is accurate to within about a percent. Outside that range, you now know which way it leans and by how much.
If you want to check a particular balance or rate, a free compound interest calculator will do the full calculation, including monthly or daily compounding and regular contributions. It is a good way to check your own code against another implementation.
Disclosure: I run MultiCalify, a free calculator site, and the link above points to it. This article is educational and is not financial advice.
"Mostly" is the interesting part. If you build anything that shows people projections (a savings widget, a retirement estimate, an "at this rate" tooltip), you need to know how far off the shortcut gets, and in which direction. I could not find a table I trusted, so I made one.
Where the number comes from.
With annual compound interest, money grows by a factor of
(1 + r) each year. It doubles when (1 + r)^t = 2, so:
Code:
t = ln(2) / ln(1 + r)
For small
r, ln(1 + r) is close to r, and ln(2) is about 0.693. So t ≈ 69.3 / r%. That is the "Rule of 69.3," and it is the more honest version for very low rates and for continuous compounding.So why 72? Because 72 has many small divisors (1, 2, 3, 4, 6, 8, 9, 12), which makes mental math pleasant, and because it happens to be accurate in the range where most people's expected returns sit. The constant is a convenience pick, not a mathematical truth.
The Experiment
Here is the script. It computes the exact doubling time for each rate and compares it with three shortcuts: 72, 70, and
69.3 + r/3. The last one is a known adjustment that keeps the error small across a wide range, and it lands almost exactly on 72 at 8%.
Code:
const exact = (r) => Math.log(2) / Math.log(1 + r / 100);
const rule72 = (r) => 72 / r;
const rule70 = (r) => 70 / r;
const adjusted = (r) => (69.3 + r / 3) / r;
for (const r of [1, 2, 4, 6, 7, 8, 9, 10, 12, 15, 18, 24, 36]) {
const e = exact(r);
const err = (x) => ((x / e - 1) * 100).toFixed(1) + "%";
console.log(r, e.toFixed(3), rule72(r).toFixed(3), err(rule72(r)), err(rule70(r)), err(adjusted(r)));
}
And what it prints (rounded):
| Rate | Exact years | Rule of 72 | Error of 72 | Error of 70 | Error of adjusted |
|---|---|---|---|---|---|
| 1% | 69.661 | 72.000 | +3.4% | +0.5% | −0.0% |
| 2% | 35.003 | 36.000 | +2.8% | −0.0% | −0.1% |
| 4% | 17.673 | 18.000 | +1.9% | −1.0% | −0.1% |
| 6% | 11.896 | 12.000 | +0.9% | −1.9% | −0.1% |
| 7% | 10.245 | 10.286 | +0.4% | −2.4% | −0.1% |
| 8% | 9.006 | 9.000 | −0.1% | −2.8% | −0.1% |
| 9% | 8.043 | 8.000 | −0.5% | −3.3% | −0.1% |
| 10% | 7.273 | 7.200 | −1.0% | −3.7% | −0.1% |
| 12% | 6.116 | 6.000 | −1.9% | −4.6% | −0.1% |
| 15% | 4.959 | 4.800 | −3.2% | −5.9% | −0.1% |
| 18% | 4.188 | 4.000 | −4.5% | −7.1% | −0.1% |
| 24% | 3.222 | 3.000 | −6.9% | −9.5% | −0.0% |
| 36% | 2.254 | 2.000 | −11.3% | −13.7% | +0.2% |
Three things stand out.
72 is nearly perfect around 8%, and that is not an accident. The error crosses zero between 7% and 8%. From about 6% to 10% it stays within about 1% of the true value, so for long-run stock-market-style assumptions it is fine.
It overestimates at low rates and underestimates at high ones. At 1%, it says 72 years when the real answer is 69.7. At 24%, it says 3 years when the real answer is 3.2. If your product shows a "years to double" on a savings account paying 2%, the shortcut is about 3% long.
70 is the better pick below about 4%. It is basically exact at 2% and 0.5% off at 1%, then drifts the wrong way as rates rise. Nobody wants a rule where you switch constants, which is why 72 won on popularity.
A worked example, to make it real.
Take $10,000 at 7% a year, compounded annually:
- After 10 years: $19,671.51
- After 20 years: $38,696.84
The exact doubling time at 7% is 10.245 years, which is why year 10 lands just under $20,000. The Rule of 72 says 10.29 years, off by about two weeks. That is more precision than anyone needs in a back-of-the-envelope estimate.
Now, the same $10,000 at 6% for 10 years, with different compounding frequencies, which is where I see the most confusion:
| Compounding | Balance after 10 years |
|---|---|
| Annual | $17,908.48 |
| Semi-annual | $18,061.11 |
| Quarterly | $18,140.18 |
| Monthly | $18,193.97 |
| Daily | $18,220.29 |
| Continuous | $18,221.19 |
The gap between annual and continuous is about $313, or 1.7%. The rate on the label is the same, but the effective annual rate at monthly compounding is 6.1678%, and at daily it is 6.1831%. The Rule of 72 assumes annual compounding. If your user picks monthly compounding in your UI and you feed 72 ÷ 6 into the label, the years shown are slightly wrong.
What I would do in a real product.
If you are building anything user-facing, my advice after running these numbers:
- Do not use the rule to produce a displayed number when you can compute the exact one. The exact formula is one line and costs nothing. Use the Rule of 72 in copy and tooltips, as a teaching device, never as the source of a figure the user will plan around.
- If you do show the shortcut, say what it is. "About 9 years" next to the exact 9.01 is fine. "Exactly 9 years" is not.
- Match the compounding to the rate. An "interest rate" on a loan and an "APY" on a savings product are different numbers. Convert before you compare.
- Round at the display layer only. If you carry already-rounded values through a chain of calculations, the error from the rounding compounds as well. I covered the float side of that in an earlier piece on money math.
- Test with a boring reference. For every formula, pick three or four inputs, compute them independently (a spreadsheet works), and keep them as unit tests. All of the numbers in this article came from a short script and were cross-checked in Python.
The rule is still useful.
None of this makes the Rule of 72 bad. It does one thing very well: it gives a person with no calculator a feel for how brutal or generous compounding is. Between 6% and 10% it is accurate to within about a percent. Outside that range, you now know which way it leans and by how much.
If you want to check a particular balance or rate, a free compound interest calculator will do the full calculation, including monthly or daily compounding and regular contributions. It is a good way to check your own code against another implementation.
Disclosure: I run MultiCalify, a free calculator site, and the link above points to it. This article is educational and is not financial advice.