Loan amount = home price − down payment; monthly rate = annual rate ÷ 12; number of payments = loan term in years × 12.
Principal & interest (fixed-rate) = loan × r × (1 + r)^n ÷ ((1 + r)^n − 1), where r is the monthly rate and n the number of payments; at a 0% rate it is loan ÷ n.
Monthly total = principal & interest + property tax (monthly) + HOA (monthly) + homeowners insurance (yearly) ÷ 12. PMI is not included; results are rounded to the dollar.