EMI Calculator

Equated Monthly Installment (EMI) Calculator


Explanation

An equated monthly installment (EMI) is a fixed payment amount made by a borrower to a lender at a specified date each calendar month. Equated monthly installments are applied to both interest and principal each month so that the loan is paid off in full over a specified number of years. In the most common types of loans—such as real estate mortgages, auto loans, and student loans—the borrower makes fixed periodic payments to the lender over several years to retire the loan.
  • Inputs: The user inputs the loan amount, annual interest rate, and tenure.

  • Calculation: The EMI is calculated using the formula:

    EMI=Pr(1+r)n(1+r)n1EMI = \frac{P \cdot r \cdot (1 + r)^n}{(1 + r)^n - 1}
  • Validation: The code checks if inputs are valid numbers and positive values.

  • Result Display: The calculated EMI is displayed in the result div.

No Comment
Add Comment
comment url