Money Consolidation Loan Calculator
Calculation Steps
Total Debt: $${totalDebt.toFixed(2)}
Interest Rate: ${(interestRate * 100 * 12).toFixed(2)}%
Loan Term: ${loanTerm / 12} years
Formulas:
Monthly Payment = (Total Debt × Monthly Interest Rate) ÷ (1 – (1 + Monthly Interest Rate)^(-Loan Term))
Total Paid = Monthly Payment × Loan Term
Results:
Monthly Payment: $${monthlyPayment.toFixed(2)}
Total Paid Over the Term: $${totalPaid.toFixed(2)}
`; document.getElementById(“steps”).innerHTML = steps; document.getElementById(“calculationSteps”).style.display = “block”; } function resetForm() { document.getElementById(“consolidation-loan-calculator-form”).reset(); document.getElementById(“monthlyPayment”).value = ”; document.getElementById(“totalPaid”).value = ”; document.getElementById(“calculationSteps”).style.display = “none”; }