The Compound Interest Calculator is a modern, responsive web application that helps users visualize the long-term growth of their savings and investments. Built using Python (Flask) for the backend and HTML/CSS for the frontend, this project provides a simple yet powerful tool for calculating compound interest based on user-provided financial inputs.
๐ฐ Instant Calculations: Get real-time compound interest results using standard inputs like principal, interest rate, duration, and compounding frequency.
๐ Flexible Frequency Options: Choose from annual, monthly, weekly, daily, or custom compounding intervals via a user-friendly dropdown.
๐งฎ Clean, Modern Interface: Responsive design with smooth animations and intuitive form handling.
๐จ Custom Styling: Includes a polished stylesheet with a vibrant color palette and interactive elements.
-
Backend: Python + Flask
-
Frontend: HTML5, CSS3 (with Google Fonts & optional Font Awesome)
-
Hosting: Suitable for deployment on platforms like Heroku, Render, or any Flask-compatible environment
-
Clone the repository: git clone https://github.com/yourusername/compound-interest-calculator.git cd compound-interest-calculator
-
(Optional) Set up a virtual environment: python -m venv venv source venv/bin/activate # or venv\Scripts\activate on Windows
-
Install dependencies: pip install -r requirements.txt
-
Run the app: python app.py
-
App link: http://127.0.0.1:5000
The calculator uses the standard compound interest formula:
A = P(1+r/n)^(nt)
Where:
A = final amount
P = principal amount
r = annual interest rate (decimal)
n = number of compounding periods per year
t = number of years
compound-interest-calculator
- static -> style.css # CSS styles
- templates -> index.html # HTML frontend
- app.py # Flask app
- requirements.txt # Python dependencies
- README.md # Project documentation
PiggyBank.CIC.mp4
๐ Add interactive charts using Chart.js or Plotly
๐ Add dark mode toggle
๐ฑ Improve mobile responsiveness
๐ Add session storage for saving results
This project is licensed under MIT License.
Created by Alen Francis Joseph (@AFJGitHubDev24) โ passionate about building tools that are helpful for the mankind.
- Email ID: alenfrancis957@gmail.com
- Phone number: +91 9605197307
- GitHub account username: AFJGitHubDev24
- Instagram: https://www.instagram.com/fj.alen/
- LinkedIn: www.linkedin.com/in/alen-francis-joseph-185822277
- Facebook: https://www.facebook.com/profile.php?id=100089704713351