Mortgage payment formula: \(M = P [\frac{r(1+r)^n}{(1+r)^n - 1}]\) where M is monthly payment, P is principal, r is interest rate, and n number of payments