Education Loan Calculator
Calculate your monthly education loan repayment based on principal, interest rate, and loan tenure.
Not calculated yet.
Loan Amount: ${formatCurrency(loanAmount)}
Interest Rate: ${(interestRate * 100 * 12).toFixed(1)}% per annum
Loan Tenure: ${loanTenure / 12} years
`; emiSteps += `Formulas:
EMI = (Loan Amount × Monthly Interest Rate × (1 + Monthly Interest Rate) ^ Tenure) / ((1 + Monthly Interest Rate) ^ Tenure – 1)
`; emiSteps += `Results:
Monthly EMI: ${formatCurrency(emi)}
`; if(document.getElementById(“calculationStepsEMI”).style.display===”block”){ document.getElementById(“calculationStepsEMI”).innerHTML = emiSteps; } } function resetCalculator(){ document.querySelectorAll(“#calculator input”).forEach(el => el.value = “”); emiSteps = “”; document.getElementById(“calculationStepsEMI”).innerHTML = “
Not calculated yet.
“; } function toggleEMISteps(){ const s = document.getElementById(“calculationStepsEMI”); const a = document.getElementById(“toggleArrowEMI”); if(s.style.display === “none” || s.style.display === “”){ s.style.display = “block”; a.style.transform = “rotate(180deg)”; s.innerHTML = emiSteps || “Not calculated yet.
“; } else { s.style.display = “none”; a.style.transform = “rotate(0deg)”; } } function formatCurrency(n) { return currencySymbol + n.toFixed(2) + ” ” + fixedCurrency; }