I have formula for finding monthly payment with four fields
var deno = (100 + Interest_rate_per_annum)/100; var pdeno = Math.pow(deno, Term_of_Loan); var loan_amount = (Monthly_payment * Term_of_Loan * 12) / pdeno;