A mortgage payment with an interest rate is calculated by converting the annual rate into a monthly rate (r), multiplying the term in years by 12 to get the total number of payments (n), then solving M = P × r × (1 + r)^n / ((1 + r)^n − 1), where P is the loan principal (home price minus down payment). The formula is the standard fixed-rate annuity equation used across U.S. mortgage lending: each monthly payment stays the same for the entire term, the rate is held fixed, and interest compounds monthly. By default, that headline figure repays only the loan itself — what the industry calls P&I, short for Principal and Interest. Real housing budgets usually add taxes, insurance, and HOA dues on top, which together make up PITI. The math itself is short, but raising (1 + r) to the 360th power by hand is tedious, so a browser-based calculator handles the exponent and prints the same monthly figure the bank would quote you.

The Four Inputs That Drive a Mortgage Payment
Behind every mortgage calculation lie four numbers that have to be in place before the formula produces a useful answer:
- Home price: the total purchase price of the property, before any down payment is applied.
- Down payment: the cash you put down at closing, in dollars or as a percentage of price. The loan principal is home price minus down payment.
- Annual interest rate: the percentage the lender charges per year, written as something like 6.5%. The formula divides this by 12 to get the monthly rate (r).
- Loan term: the length of the loan in whole years — typically 15 or 30, or any custom value you enter.
Everything else the calculator displays — total interest, total paid, the year-by-year amortization schedule, and the optional PITI estimate — is derived from those four numbers and nothing else. Change one input, leave the other three alone, and you can read off that single variable's effect on the monthly payment. This separation is what lets you ask "what does the rate really do to my bill?" without disturbing the rest of the assumptions.
How the Interest Rate Fits Into the Formula
Once the four inputs are in place, the interest rate goes through three quick transformations before it touches the rest of the math:
- Convert percent to decimal. A 6.5% annual rate becomes 0.065.
- Divide by 12 to get the monthly rate r. At 6.5%, r ≈ 0.00541667. Every number inside the formula uses this monthly rate, never the annual one.
- Raise (1 + r) to the n-th power, where n = years × 12. A 30-year loan has n = 360; a 15-year loan has n = 180. The exponential term grows quickly and is what makes a 30-year mortgage feel so different from a 15-year one even at the same rate.
Two assumptions are baked into the equation: the rate is fixed for the entire term, and interest compounds once per month. Both are the standard conventions for U.S. fixed-rate mortgages and are documented on the Wikipedia mortgage calculator page.
One Worked Example You Can Verify by Hand
Take a $100,000 loan at 6.0% for 30 years. Then r = 0.06 / 12 = 0.005, n = 360, and (1.005)^360 ≈ 6.0226. Substituting into the formula:
M = 100,000 × 0.005 × 6.0226 / (6.0226 − 1) ≈ 500 × 6.0226 / 5.0226 ≈ 3,011.3 / 5.0226 ≈ $599.55 per month.
Over 360 monthly payments, total paid ≈ $599.55 × 360 ≈ $215,838. Subtract the $100,000 principal and total interest across the life of the loan is about $115,838 — exactly the number the calculator labels at the bottom of the result panel. If you want to skip the substitution and try your own price, down payment, and rate, the same formula drives the Mortgage Calculator behind the scenes.
Run the Numbers in the Calculator
Open the calculator and follow these steps:
- Enter the home price and down payment. Type the purchase price into the first field, then the dollar amount you plan to put down. The tool subtracts the down payment and surfaces the loan principal in the summary.
- Type your annual interest rate and pick a term. Enter the rate as a percentage (for example, 6.5) without the percent sign, then choose 15 years, 30 years, or your own custom term.
- Read the headline results. The calculator displays your fixed monthly P&I, total interest, and total paid over the full term. The figures update instantly as you change any input, so comparing two rates is a matter of typing them one after the other.
- Expand the amortization schedule. Open the year-by-year breakdown to see how each payment splits between principal and interest and how the loan balance declines to zero by the final payment.
- Add taxes, insurance, and HOA to see PITI. Type in the property tax rate, your annual homeowners insurance premium, and any monthly HOA dues. The tool folds all three into an estimated total monthly housing cost.
Every step runs locally in your browser, so the home price, down payment, and rate you enter are never uploaded or stored on a server. If you would rather build the same calculation in a spreadsheet, the step-by-step walkthrough for calculating a mortgage payment in Excel covers the equivalent PMT formula.
Why a Small Rate Change Moves the Payment So Much
The interest rate sits inside the formula in two places at once — the small monthly rate r and the exponential term (1 + r)^n — which is why a fractional move in the rate produces a noticeable dollar change. A 0.25 percentage-point drop on a $300,000, 30-year loan typically lowers the monthly P&I by roughly $50; a full percentage point can shift it by $200 or more. The same quarter-point movement shifts the figure more at the high end of the rate range than at the low end, because the exponential term amplifies rate changes as r climbs.
| Formula component | Role inside the payment equation |
|---|---|
| P (loan principal) | Scales the monthly payment proportionally — a 10% larger principal raises the monthly P&I by roughly the same 10%. |
| r (monthly rate) | Lives inside an exponent, so small shifts in r move the figure more than the same dollar change in P would. |
| n (number of payments) | Shares the same exponent as r — longer terms lower the monthly cost but raise total interest over the life of the loan. |
| (1 + r)^n | The compound-growth engine that separates fixed-rate mortgages from simple-interest loans. |
Because every input feeds the same exponent, the rate's effect is multiplicative, not additive. The calculator keeps the other three inputs fixed while you adjust the rate, so you can isolate exactly how much a quoted rate will change the monthly P&I for your specific loan size. Once you have a base monthly figure, run the rate up and down by a tenth of a point at a time to see the sensitivity in your own dollars.
P&I vs PITI: The Two Numbers Lenders Look At
By default, the calculator shows the P&I number — the figure that retires the loan over its life. Lenders, however, almost never qualify a borrower on P&I alone. They add property tax, homeowners insurance, and any HOA dues to estimate the full monthly housing cost, a combined figure called PITI plus HOA.
| Component | What it represents | How the tool computes it |
|---|---|---|
| P (Principal) | The loan balance itself | Always included |
| I (Interest) | The lender's fee for lending | Always included |
| T (Taxes) | Local property tax | Home value × tax rate ÷ 12 |
| I (Insurance) | Homeowners insurance premium | Annual premium ÷ 12 |
| HOA | Optional homeowners association dues | Monthly figure added as-is |
None of those add-ons changes how quickly the loan is paid off — they only raise the cash you send each month. That is precisely why lenders qualify on PITI rather than P&I: the bank's concern is your full monthly outflow, not just the slice that retires the principal. The amortization calculator page on Wikipedia shows the underlying compound-interest breakdown for anyone who wants the full derivation.
What the Calculator Leaves Out
Any free mortgage calculator that runs entirely in your browser has limits worth naming, so you don't mistake the headline figure for a quote:
- No PMI. If your down payment is under 20%, most conventional loans require private mortgage insurance, which adds to the monthly cost but does not appear in this tool's PITI estimate.
- No points or closing costs. Discount points, origination fees, and third-party closing charges are quoted separately by lenders and folded into the APR, not into the monthly payment.
- No adjustable rates. The tool assumes a fixed rate for the entire term. ARMs and rate buydowns need a different model.
- No extra payments. The schedule assumes the minimum payment every month. Prepayments shorten the loan and lower total interest but require a separate calculation.
- No escrow adjustments. Property tax and insurance premiums change year to year; real escrow accounts recalculate monthly. The tool holds the values you entered.
For any of those items, or for a final dollar-and-cents quote, confirm with a licensed lender or mortgage professional. The number on the screen is a planning figure, not a loan offer.