Skip to content

sovenor/compound-inflation-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compound Inflation Calculator

A web-based calculator that helps you understand how much your salary needs to increase to maintain your purchasing power over time due to compound inflation.

🔗 Live Demo: https://compoundinflationcalculator.com/

Overview

Many people know about compound interest, but few understand compound inflation. This calculator demonstrates how inflation compounds over time and shows exactly what your salary needs to be in the future to maintain the same purchasing power you have today.

Features

  • Simple Interface: Clean, user-friendly design with three input fields
  • Real-time Calculation: Instant results as you input your data
  • Responsive Design: Works on desktop and mobile devices
  • Professional Styling: Modern dark theme with orange accents
  • Error Handling: Validates user inputs and provides helpful error messages

How to Use

  1. Enter your Current Salary (e.g., 55000)
  2. Enter the Inflation Rate as a percentage (e.g., 8.5 for 8.5%)
  3. Enter the number of Years to calculate for (e.g., 5)
  4. Click CALCULATE to see your results

The calculator will show you exactly how much your salary needs to increase to maintain your current purchasing power.

Formula

The calculator uses the compound inflation formula:

New Salary = Current Salary × (1 + Inflation Rate / 100)^Years

Technical Details

  • Frontend: HTML5, CSS3, JavaScript
  • Styling: Custom CSS with responsive design
  • Dependencies: None (vanilla JavaScript)
  • Browser Support: All modern browsers

File Structure

compound-inflation-calculator/
├── index.html                 # Main HTML file
├── css/
│   └── style.css             # Stylesheet
├── jquery/
│   └── compound-inflation-calculator.js  # JavaScript logic
├── img/
│   └── favicons/             # Favicon files for all devices
└── README.md                 # This file

Local Development

  1. Clone this repository:

    git clone https://github.com/sovenor/compound-inflation-calculator.git
  2. Navigate to the project directory:

    cd compound-inflation-calculator
  3. Open index.html in your web browser or serve it using a local web server.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This calculator was created to help people understand the real impact of inflation on their purchasing power over time. Understanding compound inflation is crucial for financial planning and salary negotiations.


Live Calculator: https://compoundinflationcalculator.com/

About

A web-based calculator that helps you understand how much your salary needs to increase to maintain your purchasing power over time due to compound inflation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors