calculate-loan

01 Loan payments

Closing Cost Estimation: How to Calculate

Calculator No. 01-27807 · Updated · Formula and assumptions shown below

Monthly payment $405.53
Total interest
$4,331.67
= Monthly payment × loan term × 12 − loan amount
Loan amount
$20,000
Input
Interest rate (APR)
8 %
Input
You enter
Loan amount ($), Interest rate (APR) (%), Loan term (years)
You get
Monthly payment ($), Total interest ($)
Rounding
2 dp

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

Closing costs are the fees you pay to finalize a mortgage, typically ranging from 2% to 5% of the loan amount. To estimate them, you add up lender fees, third-party services, and prepaid items, then compare that total to the Loan Estimate your lender provides. This article explains what drives those costs, how to estimate them yourself, and what to watch for.

Formula

The calculator above estimates your monthly mortgage payment and total interest, which helps you gauge how much cash you need for closing. The payment formula is the standard amortization equation:

M = P × [r(1 + r)^n] / [(1 + r)^n – 1]

Where:

  • M = monthly payment (in $)
  • P = loan principal, the amount you borrow (in $)
  • r = monthly interest rate = annual percentage rate (APR) divided by 12, expressed as a decimal (e.g., 8% APR → 0.08/12 = 0.006667)
  • n = total number of monthly payments = loan term in years × 12

The total interest is simply the monthly payment multiplied by the number of payments, minus the principal: Total Interest = M × n – P.

Worked Example

Using the default values from the calculator: loan amount $20,000, APR 8%, term 5 years.

  1. Convert APR to monthly rate: r = 8 / 1200 = 0.0066667.
  2. Number of payments: n = 5 × 12 = 60.
  3. Calculate the payment: M = 20000 × [0.0066667 × (1.0066667)^60] / [(1.0066667)^60 – 1].
  4. (1.0066667)^60 ≈ 1.48985.
  5. Numerator: 20000 × 0.0066667 × 1.48985 ≈ 198.65.
  6. Denominator: 1.48985 – 1 = 0.48985.
  7. M ≈ 198.65 / 0.48985 ≈ 405.53.

So the monthly payment is about $405.53 (the calculator rounds to $405.53). Total interest = 405.53 × 60 – 20000 = 24,331.80 – 20,000 = $4,331.80. That matches the calculator’s output.

Assumptions

  • Fixed interest rate for the entire term (no rate changes).
  • Payments are made monthly at the end of each period.
  • Interest compounds monthly at APR/12.
  • This payment estimate does not include property taxes, homeowners insurance, PMI, HOA fees, or any closing costs—those are separate.

What Are Closing Costs?

Closing costs are the one-time fees paid when the ownership of a home transfers from seller to buyer. They cover the work done by lenders, title companies, appraisers, and government agencies. For a typical home purchase, you might pay between $5,000 and $15,000 on a $300,000 mortgage, but the exact number depends on your loan type, location, and lender.

Common categories include:

  • Loan origination fees – the lender’s charge for processing your loan, often 0.5% to 1% of the loan amount.
  • Appraisal fee – to determine the home’s value, usually $300–$600.
  • Title search and insurance – to verify ownership and protect against title defects, often $500–$1,500.
  • Credit report fee – $30–$100.
  • Recording fees – to file the deed and mortgage with the local government, typically $100–$300.
  • Prepaid items – such as property taxes and homeowners insurance, which you pay into an escrow account at closing.

How to Estimate Your Closing Costs

You can get a rough estimate by multiplying your loan amount by 2% to 5%. For a more precise figure, follow these steps:

  1. Ask your lender for a Loan Estimate—a standardized three-page form that lists all fees. You’re entitled to one after you apply.
  2. Review each fee: some are fixed (like credit report), some are percentage-based (like origination), and some are pass-through costs (like title insurance).
  3. Add up all lender fees, third-party fees, and prepaid items. Don’t forget escrow deposits for taxes and insurance.
  4. Compare the total to your savings to ensure you have enough cash at closing.

For a quick ballpark, use the calculator above to see your monthly payment, then set aside 2–5% of the loan amount for closing costs.

Factors That Affect Closing Costs

Several variables can push your costs higher or lower:

  • Loan amount – larger loans usually mean higher origination fees and title insurance premiums.
  • Location – state and local taxes, recording fees, and title insurance rates vary widely. For example, title insurance is more expensive in some states because of different regulations.
  • Loan type – FHA, VA, and conventional loans have different fee structures. Some programs allow the seller to pay part of your closing costs.
  • Lender – each lender sets its own origination and processing fees, so shopping around can save you hundreds.
  • Timing – if you close near the end of the month, you’ll pay fewer days of prepaid interest.

Common Misconceptions

One common myth is that closing costs are always 3% of the loan amount. That’s a rough average, but the actual percentage can be lower for large loans (because some fees are flat) or higher for small loans. Another misconception is that you can avoid closing costs entirely—some lenders offer “no-closing-cost” loans, but they typically charge a higher interest rate to compensate, so you pay more over time.

Also, don’t confuse closing costs with your down payment. The down payment is part of the purchase price, while closing costs are separate fees. You need both in cash at closing.

How to Reduce Closing Costs

While you can’t eliminate all fees, you can lower them:

  • Compare Loan Estimates from at least three lenders—look at the total fees, not just the interest rate.
  • Ask the seller to pay a portion of your closing costs as part of the negotiation (common in buyer’s markets).
  • Negotiate with the lender to waive the application fee or reduce the origination fee.
  • Schedule your closing at the end of the month to minimize prepaid interest.
  • Shop for your own title company, appraiser, and home inspector—some lenders allow you to choose.

Remember, a lower closing cost offer might come with a higher interest rate, so compare the total cost over the life of the loan, not just the upfront figure.

Frequently Asked Questions

Can I roll closing costs into my mortgage?

Yes, some lenders allow you to finance your closing costs by adding them to the loan principal, but that increases your monthly payment and total interest. You’ll also need a higher loan amount, which might affect your loan-to-value ratio or require mortgage insurance.

Are closing costs tax-deductible?

Some closing costs, like mortgage interest prepaid at closing, may be deductible on your federal income taxes, but the rules change frequently and depend on your situation. Consult a tax professional for advice.

Who pays closing costs, buyer or seller?

In most home purchases, the buyer pays the majority of closing costs, but the seller often pays for real estate agent commissions and sometimes contributes to the buyer’s costs as part of the negotiation. The exact split is stated in the purchase agreement.

Why is my closing cost estimate different from the final number?

Your Loan Estimate is an estimate, and the final Closing Disclosure (provided three days before closing) may differ if interest rates change, property taxes are reassessed, or you chose different service providers. Review the Closing Disclosure carefully and ask about any line that changed by more than 10%.

Do I need to pay closing costs in cash?

Yes, closing costs are typically paid via a cashier’s check or wire transfer at closing, unless you’ve arranged to finance them. You’ll need to bring enough cash to cover the total, which is why estimating ahead is important.

Can I get a refund on closing costs if the deal falls through?

Some fees, like the application fee, are non-refundable. Others, like the appraisal fee, are paid to third parties and won’t be refunded if you cancel. However, if the seller backs out and you had a contract, you might be able to recover some costs through legal action—but that’s rare.

Remember, this estimate is for educational purposes only, and your lender’s Loan Estimate and Closing Disclosure provide the exact figures for your specific transaction.

Related

Formula used
in p | Loan amount | $ | 20000 | 1 | 100000000
in apr | Interest rate (APR) | % | 8 | 0.01 | 100
in yrs | Loan term | years | 5 | 0.0833 | 50
out pmt | Monthly payment | $ | p * (apr / 1200) / (1 - (1 + apr / 1200) ^ -(yrs * 12)) | 2
out int | Total interest | $ | pmt * yrs * 12 - p | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.

More in this section

The whole Loan payments section →