Rule of 72 (years to double money)
rule_of_72Use when a user asks how long it takes to double money ("how long to double my money at 8%?") or what return doubles it in a number of years. How long money takes to double at a yearly rate (send annual_rate), or the rate needed to double in a number of years (send years). Gives the Rule of 72 estimate and the exact figure. Example: at 8% money doubles in about 9 years.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Years to double, to get the rate needed. | |
| annual_rate | No | Yearly return in percent, e.g. 8. |