๐ป A simple Python tool to calculate compound investment growth with optional monthly contributions and yearly breakdown.
- Calculates future value of investments with compound interest.
- Option for monthly contributions.
- Displays yearly growth breakdown.
- Handles invalid inputs gracefully.
For monthly contributions: [ FV = P(1 + r/n)^{nt} + PMT \left(\frac{(1 + r/n)^{nt} - 1}{r/n}\right) ]
Where:
- P = Initial investment
- PMT = Monthly contribution
- r = Annual interest rate (8%)
- t = Number of years
- n = 12 (months per year)
=== INVESTMENT CALCULATOR === What's your initial investment: $1000 In how many years do you want to reach your goal: 10 Do you prefer monthly contribution? (yes/no): yes Great! How much per month: $50
Final value after 10 years: $9,153.82
Made with ๐ป and โ by charmant07