A modern, responsive EMI (Equated Monthly Installment) calculator built with React and Material-UI. Calculate loan EMIs and view detailed amortization schedules.
🔗 Live Demo: https://manthan2812.github.io/emi-calculator/
- 🧮 Instant EMI calculations with real-time updates
- 📊 Monthly and yearly amortization schedules
- 🌓 Dark/Light theme support
- 📱 Responsive design for all devices
- React + Vite
- Material-UI (MUI)
- GitHub Pages
- Clone the repository:
git clone https://github.com/manthan2812/emi-calculator.git- Navigate to the project directory:
cd emi-calculator- Install dependencies:
npm install- Start the development server:
npm run dev- Open http://localhost:5173/emi-calculator/ to view it in your browser.
This project is deployed using GitHub Pages. To deploy your own version:
- Update
vite.config.jsto include your base URL:
export default defineConfig({
base: "/emi-calculator/", // Replace with your repo name
// ... other config
});- Install gh-pages:
npm install gh-pages --save-dev- Add deploy scripts to
package.json:
{
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
}
}- Deploy to GitHub Pages:
npm run deploy- Clone and install:
git clone https://github.com/manthan2812/emi-calculator.git
cd emi-calculator
npm install- Start development server:
npm run dev- Visit the EMI Calculator
- Enter your loan amount (principal)
- Adjust the interest rate and loan term
- View the calculated EMI and total amounts
- Explore the monthly/yearly amortization schedules
- Toggle between light and dark themes