Skip to content

IDGoodness/React-Compound-Interest-Calculator

Repository files navigation

Compound Interest Calculator

Description

This project is a web-based compound interest calculator built with React and Vite. It allows users to calculate compound interest based on principal amount, interest rate, and time period. The calculator provides both a quick result summary and a detailed yearly breakdown of the investment growth.

Features

  • Input fields for principal amount, interest rate, and time period
  • Option to select time period in days, months, or years
  • Calculation of total amount and compound interest earned
  • Detailed yearly breakdown of investment growth
  • Responsive design for various screen sizes

Technologies Used

  • React
  • Vite
  • Bootstrap 5
  • React-Bootstrap

Installation

To run this project locally:

  1. Clone the repository using git clone https://github.com/IDGoodness/React-Compound-Interest-Calculator.git
  2. Navigate to the project directory using cd React-Compound-Interest-Calculator
  3. Install dependencies using npm install or yarn install
  4. Start the development server using npm run dev or yarn dev
  5. Open your web browser and navigate to http://localhost:5173
  6. You can now interact with the compound interest calculator
  7. To build the project for production, use npm run build or `yarn build

Usage

  1. Enter the principal amount
  2. Input the interest rate (as a percentage)
  3. Specify the time period and select the unit (days, months, or years)
  4. Click 'Calculate' to see the results
  5. View the total amount and compound interest earned
  6. Scroll down to see a detailed yearly breakdown of your investment growth

Contributing

Contributions to improve the calculator are welcome. Please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Goodness Adewuyi - adewuyigoodness1@gmail.com Portfolio Website: https://adewuyiportfolio.netlify.app

Project Link: https://github.com/IDGoodness/React-Compound-Interest-Calculator

About

A react app that calculates compound interest and also shows a detailed calculation for the investment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published