Skip to content

Repository files navigation

Simple Interest Calculator

A simple web-based application that calculates Simple Interest using the principal amount, annual interest rate, and time period. This project is built using HTML, CSS, and JavaScript and provides an easy-to-use interface for performing financial calculations.

About The Project

The Simple Interest Calculator helps users quickly determine the interest earned on a principal amount over a specified period. It is designed as a beginner-friendly project to demonstrate the use of web technologies and basic JavaScript calculations.

Features

  • Calculate Simple Interest instantly
  • Clean and user-friendly interface
  • Responsive design
  • Numeric input fields for accurate data entry
  • Lightweight and easy to use
  • No external libraries required

Formula

The calculator uses the standard Simple Interest formula:

Simple Interest = (Principal × Rate × Time) / 100

Where:

  • Principal = Initial amount invested or borrowed
  • Rate = Annual interest rate (percentage)
  • Time = Duration in years

Technologies Used

  • HTML5
  • CSS3
  • JavaScript

Project Structure

simple-interest-calculator/
│
├── index.html
├── README.md
├── LICENSE
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
└── simple-interest.sh

Getting Started

Prerequisites

  • A modern web browser (Chrome, Firefox, Edge, Safari)

Installation

  1. Clone the repository:
git clone https://github.com/mohammedemtheyas/simple-interest-calculator.git
  1. Navigate to the project directory:
cd simple-interest-calculator
  1. Open index.html in your browser.

Usage

  1. Enter the Principal Amount.
  2. Enter the Rate of Interest.
  3. Enter the Time Period in Years.
  4. Click the Calculate button.
  5. View the calculated Simple Interest.

Example

Input

  • Principal Amount: 10000
  • Rate of Interest: 5
  • Time: 2 Years

Output

Simple Interest = 1000

Future Enhancements

  • Total Amount Calculator (Principal + Interest)
  • Compound Interest Calculator
  • Enhanced input validation
  • Improved mobile responsiveness
  • Better user interface design

Contributing

Contributions are welcome. Please read the CONTRIBUTING.md file for guidelines on submitting bug reports, enhancements, documentation improvements, and code contributions.

Code of Conduct

This project follows the guidelines outlined in CODE_OF_CONDUCT.md to ensure a welcoming and inclusive community.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Author

Mohammed Emtheyas

Created as part of a web development and GitHub learning project.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages