Repayment formula
Monthly payment = P × r(1 + r)n ÷ ((1 + r)n − 1)
P is the mortgage principal, r is the annual interest rate divided by 12, and n is the number of monthly payments. At a 0% rate, the model divides the principal evenly across the term. Interest-only is estimated as principal × monthly rate, with the principal still outstanding at term end.