M = P * [r(1+r)^n] / [(1+r)^n - 1], where M is monthly payment, P is principal (loan amount minus down payment), r is monthly interest rate (annual rate / 12 / 100), n is number of months.