Skip to content
Cost Calculator

Loans and mortgages

Mortgage Cost Calculator

The monthly cost of a mortgage is principal and interest plus property tax, homeowners insurance, private mortgage insurance (if your down payment is under 20 percent) and any HOA dues. This mortgage cost calculator adds all of them, shows the total interest over the loan and estimates the cash you need at closing.

Choose your state to see the estimate

The calculator uses your state's wages and price level from public data (BLS and BEA), so it needs to know where you are. Nothing you enter leaves your browser.

Formula

  • Principal and interest = loan × r ÷ (1 − (1 + r)^−n), r = rate ÷ 12, n = years × 12
  • Property tax = price × tax rate ÷ 12; insurance = annual premium ÷ 12
  • PMI = loan × PMI rate ÷ 12 when the down payment is under 20%
  • Cash to close = down payment + closing costs

Entries marked edit are placeholders to replace with your own quotes. Methodology.

What the lender looks at

Lenders compare your total monthly housing cost and your other debt payments with your income. Use the monthly cost above, not just the principal and interest, when you test affordability.

Getting a real number

  1. Step 1

    Request Loan Estimates

    Ask three lenders on the same day for a Loan Estimate for the same loan.

  2. Step 2

    Compare the APR and fees

    Section A of the estimate lists the lender's own fees; shop the rest.

  3. Step 3

    Check taxes and insurance

    Get an insurance quote and your county's tax rate for the actual property.

  4. Step 4

    Keep a reserve

    Do not use your last dollar for the down payment.

Worked example: how the down payment changes the monthly cost

The table below uses this calculator's starting values and changes only the down payment. Inputs: home price $350,000, rate 6.5%, 30-year term, property tax 1.1% of value per year, insurance $1,800 per year, PMI 0.6% of the loan per year when the down payment is under 20%, no HOA, closing costs 3% of the price. These are illustrative numbers, not a quote, and the rate and tax inputs are placeholders until you have real offers.

Illustrative: $350,000 home, 6.5%, 30 years, only the down payment changes
Down paymentLoan amountPrincipal and interestPMI per monthTotal monthly costTotal interestCash at closing
3% ($10,500)$339,500$2,145.87$169.75$2,786.45$433,014$21,000
5% ($17,500)$332,500$2,101.63$166.25$2,738.71$424,085$28,000
10% ($35,000)$315,000$1,991.01$157.50$2,619.35$401,765$45,500
20% ($70,000)$280,000$1,769.79$0.00$2,240.62$357,125$80,500

Going from 10% to 20% down raises the cash you need at closing by $35,000 and lowers the monthly cost by about $379. The monthly drop comes from two places: a smaller loan, and no PMI at all. The cash you keep by putting less down is also what you would use for repairs, moving and a reserve, so the cheapest monthly payment is not automatically the best plan.

Cash at closing here is the down payment plus the closing-cost percentage you entered. Your lender's Loan Estimate will also show deposits and credits, so treat these totals as a planning figure. For how this site treats starting values and assumptions, see the methodology page.

Worked example: term and rate

Term and rate move the total interest far more than most other inputs. The next table keeps the same $350,000 home with 10% down (a $315,000 loan) and the same tax, insurance and PMI inputs, and changes one input at a time from the starting values.

Illustrative: $350,000 home, 10% down, one input changed at a time
ScenarioPrincipal and interestTotal monthly costTotal interest over the loan
Starting values: 6.5%, 30 years$1,991.01$2,619.35$401,765
Rate 5.5%, 30 years$1,788.54$2,416.87$328,873
Rate 7.5%, 30 years$2,202.53$2,830.86$477,909
6.5%, 15 years$2,743.99$3,372.32$178,918

One percentage point on the rate changes the monthly cost by roughly $200 in this example and the lifetime interest by tens of thousands of dollars. The 15-year term costs $752.98 more per month in principal and interest than the 30-year term, and it cuts total interest by $222,847. Whether you can carry the higher payment through job changes, repairs and other goals is the real test, not the interest saved on paper.

A longer term is not only about the payment. If you take a 30-year loan and later pay extra toward principal, you keep the option to slow down in a hard year. The loan cost calculator shows how extra monthly payments shorten any loan and what they save.

Why the same house costs different amounts in different states

The payment formula for principal and interest does not depend on where the home is. The price of the home, the property tax rate, the insurance premium and any HOA dues do, and those are the inputs you type in. That is why the calculator asks for them instead of assuming a national figure.

For the price side, the Bureau of Economic Analysis publishes regional price parities, where the US average is 100. In its 2024 state figures, the housing component (which BEA bases on rents) was highest in the District of Columbia at 155.0 and California at 154.3, and lowest in Mississippi at 56.5 and West Virginia at 54.2 (BEA RPP 2024). Ohio was 73.0 and Texas 96.5. A rent index is not a home-price index, but the spread shows how far apart housing costs can be across the country.

  • Property tax rates are set by local governments, so two homes with the same price can have very different tax bills. Check the tax rate for the specific address, and ask how the bill is reassessed after a sale.
  • Homeowners insurance is priced by each insurer, and the premium is set by the insurer. Get a quote for the specific home before you make an offer, not after.
  • Flood and other hazard coverage may be required or advisable depending on the location. The CFPB notes that flood insurance is typically required in FEMA-designated Special Flood Hazard Areas.
  • HOA and condo dues vary by community and can rise. Ask for the current dues, what they cover and whether any special assessment is planned.

Because of this, use the starting values only to get a feel for the size of the payment, then replace the tax rate and insurance with numbers for the actual property.

PMI: what it is and when it ends

Private mortgage insurance is arranged by your lender on a conventional loan when the down payment is under 20% of the purchase price. It protects the lender, not you, if you stop paying. You can pay it monthly, as an up-front premium at closing, or as a mix of both, according to the CFPB.

Federal rules give you two ways out of PMI on a covered loan. You can ask your servicer to cancel it when your balance is scheduled to fall to 80% of the original value of the home, or sooner if extra payments get you there. The servicer must end it automatically when the balance is scheduled to reach 78% of the original value, and in any case the month after the loan reaches the midpoint of its amortization schedule. To request cancellation, the CFPB says you must ask in writing, have a good payment history, certify there is no junior lien such as a second mortgage, and be able to show the home has not fallen below its original value, for example with an appraisal.

Here is what that looks like for the 10%-down example, a $315,000 loan on a $350,000 home at 6.5% over 30 years. The 80% line is $280,000 and the 78% line is $273,000. In the loan cost calculator's yearly schedule for that loan, the balance is $284,811 at the end of year 7 and $279,269 at the end of year 8, so the 80% line is crossed during year 8. It is $273,355 at the end of year 9 and $267,045 at the end of year 10, so the 78% line is crossed during year 10.

If the PMI payment stays at the calculator's flat $157.50 a month, that is roughly 95 to 109 payments, or about $15,000 to $17,000, before it ends. Actual PMI pricing is set by the insurer and depends on your loan, so use this only to see the order of magnitude.

Escrow: how taxes and insurance get paid

An escrow account is set up by your lender to pay property taxes and insurance premiums on your behalf. A part of each monthly payment goes into the account, so you do not face one large bill once or twice a year. The calculator shows tax and insurance as monthly amounts for the same reason.

Escrow does not fix the cost. Tax bills and insurance premiums can change from year to year, so the escrow part of your payment, and therefore your total monthly payment, can change too. That is the main reason a payment that looked stable at closing can rise later.

Under Regulation X (12 CFR 1024.17, published by the CFPB), several rules protect you:

  • Cushion cap. The servicer's cushion may not exceed one-sixth of the estimated annual payments from the account, which is about two months of payments, or less if state law or your loan documents say so.
  • Annual statement. The servicer must send an escrow account statement within 30 days of the end of the escrow computation year, showing the account history and how any surplus or shortage will be handled.
  • Surplus. A surplus of $50 or more must be refunded within 30 days of the analysis if you are current on payments. A smaller surplus may be refunded or credited against next year's payments.
  • Shortage. For a shortage under one month's payment, the servicer may leave it, ask for repayment within 30 days, or spread it over at least 12 months. For a shortage of one month's payment or more, it may leave it or require repayment over at least 12 months.

If your loan has no escrow account, you must budget for taxes and insurance yourself. The CFPB warns that unpaid property taxes can lead to fines, penalties, a tax lien or foreclosure, and that a lender whose borrower fails to pay may add the amounts to the loan, add an escrow account, or buy force-placed insurance and bill the borrower. Force-placed insurance is typically more expensive.

Closing costs and cash to close

The CFPB says closing costs typically range from 2% to 5% of the home purchase price, not including the down payment, and that the actual amount depends on the price, the down payment, lender costs, the type of loan and home, and location. This calculator starts at 3%. Closing costs are the upfront costs of getting the loan and transferring ownership. Cash to close adds the down payment and subtracts any deposits and credits.

For the $350,000 example with 10% down, the 2%, 3% and 5% assumptions change cash at closing as follows (illustrative, same inputs as above).

Illustrative: $350,000 home, 10% down ($35,000), only the closing-cost percentage changes
Closing costsAmountCash at closing
2% of price$7,000$42,000
3% of price (starting value)$10,500$45,500
5% of price$17,500$52,500

The CFPB also points out two trade-offs. A lender credit that offsets closing costs is typically given in exchange for a higher interest rate than you would have paid otherwise. And closing costs can be added to the loan, which lowers what you pay upfront but costs more overall because of the extra interest. Neither is right or wrong; the calculator helps you see the larger monthly payment that comes with each choice.

The Loan Estimate and Closing Disclosure timeline

A Loan Estimate is a standard three-page form that describes the mortgage you requested, including the estimated rate, monthly payment and total closing costs. The lender must provide it within three business days of receiving your application, and receiving one does not mean the loan is approved. Page 1 shows loan terms, the estimated monthly payment, estimated closing costs, cash to close and whether there is a prepayment penalty or balloon payment. Page 2 breaks out fees and splits services into those you cannot shop for and those you can. Page 3 has the comparisons section with the APR.

Before closing, the lender must give you a Closing Disclosure three business days before your scheduled closing. Use that window to compare the final loan term, rate, estimated total monthly payment, closing costs and cash to close against the Loan Estimate, and to ask questions.

Which costs can change between the two forms depends on the type of cost. Without a change in circumstances, the CFPB lists them this way:

How Loan Estimate costs can change by closing (CFPB)
Type of costExamplesAllowed change
Cannot increaseFees paid to the lender or broker for a required service; transfer taxesNone
Up to 10% moreRecording fees; required third-party services from the lender's written listUp to 10% increase
Can change by any amountPrepaid interest, property insurance premiums, initial escrow deposits; services you chose from outside the lender's listNo limit

If an increase goes over the allowed limits and there was no change in circumstances, you are entitled to a refund of the excess. If there was a change in circumstances, you will likely receive a revised Loan Estimate. If the rate or fees changed, the CFPB says to ask the lender for a specific reason, check your rate lock, and remember that you can stop working with a lender or contact the CFPB if you are not satisfied.

How to compare Loan Estimates

The CFPB recommends requesting multiple Loan Estimates from different lenders so you can compare. Ask for them for the same loan amount, term and loan type, on the same day if you can, so the numbers move together. Then work through the forms in this order.

  1. Confirm the loan basics match what you discussed: amount, term, fixed or adjustable rate, and loan type.
  2. Compare the interest rate on page 1 with the APR on page 3. The APR adds certain fees to the rate, so a low rate with high fees can show a high APR.
  3. Compare origination charges, then the total of the services you cannot shop for.
  4. Look at the points and lender credits. Both trade upfront cost against the rate, so ask how each option changes the payment.
  5. Check the taxes and insurance estimates against your own quotes for the property.
  6. Check whether there is a prepayment penalty, a balloon payment, or mortgage insurance, all shown on page 1.
  7. Compare estimated cash to close, not just the monthly payment.

Costs the mortgage estimate leaves out

The monthly cost above covers the bills that arrive with the loan. A home also has costs that never appear on a Loan Estimate. The CFPB tells buyers to budget for maintenance, repairs and utilities, and to set money aside for initial costs such as repairs, furniture, moving and utility setup.

  • Maintenance and repairs. Roofs, heating and cooling, plumbing and appliances wear out on their own schedule. See the roof replacement calculator for one large item.
  • Utilities and services, which often rise with a larger home.
  • Supplementary insurance, such as flood coverage, where it applies.
  • Moving costs. Use the moving cost calculator to plan this one.
  • A cash reserve. The CFPB suggests an emergency cushion of at least three to six months of expenses. Build it with the emergency fund calculator.
  • Higher costs after a rate or tax change, especially on an adjustable-rate loan or in an area where assessments reset after a sale.

Ways to lower the cost or risk

None of these is guaranteed to work for every buyer, and each has a trade-off. Check how it applies to your own numbers and loan documents.

  • Shopping several lenders and comparing Loan Estimates can lower the fees and rate you are offered.
  • Choosing your own provider for services you can shop for can lower those fees. The CFPB notes that costs from a provider outside the lender's list fall outside the 10% limit, so get the price in writing.
  • A larger down payment can lower the loan amount and may remove PMI, but it uses cash you may need as a reserve.
  • Paying down the balance faster may bring forward the date PMI can be cancelled. Check the cancellation requirements first.
  • Checking your credit reports for errors before you apply can help you avoid a higher rate caused by a mistake. The CFPB says checking your own credit does not hurt your scores.
  • Avoiding new car loans or large credit card purchases in the months before applying can keep your score from dropping, according to the CFPB.
  • Asking a HUD-approved housing counselor to review your budget and numbers is another way to test the plan. The CFPB has a housing counselor finder.

Common mistakes

  • Budgeting only for principal and interest and forgetting tax, insurance, PMI and HOA dues.
  • Using the default tax and insurance inputs instead of figures for the actual property.
  • Choosing the lowest monthly payment without comparing the total interest and the cash you need at closing.
  • Using all savings for the down payment and arriving at closing with no reserve.
  • Comparing quotes taken on different days or for different loan terms, which makes the numbers hard to compare.
  • Not asking whether the loan has a prepayment penalty, an adjustable rate or a balloon payment.
  • Ignoring the Closing Disclosure review window or signing without checking it against the Loan Estimate.
  • Assuming PMI will end by itself without confirming the rules and dates that apply to your loan.

Terms you will see on mortgage documents

Plain-language glossary
TermWhat it means
APRA yearly cost measure that includes the interest rate and certain fees. Shown on page 3 of the Loan Estimate.
AmortizationThe schedule by which each payment is split between interest and principal, with more interest in early years.
Escrow accountAn account your servicer uses to pay property taxes and insurance from part of your monthly payment.
PMIPrivate mortgage insurance on a conventional loan with under 20% down. It protects the lender.
PointsUpfront fees paid to lower the rate, shown on page 2 of the Loan Estimate.
Lender creditA rebate that offsets some closing costs, typically in exchange for a higher interest rate.
Cash to closeThe actual amount you pay at closing: down payment and closing costs, less deposits and credits.
ServicerThe company that collects your payments and manages your escrow account. It can differ from the lender.
Rate lockA lender's commitment to hold a quoted rate for a period. Some lenders lock when issuing the Loan Estimate and others do not.

How to pay for it

A home purchase involves two kinds of money: the cash you bring to closing and the monthly payment you carry afterward. Saving a larger down payment first can lower both, but it also delays the purchase while prices and rates keep moving. Borrowing more of the price keeps your cash, at the cost of a larger payment, more interest and, under 20% down, PMI. The CFPB says low-down-payment options usually come at increased cost, and that you will save the most with at least 20% down.

Set a down payment target and a monthly savings plan with the savings goal calculator, and keep a reserve separate from it. Test the monthly figure against your take-home pay with the 50/30/20 budget calculator. Our how to pay page explains the trade-offs between saving first and borrowing across the calculators on this site.

Mortgage interest may be deductible only if you itemize deductions, and IRS Topic 505 describes debt limits that depend on when you acquired the home, including $750,000 for homes acquired after December 15, 2017. Whether that helps you depends on your whole tax situation, so ask a tax professional.

Questions people ask

How much house can I afford?

A common planning limit is that total monthly housing cost stays within roughly 28 percent of gross income and total debts within about 36 percent, though lenders allow more. Your budget matters more than the limit.

What is PMI?

Private mortgage insurance protects the lender if you put down less than 20 percent on a conventional loan. It typically ends when your equity reaches 22 percent or on request at 20 percent.

Are closing costs negotiable?

Some are: lender fees can be shopped and negotiated, while taxes and government fees are fixed. Compare Loan Estimates.

Is the monthly cost shown the same as what my lender will quote?

Not exactly. The calculator uses starting values for tax, insurance, PMI and closing costs until you replace them. Your lender's Loan Estimate gives your actual rate, fees and estimated monthly payment. Use the calculator to plan and the Loan Estimate to decide, and check taxes and insurance against quotes for the specific property.

How is the 20% down payment line connected to PMI?

On a conventional loan, PMI may be required when the down payment is under 20% of the purchase price. In this calculator, PMI is added when the down payment you enter is below 20% and drops to zero at 20% or more. Real rules and pricing depend on the loan type and insurer.

When can I ask my servicer to cancel PMI?

On covered loans, you can ask in writing when your balance is scheduled to reach 80% of the original home value, if you are current and meet the other conditions. The servicer must end it at 78% if you are current, and at the loan's midpoint regardless. FHA and VA loans have different requirements.

What does an escrow account change about my payment?

It spreads your property tax and insurance bills across monthly payments, so there is no large bill to save for. It does not fix the amounts. If taxes or premiums rise, your escrow payment can rise, and an annual analysis may show a surplus or shortage that you will be told how to handle.

How much cash should I expect to need at closing?

The CFPB says closing costs typically range from 2% to 5% of the purchase price, not including the down payment, so cash to close is the down payment plus that amount, less any deposits and credits. This calculator starts at 3% as a placeholder. Your Loan Estimate gives the lender's own number.

Can closing costs be higher at closing than on the Loan Estimate?

Some can. Fees paid to the lender and transfer taxes generally cannot rise, certain third-party fees and recording fees can rise by up to 10%, and items such as prepaid interest, homeowners insurance premiums and initial escrow deposits can change by any amount. Compare the Closing Disclosure with the Loan Estimate and ask about any difference.

Does a longer loan term cost more in total?

Usually yes, because interest is charged on the balance for more months. In the example here, the 15-year loan has a payment of $2,743.99 compared with $1,991.01 for the 30-year loan, but total interest falls from $401,765 to $178,918. The right term depends on the payment you can carry safely.

Is it better to put down 20% or keep more cash?

It depends on your reserves and your plans. Twenty percent can remove PMI and lower the payment, but it uses cash you might need for repairs or an emergency. The CFPB suggests an emergency cushion of at least three to six months of expenses. A housing counselor or tax professional can help you weigh it.

Do I have to use the lender's list of providers for closing services?

For services you are allowed to shop for, you can choose your own provider. The CFPB says costs from providers outside the lender's list are not subject to the 10% limit, so ask for a written price. Services you cannot shop for are chosen by the lender and shown separately on page 2.

What should I do if my rate or fees change before closing?

Ask your lender for a specific reason, and check whether you had a rate lock and what it says. You can stop working with the lender and choose another, or negotiate with the seller to delay closing. If you think the change was illegal, you may want to speak with an attorney or submit a complaint to the CFPB.

Does this calculator change by state?

The payment formula does not. State matters through the inputs you choose: price, property tax rate, insurance premium and HOA dues, which vary by location. BEA's 2024 housing price level ranged from 54.2 in West Virginia to 155.0 in the District of Columbia. Replace the starting values with figures for the actual property.

Sources

Related calculators

Updated October 15, 2026 · By Cost Calculator editorial team