Worked example: Mortgage Calculator
$400,000 home with 20% down at 7% for 30 years. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.
View the example inputs
- Enter loan using
- Home price and down payment
- Home purchase price
- 400000 $
- Down payment
- 20
- Down payment unit
- Percent of home price
- Loan term
- 30 years
- Annual note interest rate
- 7 %
- Loan start month
- 2026-10
- Include ownership costs
- Yes
- Annual property tax
- 1.2
- Property tax unit
- Percent of home price per year
- Annual home insurance
- 1500
- Home insurance unit
- Dollars per year
- Annual private mortgage insurance (PMI)
- 0
- PMI unit
- Dollars per year
- PMI duration assumption
- Charge until payoff
- Annual HOA fees
- 0
- HOA unit
- Dollars per year
- Other annual ownership costs
- 4000
- Other-cost unit
- Dollars per year
- Annual property-tax increase
- 0 %
- Annual home-insurance increase
- 0 %
- Annual HOA increase
- 0 %
- Annual other-cost increase
- 0 %
- Plan extra principal payments
- No
| Calculated quantity | Example result |
|---|---|
| Monthly principal and interest | $2,128.97 |
| Initial monthly ownership cost (before extras) | $2,987.30 |
| Loan amount | $320,000.00 |
| Down payment | $80,000.00 |
| Monthly payments until payoff | 360 months |
| Final modeled monthly payment | 2056-10 |
| Total principal and interest | $766,428.47 |
| Total interest | $446,428.47 |
A practical guide to mortgage payments and homeownership costs
Start with the full housing budget
A home price, a loan amount and a monthly housing budget answer different questions. The home price is the purchase amount. The loan amount is the portion financed after the down payment. The monthly budget combines the scheduled loan payment with the ownership expenses you choose to include. Keeping these figures separate makes it easier to compare two homes or two financing offers.
For the worked example on this page, a $400,000 home with 20% down leaves a $320,000 loan. At a 7% note rate over 30 years, principal and interest are about $2,128.97 per month. Annual property tax of $4,800 adds $400 per month, insurance of $1,500 adds $125, and other ownership costs of $4,000 add about $333.33. With no PMI or HOA fee, the initial recurring budget is about $2,987.30 per month.
The down payment is an upfront purchase contribution, not a recurring mortgage payment. Closing charges, prepaid items, moving expenses and renovations need a separate cash budget. The result labelled recurring outlay excludes the down payment; the separate cash-outlay result adds it once. Neither figure includes closing costs.
How a fixed payment repays a changing balance
A fully amortizing fixed-rate payment contains interest and principal. Interest pays for borrowing; principal reduces the outstanding balance. With an unchanged rate and term, the scheduled principal-and-interest payment stays constant while its allocation changes as the balance falls.
You can inspect this mechanism directly in the monthly schedule. In the example, the first month starts with $320,000 outstanding. Monthly interest is $320,000 × 0.07 ÷ 12, or about $1,866.67. Subtracting that from the $2,128.97 payment leaves about $262.30 for principal, taking the balance to about $319,737.70. The next month charges interest on that lower balance.
The balance chart shows the debt that remains. Cumulative interest measures borrowing charges paid so far, while cumulative loan payments include both interest and principal. Adding those two cumulative curves would double-count interest. Ownership costs are excluded from this loan chart and appear in the separate cost table.
Use the note rate in the payment formula
For a positive monthly rate, the scheduled payment is M = P × r ÷ [1 − (1 + r)^(−n)]. Here P is the initial loan principal, r is the annual note rate expressed as a decimal and divided by 12, and n is the number of monthly payments. Thirty years gives 360 payments. If the note rate is zero, the payment is simply P ÷ n.
The calculation keeps full precision internally and rounds amounts for display. Multiplying the displayed payment rounded to cents by 360 can therefore differ slightly from the displayed total based on the unrounded payment. Real lenders may round each posted transaction and adjust the final amount. The schedule caps its last payment at the remaining balance and interest instead of showing an overpayment or negative balance.
Interest rate, APR and changing-rate loans
Enter the quoted mortgage note interest rate when calculating an amortizing payment. APR is a broader borrowing-cost measure that incorporates specified charges as well as interest. Using APR as if it were the note rate can produce a different payment from the loan agreement. Compare the rate, points, fees and repayment terms together.
This calculator holds the note rate fixed. An adjustable-rate mortgage can change its payment after a reset, so a single constant-rate projection does not model its full contract. Use separate rate scenarios to understand sensitivity, and check the lender’s reset rules, caps and disclosures.
Model taxes, insurance, HOA and other costs explicitly
You can enter an annual dollar amount or a percentage for each ownership-cost category. Property tax, home insurance, HOA and other percentage inputs use the original home price as the reference base. A percentage PMI quote uses the original loan amount instead. An annual percentage is not a monthly percentage: a 1.2% annual property-tax assumption on $400,000 means $4,800 per year, then $400 per month.
Other costs can represent an entered allowance for maintenance, utilities or other recurring expenses. Avoid placing an item here if it is already included in another category. A large irregular repair is not a predictable monthly bill; smoothing an allowance over the year is a budgeting convention that you choose.
Annual increases compound at each 12-payment anniversary. For instance, an annual $1,200 cost growing by 3% becomes $1,236 for the second loan year. Tax reassessments and insurance renewals do not necessarily follow that pattern, so these inputs are scenarios rather than forecasts. Even when principal and interest are fixed, an escrow collection or total housing budget can change.
Lifetime ownership-cost totals stop at the modeled mortgage payoff. Taxes, insurance, maintenance and HOA expenses can continue after the debt is paid. Consequently, paying off the mortgage reduces borrowing costs but does not make the property free to own.
Treat PMI amount and cancellation as separate questions
Private mortgage insurance generally protects the lender on a conventional mortgage rather than replacing the homeowner’s property insurance. Enter a lender quote instead of assuming that a particular down payment guarantees one premium. FHA mortgage insurance and VA funding fees follow different rules.
The PMI duration control is an explicit budgeting assumption: charge the entered premium until payoff or for a chosen number of payments. It does not decide cancellation rights. For covered conventional loans, requesting cancellation at 80% of original value and automatic termination at the scheduled 78% point have different conditions. Payment status and other requirements matter. Confirm the applicable date and process with the servicer before changing your actual payments.
Compare extra principal without confusing it with a recast
The extra-payment controls let you begin a recurring monthly amount on a chosen month, repeat an annual amount from a chosen month, and enter individual dated payments. Additional payments use one YYYY-MM, amount entry per line. Entries for the same month are combined. A payment scheduled after payoff has no effect because the loan is already settled.
In this model, the scheduled installment is paid first and extra money then reduces principal. Future interest is charged on the smaller balance. The regular required payment remains unchanged; the payoff date moves earlier. Recasting a loan is a different arrangement that recalculates the payment, and refinancing replaces the loan with a new agreement.
Interest saved compares the entered extra-payment plan with the same loan without extras. It is not an investment return and does not include a lender prepayment charge, a tax effect or the value of keeping cash available. Verify that your servicer applies additional funds to principal and whether the contract limits prepayments. Use the downloaded schedule to compare the timing of the proposed payments with your cash flow.
Understand what the biweekly comparison assumes
Half a monthly payment every two weeks results in approximately 26 half-payments in a 52-week year, equivalent to 13 monthly installments. This is different from paying twice a month, which normally produces 24 half-payments. The extra annual repayment is one reason an accelerated biweekly plan can shorten a loan.
Our comparison uses an explicit daily-interest convention: interest accrues for each 14-day interval at annual note rate × 14 ÷ 365, and a half-payment is credited at the end of that interval. The first interval begins on the first day of the selected loan-start month. It excludes the separate extra-payment instructions and ownership costs, so you can distinguish the effects of the two plans.
A servicer can instead hold partial payments, credit them monthly or use a different day-count convention. Therefore, the biweekly result is a planning comparison, not a prediction of the bank’s posting schedule. Obtain the actual arrangement and fees before enrolling.
How much mortgage interest could I save with a shorter term?
The mortgage calculator compares 15-year, 20-year and 30-year terms alongside your selected term. It holds the loan amount and note rate constant so the table answers one question: what changes when I repay the same mortgage sooner? A shorter term raises the required principal-and-interest payment but reduces total interest at the same positive rate. At zero interest, the total principal repaid is unchanged.
For a $320,000 mortgage at 7%, a 15-year loan requires about $2,876.25 per month, compared with $2,128.97 over 30 years. Total interest is about $197,725.08 versus $446,428.47. These comparisons exclude insurance, property taxes, HOA fees, extras and closing costs. Compare actual lender quotes separately because the offered rate and fees may differ by term.
What happens to my mortgage payment if interest rates change?
The rate-sensitivity table shows hypothetical note rates half a percentage point and one percentage point above and below your entered rate. The principal and term stay unchanged. Moving from 7% to 6% on a $320,000, 30-year loan reduces principal and interest from about $2,128.97 to $1,918.56 per month, a difference of about $210.41.
This table helps test a purchase budget or compare quotes; it is not a prediction that rates will fall. It also does not simulate an adjustable-rate reset. The repayment-strategy table compares scheduled monthly payments, your entered extra-payment plan and the separate biweekly model. Compare interest and dates rather than payment size alone. Paying more frequently and paying more in total are different effects. The biweekly schedule exposes every payment and its interest calculation, including the smaller final installment.
Read dates, schedules and exports consistently
The selected start month is the loan’s modeled start, and the first monthly installment appears in the following month. A loan starting in October 2026 with 360 installments therefore ends with a monthly payment in October 2056. The calculator does not add odd-day interest or infer a real closing date from that month.
The annual schedule groups the first 12 installments into loan year one, the next 12 into loan year two, and so on. It does not group by January-to-December calendar years. Monthly principal already includes the column labelled extra included; adding the extra column to principal again would count it twice.
Use the schedule buttons to change between annual and monthly views. CSV downloads contain every row rather than only the visible page. Chart legends can hide or restore a series, and the point selector provides keyboard access to the plotted values. Copy link with inputs preserves the scenario in a URL; print and the result download provide other ways to keep a record.
Formula and calculation method
Monthly note payment M=P×r/[1−(1+r)^−n], where P is the financed amount, r=annual note rate/12, and n is the number of monthly payments. At 0% interest, M=P/n.
Loan amount=home price−down payment. Percentage ownership costs use the original home price; a percentage PMI quote uses the original loan amount. Annual fees are divided by 12.
The loan start month is followed by the first payment month. Cost increases occur at each 12-payment anniversary. The final payment is capped at the balance plus interest; extra payments do not recast the required payment.
Ownership costs are estimated only through the modeled payoff month. They can continue after the mortgage ends. Closing costs and the down payment are shown separately from recurring outlay.
The biweekly comparison is a separate ACT/365 model: half the scheduled monthly payment is credited every 14 days, beginning 14 days after the first day of the loan-start month. It excludes extra-payment instructions and ownership costs. Actual servicer posting and interest conventions may differ.
Scope and Limitations
- Fixed-rate, fully amortizing purchase loan model. Excludes adjustable-rate changes, odd first periods, escrow cushions, lender rounding, closing fees, refinance costs and tax deductions.
- PMI is entered, never inferred as a guaranteed quote. Its selected duration is a scenario assumption; this tool does not determine legal cancellation, borrower eligibility or lender approval. FHA MIP and VA fees use different rules.
- Prepayments are assumed to be accepted as principal without penalty. Verify lender instructions and terms. No current mortgage-rate feed is connected.
Reference Sources
- CFPB: How paying down a mortgage works
- CFPB: Private mortgage insurance
- CFPB: Mortgage insurance cancellation
Frequently asked questions
Does the monthly result include property taxes and insurance?
The principal-and-interest result does not. The initial monthly ownership-cost result adds the taxes, insurance, PMI, HOA and other costs you enable and enter. Extra principal is shown in the schedule rather than included in that initial budget.
Can I enter a dollar down payment instead of a percentage?
Yes. Choose dollars beside the down payment, or select known loan amount if the financed balance is already established. The home price remains the reference base for percentage ownership costs.
Why is my lender’s payment slightly different?
Check the financed amount, note rate, exact term, first payment timing, financed fees, escrow items and mortgage insurance. Lender rounding and odd-day interest can also differ from this monthly planning model.
Do extra payments lower the scheduled monthly installment?
This model keeps the installment unchanged and moves payoff earlier. A lower required installment would normally require a recast or another lender-approved change, which is not modeled here.
Will mortgage insurance automatically disappear at 20% equity?
This page does not decide that. Its PMI duration is an entered scenario. Cancellation and automatic termination have distinct conditions, and government-backed loans can follow different rules. Confirm your loan’s applicable requirements with its servicer.
Are the interest rate and future expense increases live forecasts?
No. They are entered assumptions. Replace them with current loan quotes, tax information, insurance premiums and your own cost scenarios.
Can I compare a 15-year and 30-year mortgage?
Yes. Change the loan term and compare monthly payments and total interest. Enter the note rate quoted for each offer separately, since different terms need not carry the same rate.