Skip to content

pradeepkumarverma1/simple-compound-interest-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple and Compound Interest Calculator

This is a Simple and Compound Interest Calculator built with HTML, CSS, and JavaScript.

Live Preview

https://pradeepkumarverma1.github.io/simple-compound-interest-calculator/

Features

  • Calculates simple or Compound interest based on user input.
  • Change theme colors

Theme Colors

Simple and compound interest calc themes

Simple Interest

The Interest that is charged on the Principal amount every year is called Simple Interest.

The Formula to calculate Simple Interest is:

SI = (P x T x R) / 100

Here:

  • ( P ) is the Principal amount,
  • ( T ) is the time (No. of years),
  • ( R ) is the Rate of Interest (in %).

Simple Interest Calc Screenshot

Screenshot (560)

Compound Interest

The Interest that is charged on the Principal amount as well as on the Previous Interest is called Compound Interest.

The Formula to calculate Compound Interest is:

CI = A - P

Here:

  • ( A ) is the Amount,
  • ( P ) is the Principal.

To calculate the Amount, the formula is:

A = P x [1 + R/100] ^ T

Where:

  • ( P ) is the Principal amount,
  • ( R ) is the Rate of Interest (in %),
  • ( T ) is the time (No. of years).

Compound Interest Calc Screenshot

Screenshot (561)

Getting Started

Prerequisites

  • Web browser (Chrome, Firefox, Safari, etc.)

Installation

  1. Clone the repository:

    git clone https://github.com/pradeepkumarverma1/simple-compound-interest-calculator.git