The "Rule of 72" is a simplified way to determine how long an investment will take to double, given a fixed annual rate of interest. By dividing 72 by the annual rate of return, investors can get a rough estimate of how many years it will take for the initial investment to duplicate itself.
For example, the rule of 72 states that $1 invested at 10% would take 7.2 years ((72/10) = 7.2) to turn into $2. In reality, a 10% investment will take 7.3 years to double ((1.10^7.3 = 2).
When dealing with low rates of return, the Rule of 72 is fairly accurate. This chart compares the numbers given by the rule of 72 and the actual number of years it takes an investment to double.
Rate of Return  Rule of 72  Actual # of Years  Difference (#) of Years 
2%  36.0  35  1.0 
3%  24.0  23.45  0.6 
5%  14.4  14.21  0.2 
7%  10.3  10.24  0.0 
9%  8.0  8.04  0.0 
12%  6.0  6.12  0.1 
25%  2.9  3.11  0.2 
50%  1.4  1.71  0.3 
72%  1.0  1.28  0.3 
100%  0.7  1  0.3 
Notice that, although it gives a quick rough estimate, the rule of 72 gets less precise as rates of return become higher.
The Rule of 72 and Natural Logs
To understand how the rule of 72 allows you to estimate compounding periods, you have to understand natural logarithms. In mathematics, the logarithm is the opposite concept of a power; for example, the opposite of 10³ is log base 10 of 1000.
The rule of 72 uses the natural log, sometimes called the inverse of e.
where ln (base e) = 1
and reverse is e^{1} = 2.718281828.
The natural logarithm can be generally understood as the amount of time needed to reach a certain level of growth with continuous compounding.
A time value of money (TVM) formula is normally written as: FV = PV x (1 + interest rate)^{number of time periods}
To see how long it will take an investment to double, you can state the future value as 2 and the present value as 1.
2 = 1 x (1 + interest rate)^{number of time periods}
Simplify, and you get 2 = (1 + interest rate)^{number of time periods}
To remove the exponent on the righthand side of the equation, take the natural log of each side: ln(2) = number of time periods x ln(1 + interest rate). This can be simplified again because the natural log of (1 + interest rate) equals the interest rate as the rate gets continuously closer to zero.
In other words, you are left with: ln(2) = interest rate x number of time periods. The natural log of 2 is equal to 0.693 and, after dividing both sides by the interest rate, you get: 0.693 / interest rate = number of time periods.
If you multiply the numerator and denominator on the left hand side by 100, you can express each as a percentage. This makes: 69.3 / interest rate percent = number of time periods.
How to Adjust the Rule of 72 for Higher Accuracy?
The rule of 72 can be made more accurate by adjusting it back to more closely resembling the compound interest formula – effectively transforming the rule of 72 into the rule of 69.3.
With the aid of a calculator, there isn't really any reason to substitute 72 in for 69.3. In fact, many investors prefer to use the rule of 69 rather than the rule of 72. For maximum accuracy – especially for continuous compounding interest rate instruments – use the rule of 69.3.
The number 72 has many convenient factors, including 2, 3, 4, 6 and 9. This makes it easier to use the rule of 72 for a close approximation of compounding periods.
How to Calculate the Rule of 72 Using Matlab?
The calculation of the rule of 72 in Matlab involves running a simple command of "years = 72/return", where the variable "return" is the rate of return on investment and "years" is the result for the rule of 72. The rule of 72 can be also used to determine how long it takes for money to halve in value for a given rate of inflation. For example, if the rate of inflation is 4%, a command "years = 72/inflation", where variable "inflation" is defined as "inflation = 4", produces 18 years.

What is the difference between the rule of 70 and the rule of 72?
Find out more about the rule of 70 and the rule of 72, what the two rules measure and the main difference between them. Read Answer >> 
How to calculate compound loan interest in Excel?
Find out about compound interest and how to use the compounding interest formula in Microsoft Excel to calculate the compound ... Read Answer >> 
What formula calculates interest on interest?
Find out about compounding interest, what it measures, and how to calculate the amount of compound interest accrued using ... Read Answer >>

Investing
Continuous compound interest
Different frequency in compound interest results in different returns. Check out how continuous compounding accelerates your return. 
Insights
The DOL Fiduciary Rule Explained
The Department of Labor (DOL) fiduciary rule expanded the “investment advice fiduciary” definition under the Employee Retirement Income Security Act of 1974 (ERISA), but was vacated by a Federal ... 
Financial Advisor
How Trump Could Repeal, Soften Fiduciary Rule
Donald Trump has threatened to repeal the new fiduciary rule. Here’s what he could do if he wants to kill the rule in its present form. 
Managing Wealth
APR and APY: Why Your Bank Hopes You Can't Tell the Difference
Do you know the difference between Annual Percentage Rate and Annual Percentage Yield? Check out how they can affect your own account balance. 
Financial Advisor
What Was Rule 48?
Deleted in July 2016, Rule 48 was a tool used by stock market operators to expedite trading in the opening hour during periods of extreme volatility. 
Investing
The Uptick Rule: Does It Keep Bear Markets Ticking?
This rule prevents traders from driving stocks down, but its effect on market volatility is debatable. 
Personal Finance
What Does the Fiduciary Rule Have to Do With Food Inspectors?
Regardless of what happens to the DOL Fiduciary Rule, investors can change the industry standard. 
Insights
The Taylor Rule Could Put Fed on Autopilot
Can monetary policy be set via a mathematical formula alone? 
Financial Advisor
How Trump Could Let the Fiduciary Rule Die on the Vine
If Donald Trump keeps his promise to repeal the fiduciary rule his administration could do so by not defending it against pending lawsuits. 
Investing
It's Time to ReExamine the Fees You're Paying
It's simple: The lower your costs, the greater your share of an investment’s return. Here's why it's time to reevaluate what you pay your advisor.

Rule Of 70
The rule of 70 is a means of estimating the number of years it ... 
Rule Of 18
Rule of 18 allegedly foretells if stocks will rise or fall based ... 
Compound Interest
Compound interest is interest calculated on the initial principal ... 
Continuous Compounding
Continuous compounding is the process of calculating interest ... 
Taylor's Rule
Taylor's Rule is a guideline for manipulating interest rates ... 
Compounding
Compounding is the process in which an asset's earnings, from ...