跳到内容
🛠️ToolsShed

Rule of 72 Calculator

使用72法则计算投资翻倍所需时间。

72 法则是估计翻倍时间的简单方法:用 72 除以年利率。

翻倍时间

10.3

(72 法则估计)

精确 (复合): 10.24

Rate → Doubling Time
1%72.0
2%36.0
3%24.0
4%18.0
5%14.4
6%12.0
7%10.3
8%9.0
10%7.2
12%6.0

关于此工具

72法则是一个简单的数学捷径,可以帮助您估算在给定年收益率下,投资增值一倍需要多长时间。您无需使用复杂的对数公式,只需将72除以年利率或收益率,就能得出大约需要的年数。这个简洁的法则对于典型的投资收益表现出色,在投资者、财务规划师和学习复利增长的学生中广受欢迎。

使用本计算器,只需输入您的年收益率(以百分比表示),它就能立即显示您的资金增值一倍大约需要的年数。例如,如果您预期年收益率为8%,根据72法则,您的投资大约在9年内增值一倍。这对比较储蓄账户、投资组合、通货膨胀影响或贷款增长都很有用。该工具还可以反向使用:输入一个时间周期,即可发现在该周期内使资金增值一倍所需的年收益率。

72法则对5%至10%的收益率最为准确,但对广泛范围内的利率也能提供合理的估计。需要记住,这只是一个近似值,实际增值时间取决于收益复利频率(每日、每月、每年)和手续费或市场波动等现实因素。它仍然是个人财务中最实用的速算工具之一,让您无需计算器就能迅速做出明智的财务决策。

常见问题

代码实现

import math

def rule_of_72(rate: float) -> float:
    """Estimate years to double using Rule of 72."""
    if rate <= 0:
        raise ValueError("Rate must be positive")
    return 72 / rate

def exact_doubling_time(rate: float) -> float:
    """Exact years to double using logarithm formula."""
    if rate <= 0:
        raise ValueError("Rate must be positive")
    return math.log(2) / math.log(1 + rate / 100)

# Example
rate = 6  # 6% annual return
years_72 = rule_of_72(rate)
years_exact = exact_doubling_time(rate)

print(f"Rule of 72: {years_72:.1f} years")     # 12.0 years
print(f"Exact formula: {years_exact:.2f} years") # 11.90 years

# Table for common rates
print("\nRate | Rule of 72 | Exact")
for r in [2, 4, 6, 8, 10, 12]:
    print(f" {r:2d}% |  {rule_of_72(r):5.1f} yrs | {exact_doubling_time(r):.2f} yrs")

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.