A mortgage payment calculator estimates your monthly housing payment from four inputs — home price, down payment, annual interest rate, and loan term — using the standard fixed-rate amortization formula M = P × r × (1+r)^n / ((1+r)^n − 1), where P is the loan principal, r is the monthly interest rate, and n is the total number of monthly payments. When the rate is 0%, that formula collapses to a simple split: the monthly payment equals the principal divided by the number of months. The Mortgage Calculator applies that exact math in your browser, so you can see not only the monthly figure but also how much total interest you will pay over the life of the loan. Whether you're comparing a 15-year versus a 30-year term, sizing up a down payment, or trying to understand why one house carries a noticeably higher monthly cost than another, the four inputs drive every output. Adding optional property tax, insurance, and HOA turns the principal-and-interest number into a fuller PITI estimate that matches what lenders actually use to qualify borrowers.

What the Calculator Needs: The Four Key Numbers
The four numbers you type decide everything that comes out. Each one has a specific role, and changing any of them shifts the monthly payment, the total interest, and the total paid.
- Home price — the purchase price of the property. The calculator treats this as the starting value of the home and does not subtract closing costs, agent fees, or other acquisition charges.
- Down payment — cash you put down upfront. The tool subtracts this from the home price to produce the loan principal (P). A larger down payment shrinks P, which lowers the monthly payment and the total interest paid across the loan.
- Annual interest rate — the fixed yearly rate the lender charges, expressed as a percent. The calculator converts this into a monthly rate by dividing by 12, which is the standard convention for U.S. fixed-rate mortgages.
- Loan term — how long you take to repay the loan. You can pick 15 or 30 years from the preset options or enter any custom number of years if your situation calls for something else, such as 20 or 25 years. A longer term spreads the same principal across more months, lowering each payment but raising the total interest paid.
From Inputs to Results: How the Math Works
Once the four numbers are entered, the calculator converts them into the figures that actually shape your housing budget. Three headline values appear immediately: monthly principal-and-interest payment, total interest over the life of the loan, and total amount paid. The monthly P&I comes from the standard annuity formula and stays the same every month for the entire term, because the calculator assumes a fixed rate.
To see how each monthly installment is split between interest and principal, expand the amortization schedule. Each row shows the starting balance for that month, the interest charged (balance × monthly rate), the portion of the fixed payment that goes to principal, and the new ending balance. Early in the loan, most of each payment is interest; late in the loan, most of it is principal. The schedule runs until the balance reaches zero at the final installment, which is the same amortization method used by every standard amortization calculator.
To see the math written out with verifiable arithmetic, here is a clean scenario using a 0% rate so the formula collapses to a simple division:
| Input | Value |
|---|---|
| Home price | $300,000 |
| Down payment | $60,000 |
| Loan principal (P) | $300,000 − $60,000 = $240,000 |
| Annual interest rate | 0% |
| Loan term | 30 years (360 months) |
With r = 0, the formula reduces to M = P ÷ n, so monthly payment = $240,000 ÷ 360 = $666.67. Total interest = $0, since every payment is principal at a 0% rate. Total paid across the full term = 360 × $666.67 = $240,001 (a one-cent rounding effect on the final month), which equals the original principal.
For any non-zero rate, the full formula kicks in and the same fields produce a larger monthly figure, most of which is interest in the early years. The Mortgage Calculator handles every step of that substitution, including the conversion of annual rate to monthly rate and the multiplication chain in the numerator and denominator, so you do not have to run the math by hand.
Run the Calculator in Your Browser
Open the tool and enter the four values in order. Results update instantly as you type, and the optional fields let you expand the result into a fuller monthly housing cost.
- Enter the home price and your down payment. The calculator subtracts the down payment from the home price to display the loan principal, which is the actual amount you will borrow and repay.
- Type your annual interest rate and pick a loan term. Use 15 or 30 years from the preset options, or enter a custom number of years if your situation calls for something else, such as 20 or 25 years. The tool converts the annual rate into a monthly rate internally.
- Read your monthly payment, total interest, and total paid instantly. These three headline figures appear as soon as the inputs are valid. The monthly figure is principal and interest only, which is the standard P&I result.
- Expand the amortization schedule to see the year-by-year split. Each row shows how much of that fixed monthly payment goes to interest versus principal in a given month, and how the outstanding balance shrinks over time.
- Add property tax, insurance, and HOA to see your full PITI total. These optional fields raise the monthly number to reflect the actual cash you send each month, which is what lenders use to qualify borrowers rather than just the loan service amount.
P&I, PITI, and Your True Monthly Housing Cost
Default results show only P&I, which is principal and interest, because that is the amount that repays the loan itself. Real housing costs are usually larger, because property tax, homeowners insurance, and sometimes HOA dues sit on top of P&I. When you switch those on, the headline monthly figure jumps to reflect your true monthly outlay, often labeled PITI (Principal, Interest, Taxes, Insurance) plus HOA where applicable.
The calculator estimates those add-ons with simple, transparent rules: property tax is computed as home value × tax rate ÷ 12, insurance is the annual premium ÷ 12, and HOA is added as a flat monthly figure. These add-ons do not change how fast the loan balance is paid off, they simply raise the cash you send each month. That is exactly why lenders qualify you on PITI rather than P&I alone: they care about what you will actually pay, not just the loan service.
| Component | How the calculator handles it | Effect on monthly payment |
|---|---|---|
| Principal | Subtracts down payment from home price | Sets the loan service |
| Interest | Applies the standard amortization formula to P, r, and n | Drives the monthly P&I |
| Property tax | Optional; home value × tax rate ÷ 12 | Raises PITI |
| Homeowners insurance | Optional; annual premium ÷ 12 | Raises PITI |
| HOA dues | Optional; flat monthly figure | Raises PITI |
What the Calculator Doesn't Include (and Why)
The Mortgage Calculator covers the standard fixed-rate mortgage model and the common housing-cost add-ons, but it is not designed to handle every line item on a real lender's quote. Things it leaves out include private mortgage insurance (PMI), which is usually required when the down payment is below 20%; discount points, which are upfront fees that buy down the rate; closing costs, which are paid at signing rather than monthly; adjustable-rate structures, where the rate can change over time; extra payments, which would shorten the term; and escrow adjustments, which can shift tax and insurance timing.
These omissions are deliberate, not oversights. The tool is built to model a fixed-rate loan with monthly compounding, which is the standard convention for U.S. mortgages and the same convention described in the mortgage calculator reference. Because everything runs locally in your browser, the inputs you type never leave your device, but the trade-off is that the calculator cannot reach into lender systems to pull live rates, taxes, or insurance quotes. Use the tool for planning, scenario comparison, and sanity-checking your own math, then verify the final figures with a licensed lender before signing.
Putting the Numbers to Work
The most useful way to run a mortgage payment calculator is to enter the same scenario multiple times with small changes and watch how sensitive the monthly payment, total interest, and total paid are to each lever. Comparing a 15-year term against a 30-year term at the same rate shows the trade-off between monthly affordability and lifetime cost: the shorter term carries a higher monthly payment but dramatically less interest, while the longer term lowers the monthly figure at the cost of much more interest paid over time. Comparing two down payment sizes at the same home price shows how much each additional $10,000 of down payment shrinks the principal and the resulting interest. Comparing two interest rates at the same principal and term shows how rate movement ripples through lifetime cost — even a small rate change at a long term produces a large change in total interest.
For a deeper walkthrough of how each input feeds into the monthly payment, the guide on calculating a mortgage payment with an interest rate runs through the substitution in more detail. Use that guide to confirm the direction and rough magnitude of each scenario; exact figures come from the tool, since rates, property taxes, and insurance premiums vary by location and lender.
Once you have a baseline estimate, the Mortgage Calculator lets you switch between 15- and 30-year terms, add taxes and HOA, and watch the monthly figure update without retyping anything. The headline number is meant to anchor a conversation with a lender, not replace one: bring your scenarios to a licensed mortgage professional to confirm the exact rate, taxes, insurance, and qualification numbers for your situation.
For a deeper look, see Yes, You Can Calculate a Mortgage in Your Browser.