Skip to content

๐Ÿ’ผ Compound Interest Calculator is a sleek, user-friendly web app that instantly shows how your savings grow over time using key inputs like principal, interest rate, duration, and compounding frequency.

License

Notifications You must be signed in to change notification settings

AFJGitHubDev24/Piggy-Bank-Compound-Interest-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ–๐Ÿ’ผ๐ŸคตPiggy-Bank-Compound-Interest-Calculator


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.

๐Ÿš€ Features

๐Ÿ’ฐ 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.

โš ๏ธ Error Handling: Graceful feedback for invalid or missing inputs, ensuring a robust user experience.

๐ŸŽจ Custom Styling: Includes a polished stylesheet with a vibrant color palette and interactive elements.

๐Ÿ”ง Tech Stack

  1. Backend: Python + Flask

  2. Frontend: HTML5, CSS3 (with Google Fonts & optional Font Awesome)

  3. Hosting: Suitable for deployment on platforms like Heroku, Render, or any Flask-compatible environment

๐Ÿ“ How to Use

  1. Clone the repository: git clone https://github.com/yourusername/compound-interest-calculator.git cd compound-interest-calculator

  2. (Optional) Set up a virtual environment: python -m venv venv source venv/bin/activate # or venv\Scripts\activate on Windows

  3. Install dependencies: pip install -r requirements.txt

  4. Run the app: python app.py

  5. App link: http://127.0.0.1:5000

๐Ÿ“ˆ Formula Used

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

๐Ÿ“‚ Project Structure

compound-interest-calculator

  1. static -> style.css # CSS styles
  2. templates -> index.html # HTML frontend
  3. app.py # Flask app
  4. requirements.txt # Python dependencies
  5. README.md # Project documentation

๐Ÿชง Demonstration

PiggyBank.CIC.mp4

๐ŸŒŸ Future Improvements

๐Ÿ“Š Add interactive charts using Chart.js or Plotly

๐ŸŒ’ Add dark mode toggle

๐Ÿ“ฑ Improve mobile responsiveness

๐Ÿ” Add session storage for saving results

๐Ÿชช LICENSE

This project is licensed under MIT License.

๐Ÿง‘โ€๐Ÿ’ป Author

Created by Alen Francis Joseph (@AFJGitHubDev24) โ€” passionate about building tools that are helpful for the mankind.

Contact

  1. Email ID: alenfrancis957@gmail.com
  2. Phone number: +91 9605197307
  3. GitHub account username: AFJGitHubDev24
  4. Instagram: https://www.instagram.com/fj.alen/
  5. LinkedIn: www.linkedin.com/in/alen-francis-joseph-185822277
  6. Facebook: https://www.facebook.com/profile.php?id=100089704713351

About

๐Ÿ’ผ Compound Interest Calculator is a sleek, user-friendly web app that instantly shows how your savings grow over time using key inputs like principal, interest rate, duration, and compounding frequency.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published