Amortizing loan — monthly payment
For an amortizing loan, the monthly payment is M = P × i / (1 − (1+i)^−n), where P is the principal, i is the monthly rate (annual rate ÷ 12) and n the number of months. The payment stays constant — early on, most goes to interest; later, principal dominates.