Compound Interest Skill
Calculates compound interest for savings and investments showing growth over time with various compounding frequencies.
Usage
python3 -c "
P, r, n, t = 10000, 0.07, 12, 10
A = P * (1 + r/n)**(n*t)
print(f'Final: ${A:,.2f}, Growth: ${A-P:,.2f}')
"
Examples
- "How much will $10K grow in 10 years at 7%?" -> Calculates with monthly compounding
- "Compare monthly vs annual compounding" -> Shows difference between frequencies
- "How long to double my money?" -> Uses Rule of 72 and exact calculation
Guidelines
- Default to monthly compounding unless specified otherwise
- Show both the final amount and total interest earned
- Include inflation-adjusted values for long-term projections