How Mortgage Payments Are Calculated

Step-by-step explanation of the mortgage payment formula, amortization schedules, and what drives your monthly bill.

Mortgage5 min read
Editorial Team

What the fixed-rate formula calculates

For a fully amortizing, fixed-rate mortgage with equal monthly payments, the formula calculates principal and interest, not every cost of owning a home. It assumes a constant rate, regular payments and no extra principal payments. It does not describe an interest-only period, an adjustable-rate reset or a balloon payment.

Formula and variables

M = P × r ÷ [1 − (1 + r)⁻ⁿ], equivalently P × r × (1 + r)ⁿ ÷ [(1 + r)ⁿ − 1].

  • M: monthly principal-and-interest payment, in dollars.
  • P: starting loan principal, not the home's purchase price if you make a down payment.
  • r: monthly interest rate expressed as a decimal. Divide the annual percentage by 100, then by 12.
  • n: total monthly payments, equal to years × 12.

For a 0% rate, use M = P ÷ n rather than dividing by the formula's zero denominator. Use the loan's contract interest rate, not APR, in this calculation; APR incorporates certain additional borrowing costs.

Worked example: $300,000 at 7% for 30 years

This hypothetical loan uses an annual fixed interest rate of 7%, a 30-year term and monthly payments. The rate is an illustration, not a current offer.

  1. P = $300,000.
  2. r = 7 ÷ 100 ÷ 12 = 0.005833333….
  3. n = 30 × 12 = 360.
  4. (1 + r)³⁶⁰ ≈ 8.116497475.
  5. M = $300,000 × 0.005833333… ÷ [1 − (1.005833333…)⁻³⁶⁰] ≈ $1,995.907486.
  6. Rounded monthly principal and interest: $1,995.91.

Keep full precision until the final step. Over 360 payments, the unrounded calculation gives total principal and interest of $718,526.69, including $418,526.69 interest. Actual servicing rounds amounts to cents and may adjust the final payment slightly.

How each payment changes the balance

Monthly interest equals the opening balance × r. Principal repaid equals M minus that interest. The next balance equals the opening balance minus principal repaid.

For month one, interest is $300,000 × (0.07 ÷ 12) = $1,750.00. Principal repaid is approximately $245.91, leaving $299,754.09.

Payment numberPrincipal and interestInterest portionPrincipal portionBalance after payment
1$1,995.91$1,750.00$245.91$299,754.09
12$1,995.91$1,733.75$262.15$296,952.57
180$1,995.91$1,299.39$696.51$222,056.60
360$1,995.91$11.58$1,984.33$0.00

Each displayed value is rounded independently from an unrounded amortization schedule; rounded columns may differ by one cent when added. Interest declines as principal is repaid, even though the scheduled principal-and-interest payment stays constant.

Build the full housing budget

The CFPB monthly-payment explanation distinguishes principal and interest from the total payment, which can also include taxes and insurance.

CostIncluded in the formula?What to check
Principal and interestYesLoan amount, contract rate and term
Property taxesNoLocal assessment and whether the lender collects escrow
Homeowners insuranceNoActual policy quote and coverage
Mortgage insuranceNoWhether the loan requires it and its charge
HOA duesNoAssociation fees, assessments and payment schedule
Maintenance and utilitiesNoA separate household budget, not loan amortization
Closing costsNoUpfront charges; financed charges can increase P

For illustration, adding $350/month in taxes, $150 insurance, $100 mortgage insurance and $75 HOA dues to $1,995.91 gives $2,670.91/month, before maintenance and utilities. These are hypothetical allowances, not standard fees. If some amounts are already included in an escrow-inclusive quote, do not add them twice. A fixed interest rate does not freeze taxes, insurance or HOA charges.

Compare a shorter term on the same basis

At the same hypothetical $300,000 principal and 7% rate, a 15-year term produces approximately $2,696.48/month in principal and interest and $185,367.27 total interest. Compared with the 30-year loan, that is approximately $700.58 more per month and $233,159.43 less total interest, using unrounded payments before rounding the differences.

Actual offers may quote different rates and fees for different terms. Compare those offers separately rather than assuming the same rate is available. Extra payments change the schedule; ask how the servicer applies them and check the loan terms for any prepayment restrictions.

Check your own estimate

Enter the loan amount, annual contract rate and term in the Mortgage Calculator. Then inspect which taxes, insurance and other charges its displayed total includes. Compare the same principal-and-interest figure with the lender's Loan Estimate; a difference in a full monthly quote may reflect escrow or insurance rather than an error in the formula.

The calculation helps you understand the bill. It does not guarantee approval, a particular rate or that the payment fits your household budget.

Frequently asked questions

Why is most of my early payment interest?
Monthly interest is based on the remaining principal. In this guide's example, the first month's $1,750 interest leaves about $245.91 of the payment for principal.
Does paying extra each month save money?
Extra principal payments can reduce future interest and shorten repayment if properly applied. The savings depend on amount and timing; check servicing instructions and any prepayment restrictions.
What is a biweekly mortgage?
Paying half the monthly amount every two weeks produces 26 half-payments, equivalent to 13 monthly payments per year. Savings depend on how and when the servicer applies the extra money and any program fees.
Does the formula include property tax?
No. The formula computes principal and interest only. Taxes, insurance, applicable mortgage insurance and HOA charges need separate consideration.
How do I verify my lender's quoted payment?
Compare the same loan amount, contract interest rate, term and principal-and-interest amount. Escrow, insurance, fees and rounding can explain differences in the full monthly quote.