How Mortgage Calculations Work
Elena Marsh
Financial writer · 6 min read

A mortgage payment is calculated with the amortization formula, which spreads your loan balance evenly across every month of the term while charging interest on the remaining balance.
The formula is M = P · r · (1 + r)^n / ((1 + r)^n − 1), where P is the principal, r is the monthly interest rate, and n is the number of monthly payments. Because the balance is highest at the start, most of your early payments go toward interest rather than principal.
Over time the balance falls, so a larger share of each fixed payment chips away at the principal. This is why making extra payments early in the loan saves dramatically more interest than the same payments made years later.
Two levers matter most: the interest rate and the term. A lower rate reduces the interest portion of every payment, while a shorter term raises the monthly amount but slashes total interest paid over the life of the loan.