# Loan payment calculator

> Estimate the monthly payment on a loan from the amount, the annual rate and the term in years.

Enter a loan amount, an annual interest rate and a term to estimate the monthly payment.

Loan amount ($)
Annual interest rate (%)
Term (years)
Calculate

(function(){var f=document.getElementById("tool-form");if(!f)return;f.addEventListener("submit",function(ev){ev.preventDefault();var p=Number(document.getElementById('amount').value)||0;var r=(Number(document.getElementById('rate').value)||0)/100/12;var n=(Number(document.getElementById('years').value)||0)*12;var out;if(n
