Calculation method · Estimate a fixed-rate loan payment
How to Calculate a Mortgage Payment
A fixed-rate mortgage payment converts a loan amount, interest rate, and term into a level monthly principal-and-interest payment. The result is only one part of the monthly housing budget, so this guide separates the loan formula from tax, insurance, HOA, and PMI.
- Author
- YieldRoof Editorial Team
- Published
- Published July 27, 2026
- Updated
- Updated July 27, 2026
- Reading time
- 9 min read
The inputs behind a mortgage payment
The principal is the amount borrowed, not the home price. Subtract the down payment from the purchase price to find the starting loan amount. Closing costs, discount points, lender fees, and prepaid escrow items are separate unless they are explicitly financed into a loan product; the basic YieldRoof model does not add them to principal.
The annual interest rate is converted to a monthly decimal rate by dividing by 12 and then by 100. A quoted 6.5% annual rate therefore becomes a monthly rate of 0.00541667 in decimal form. The loan term is converted to the total number of scheduled monthly payments: a 30-year term has 360 payments.
The formula applies to a standard fully amortizing fixed-rate loan. The scheduled principal-and-interest payment remains level, but its composition changes. Early payments contain more interest because the balance is larger. As principal is repaid, interest falls and more of the same payment reduces the balance.
At a zero interest rate, the exponential formula would involve a zero denominator. The calculator handles that case directly by dividing principal by the number of payments. Invalid or nonpositive terms do not produce a meaningful schedule.
Principal and interest versus the total housing payment
Principal and interest, often shortened to P&I, are the loan components calculated by the amortization formula. Principal reduces the balance. Interest compensates the lender for the outstanding balance. Neither property tax nor insurance changes the mathematical P&I payment on a fixed-rate loan.
A broader monthly housing estimate can add property tax, homeowners insurance, association dues, and applicable private mortgage insurance. These costs may be collected through escrow or paid separately, but they still affect the owner’s monthly budget. They can change over time even when the interest rate and P&I payment are fixed.
PMI is not interest. The YieldRoof calculator applies the entered annual PMI rate to the original loan amount when the down payment is below 20%, then models it until the scheduled beginning balance falls to the calculator’s threshold. Actual eligibility, pricing, cancellation, and loan rules can differ, so the estimate should be checked against lender documents.
Calculated from loan assumptions
- Principal and interest
- $2,022.62
- Loan amount, rate, and term
- PMI
- $0.00
- Not applied at this down payment
Separate property-cost inputs
- Property tax
- $400.00
- Homeowners insurance
- $150.00
- HOA
- $0.00
- Estimated total monthly payment
- $2,572.62
- P&I plus the entered monthly housing costs
How to calculate a fixed-rate mortgage payment
- 1
Find the down payment amount
Convert a percentage to dollars when necessary, then subtract it from the home price.
- 2
Set the loan principal
Use the amount actually borrowed. Do not use the full purchase price when a down payment is being made.
- 3
Convert the annual rate
Divide the annual percentage rate used by the model by 12 and by 100 to obtain a monthly decimal rate.
- 4
Convert years to payments
Multiply the term in years by 12 for the total number of scheduled monthly payments.
- 5
Apply the amortization formula
Keep the growth factor and other intermediate values at full precision, then round the displayed payment at the end.
- 6
Add non-loan housing costs
Add monthly tax, insurance, HOA, and modeled PMI to P&I when estimating the initial monthly budget.
Rounding the monthly rate or growth factor too early can move the final payment and create larger differences over hundreds of payments. Software should retain the underlying floating-point result and format currency only for display. A hand calculation may show fewer decimals, but the substitution should explain where the displayed result comes from.
Mortgage payment example with full substitution
Assume a $400,000 home with a 20% down payment. The down payment is $80,000, leaving a $320,000 principal. The fixed annual interest rate is 6.5% and the term is 30 years.
| Input or step | Amount | Notes |
|---|---|---|
| Home price | $400,000 | Purchase price |
| Down payment | $80,000 | 20% |
| Loan principal (P) | $320,000 | Price − down payment |
| Annual interest rate | 6.5% | Fixed-rate assumption |
| Monthly rate (r) | 0.00541667 | 6.5% ÷ 12 ÷ 100 |
| Number of payments (n) | 360 | 30 × 12 |
| Input or step | Amount | Notes |
|---|---|---|
| Principal and interest | $2,022.62 | Fixed scheduled loan payment |
| Property tax | $400.00 | $4,800 ÷ 12 |
| Home insurance | $150.00 | $1,800 ÷ 12 |
| HOA | $0.00 | Entered monthly amount |
| PMI | $0.00 | Not applied |
| Initial monthly payment | $2,572.62 | P&I + entered monthly housing costs |
The P&I result is $2,022.62, but the initial monthly estimate is $2,572.62 after the modeled property tax, insurance, HOA, and PMI are added. This distinction prevents an affordable-looking loan payment from being mistaken for the entire carrying cost of the home.
Across the schedule, total loan payments are $728,142.36: the original $320,000.00 principal plus $408,142.36 of modeled interest. PMI and property costs are not included in that total. The schedule uses the unrounded payment internally, so its ending balance and cumulative totals remain aligned with the calculator.
How down payment, rate, and term change the result
A larger down payment reduces principal, which generally reduces the monthly P&I payment and total interest under otherwise identical terms. It also increases the cash required at closing and may leave less liquidity for repairs or reserves. The right comparison therefore includes both the payment and the cash remaining after acquisition.
A lower interest rate reduces the interest charged on each outstanding balance. Because the effect continues throughout the schedule, even a modest rate difference can affect both the monthly payment and total interest. Compare rates together with points, lender fees, loan features, and the period you realistically expect to hold the loan.
A longer term spreads principal across more payments and often lowers the required monthly payment. It can also keep the balance outstanding longer and increase total interest. A lower monthly payment therefore does not necessarily mean a lower total borrowing cost. A shorter term may have a higher required payment but retire principal faster.
These factors interact. A borrower might compare a larger down payment on a longer term with a smaller down payment on a shorter term, but changing several variables at once makes the cause of the difference harder to see. Change one assumption at a time, then compare complete scenarios.
View chart values
| Interest rate | Monthly P&I | Initial housing estimate |
|---|---|---|
| 5.5% | $1,816.92 | $2,366.92 |
| 6% | $1,918.56 | $2,468.56 |
| 6.5% | $2,022.62 | $2,572.62 |
| 7% | $2,128.97 | $2,678.97 |
| 7.5% | $2,237.49 | $2,787.49 |
What amortization reveals about total cost
Each month’s interest equals the opening balance multiplied by the monthly rate. Principal is the scheduled P&I payment minus that interest. The next month begins with a slightly lower balance, so the interest portion gradually falls. The final scheduled payment may be adjusted by a tiny amount to bring the remaining balance to zero after numerical precision is considered.
- Beginning balance$320,000.00
- AddInterest on beginning balance+$1,733.33
- SubtractScheduled P&I payment$2,022.62
Fixed in the scheduled fixed-rate model.
- ResultPrincipal paid$289.28
Payment minus interest; this portion rises as interest falls.
- ResultEnding balance$319,710.72
Taxes, insurance, HOA, and PMI are tracked outside this balance equation.
An amortization table helps distinguish cash outflow from equity. The full P&I payment leaves the borrower’s account, but the principal portion reduces a liability. That does not make principal spendable cash, and a sale would still involve transaction costs and market-value uncertainty.
Total loan payments should not be described as the total cost of owning the property. Ownership also includes the down payment, closing costs, tax, insurance, maintenance, utilities, association fees, improvements, and potentially selling costs. Conversely, adding the original home price to all loan payments would double-count the financed principal. Use clearly labeled components.
Common mortgage calculation mistakes and limits
- Using the annual percentage as the monthly decimal. Convert the rate by both 12 and 100.
- Using price instead of principal. Subtract the down payment before applying the formula.
- Comparing P&I with an all-in quote. Separate taxes, insurance, HOA, and PMI.
- Rounding too early. Preserve the monthly rate, growth factor, and payment precision until display.
- Assuming escrow costs are fixed. Tax and insurance can change independently of the fixed loan rate.
- Ignoring fees and points. They are not inside the basic payment formula but affect the economics of the loan.
The calculator models a regular fixed-rate amortizing loan without adjustable rates, extra principal payments, payment holidays, balloon balances, refinancing, or lender-specific fees. It is a planning model, not a loan offer. Replace assumptions with the figures and definitions in an actual loan estimate before making a commitment.
Questions
FAQ
Keep learning
Related Guides
- Mortgage Payment ExampleFollow a complete amortization example from principal and monthly rate through P&I, PMI, housing costs, and rate sensitivity.
- DSCRCalculate property-level DSCR, required NOI, and sensitivity to vacancy, expenses, rate, and loan terms.
- Rental Property Cash FlowBuild rental cash flow from scheduled income through vacancy, NOI, and debt service with a complete worked example.
Run the analysis
Related Calculators
This guide provides estimates and educational information for planning and comparison, not financial, investment, tax, legal, lending, or real estate advice.