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.
- P = $300,000.
- r = 7 ÷ 100 ÷ 12 = 0.005833333….
- n = 30 × 12 = 360.
- (1 + r)³⁶⁰ ≈ 8.116497475.
- M = $300,000 × 0.005833333… ÷ [1 − (1.005833333…)⁻³⁶⁰] ≈ $1,995.907486.
- 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 number | Principal and interest | Interest portion | Principal portion | Balance 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.
| Cost | Included in the formula? | What to check |
|---|---|---|
| Principal and interest | Yes | Loan amount, contract rate and term |
| Property taxes | No | Local assessment and whether the lender collects escrow |
| Homeowners insurance | No | Actual policy quote and coverage |
| Mortgage insurance | No | Whether the loan requires it and its charge |
| HOA dues | No | Association fees, assessments and payment schedule |
| Maintenance and utilities | No | A separate household budget, not loan amortization |
| Closing costs | No | Upfront 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.