Xerobit

Closing Cost Calculator

Enter your lender and title fees and this closing cost calculator totals them in the Loan Estimate layout. On a $400,000 home with 20% down and the sample fees, closing costs come to $9,754.79 and cash to close to $81,754.79.

Your lender decides which.

Closing costs

  • Upfront government fee rate
    0.00%

    No upfront government fee on a conventional loan

  • Upfront government fee
    $0.00
  • Loan amount
    $320,000.00
  • Down payment
    $80,000.00

    20% of the price

  • Prepaid interest per day
    $56.99

    Loan amount x rate / 365

  • Prepaid interest
    $854.79

    15 days

  • Loan costs
    $5,000.00

    Origination, services you cannot shop for (including the government fee), services you can shop for

  • Other costs
    $4,754.79

    Taxes and government fees, prepaids, initial escrow payment

  • Total closing costs
    $9,754.79

    Before any credits

  • Estimated cash to close
    $81,754.79

    Down payment plus closing costs, less financed fee, seller credit and deposit already paid

  • Escrow cushion limit
    $1,300.00

    Most a servicer may add as a cushion: one-sixth of annual taxes and insurance (12 CFR 1024.17(c)(1))

Estimate only. The fees you type in are your own estimates; your lender must give you a Loan Estimate with the actual figures.

How to use the closing cost calculator

  1. Enter the price, down payment and rate, and pick the loan type.
  2. Type in the fees from your Loan Estimate or your own quotes.
  3. Add insurance and tax amounts and the months collected at closing.
  4. Read total closing costs and the estimated cash to close.

What goes into closing costs

Closing costs are the up-front costs you are charged to get a mortgage, and they are listed on the Loan Estimate your lender must give you. The federal rule behind that form, Regulation Z section 1026.37, groups them into loan costs and other costs. Loan costs are origination charges, services you cannot shop for, and services you can shop for. Other costs are taxes and government fees (recording fees and transfer taxes), prepaids, and the initial escrow payment.

This closing cost calculator follows that layout. You type in the fees your lender and title company quote. It works out the parts that follow a rule: the government fee on VA loans, prepaid interest by day count, and the insurance and tax lines from your yearly bills.

The parts the calculator works out

  • VA funding fee: a percentage of the loan set by your down payment and whether it is your first use. The tool uses the purchase-loan table the VA published for rates effective April 7, 2023.
  • FHA and USDA upfront fee: set by the program, not the lender. The tool takes the percentage from your Loan Estimate and refuses a number above the ceiling in the federal rules, 2.25% of the loan for FHA premiums and 3.5% for the USDA guarantee fee.
  • Prepaid interest: loan amount times the rate, divided by 365 or 360, times the days from closing to the end of the month.
  • Prepaid and escrowed insurance and taxes: your yearly amount divided by 12, times the months collected.

A worked example

Take a $400,000 home with 20% down at 6.5% on a conventional loan, so the loan is $320,000 and the down payment $80,000. With 15 days of prepaid interest on a 365-day basis, interest is $56.99 per day, or $854.79 in total.

Add $2,000 of origination charges, $1,200 for services you cannot shop for and $1,800 for services you can shop for, which makes $5,000 of loan costs. Other costs are $150 recording, $1,800 for a year of homeowner's insurance, the $854.79 of interest, and an escrow deposit of three months of insurance ($450.00) and three months of taxes ($1,500.00 on $6,000 a year). That is $4,754.79, so total closing costs are $9,754.79. After the $80,000 down payment and an $8,000 deposit already paid, the estimated cash to close is $81,754.79.

Cash to close

Estimated cash to close is the down payment plus total closing costs, minus any closing cost financed into the loan, seller credit and earnest money you already paid. A VA, FHA or USDA fee that you add to the loan is subtracted for that reason, so financing it leaves your cash at closing unchanged but raises the loan and the payment. To see the payment effect, run the numbers in the VA loan calculator or the FHA loan calculator, and check the monthly payment against your income with the house affordability calculator.

What you still have to supply

Lender fees, appraisal, title insurance, survey and transfer taxes differ by lender, county and state, so the tool does not guess them. Use the figures on your Loan Estimate, or enter your own quotes. Transfer and recording taxes follow state and local law; if the seller pays them in your area, enter zero. Compare the same line across lenders: the CFPB advises looking at the total of each section, not single fees.

If you are weighing a new loan against your current one, the mortgage refinance calculator uses closing costs to find the break-even point, and the mortgage calculator gives the payment itself.

Escrow cushion

If your lender collects an escrow account, Regulation X section 1024.17(c)(1) limits the cushion it may add at settlement to one-sixth of the estimated annual payments from the account, which is two months. The tool shows that limit for the taxes and insurance you entered. It is a ceiling on the cushion, not the size of your initial deposit; the lender runs an escrow analysis to set that.

Mortgage insurance and HOA dues

Two optional lines cover costs the tool does not look up. Enter mortgage insurance (the FHA annual premium or conventional PMI) as a monthly amount taken from your Loan Estimate; the tool does not assert any rate. On the Loan Estimate it appears in the projected payments section on page 1, where Regulation Z section 1026.37(c) has the lender list mortgage insurance next to principal and interest and the escrow amount. If your lender collects some months of it at closing, enter that number of months and the tool adds them to prepaids under other costs, so they raise total closing costs and cash to close. Leave the months at 0 if none are collected.

HOA dues work the same way: a monthly amount and the months collected at closing. The projected payments rule does not name HOA dues, so ask the association and your lender what is collected and when. Both monthly amounts are shown as one total, but this tool does not compute your full monthly mortgage payment.

VA funding fee and your down payment

On a VA purchase loan the funding fee is a percentage of the loan, set by your down payment and whether it is your first use. The VA table effective April 7, 2023 (va.gov) is 2.15% for first use with under 5% down, 1.5% from 5% down and 1.25% from 10% down. After first use the rate is 3.3% under 5% down, then 1.5% and 1.25%. Here is the fee on a $400,000 price, computed by this calculator:

Down paymentFirst use feeFirst use $Later use feeLater use $
0% down2.15%$8,600.003.30%$13,200.00
5% down1.50%$5,700.001.50%$5,700.00
10% down1.25%$4,500.001.25%$4,500.00

A larger down payment helps twice, because the rate falls and the loan it applies to is smaller. Moving from no down payment to 5% cuts the first-use fee by $2,900. Choose VA as the loan type to see this table for your own price. The exempt option sets the fee to zero.

What this calculator cannot tell you

It is an estimate, not a quote. The lender fees, title and settlement charges, appraisal, transfer taxes by state and county, and recording fees are figures you enter, because they vary by lender, title company and location. Credits are limited to the costs they can offset: if you enter a seller or lender credit larger than the costs, the tool applies only the part that fits and tells you so, because the excess usually cannot be paid out. Whether a credit is allowed, and how much, depends on your loan program and contract.

For the real numbers, read the Loan Estimate your lender must provide within three business days of your application. The CFPB's Loan Estimate explainer walks through each page and section, and 12 CFR 1026.37 sets out what each line must contain. Compare the Closing Disclosure against it before closing.

Method and sources

Loan Estimate structure and the definitions of origination charges, services you can and cannot shop for, taxes and government fees, prepaids, initial escrow payment, total closing costs and cash to close: Regulation Z, 12 CFR 1026.37(f) to (h), as published in the Electronic Code of Federal Regulations in 2026. Escrow cushion: Regulation X, 12 CFR 1024.17(c)(1). FHA premium ceiling: 24 CFR 203.284(a)(1). USDA guarantee fee ceiling: 7 CFR 3555.107(g). VA funding fee table for purchase loans, effective April 7, 2023: Department of Veterans Affairs. CFPB guidance on reading the Loan Estimate supplies the description of fees set by the government program.

Arithmetic: loan = price minus down payment, plus the upfront fee if financed; fees are rounded to the cent at the end. Lenders differ in how they count interest days and round per-day interest, so your Loan Estimate can differ by a few dollars. The FHA and USDA rates change by notice and are not built in: enter yours. This is an estimate, not a quote or a Loan Estimate.

Worked examples

ExampleInputResult
Conventional, 20% downHome price ($): 400000; Down payment (%): 20; Interest rate (%): 6.5; Loan type: conventional; VA loan use (VA only): first; Exempt from the VA funding fee? (VA only): no; FHA or USDA upfront fee (%): 0; Add the upfront government fee to the loan?: yes; Origination charges ($): 2000; Services you cannot shop for ($): 1200; Services you can shop for ($): 1800; Recording fees and other taxes ($): 150; Transfer taxes you pay ($): 0; Days of prepaid interest: 15; Interest day count: 365; Homeowner's insurance per year ($): 1800; Property taxes per year ($): 6000; Insurance months paid at closing (prepaid): 12; Property tax months paid at closing (prepaid): 0; Insurance months in the initial escrow deposit: 3; Property tax months in the initial escrow deposit: 3; Mortgage insurance per month ($, optional): 0; Mortgage insurance months collected at closing: 0; HOA dues per month ($, optional): 0; HOA months collected at closing: 0; Lender credit ($): 0; Seller credit ($): 0; Earnest money deposit already paid ($): 8000Upfront government fee rate: 0.00%; Upfront government fee: $0.00; Loan amount: $320,000.00; Down payment: $80,000.00; Prepaid interest per day: $56.99; Prepaid interest: $854.79; Loan costs: $5,000.00; Other costs: $4,754.79; Total closing costs: $9,754.79; Estimated cash to close: $81,754.79; Escrow cushion limit: $1,300.00
VA, no down payment, fee financedHome price ($): 400000; Down payment (%): 0; Interest rate (%): 6.25; Loan type: va; VA loan use (VA only): first; Exempt from the VA funding fee? (VA only): no; FHA or USDA upfront fee (%): 0; Add the upfront government fee to the loan?: yes; Origination charges ($): 2000; Services you cannot shop for ($): 1200; Services you can shop for ($): 1800; Recording fees and other taxes ($): 150; Transfer taxes you pay ($): 0; Days of prepaid interest: 15; Interest day count: 365; Homeowner's insurance per year ($): 1800; Property taxes per year ($): 6000; Insurance months paid at closing (prepaid): 12; Property tax months paid at closing (prepaid): 0; Insurance months in the initial escrow deposit: 3; Property tax months in the initial escrow deposit: 3; Mortgage insurance per month ($, optional): 0; Mortgage insurance months collected at closing: 0; HOA dues per month ($, optional): 0; HOA months collected at closing: 0; Lender credit ($): 0; Seller credit ($): 0; Earnest money deposit already paid ($): 2000Upfront government fee rate: 2.15%; Upfront government fee: $8,600.00; Loan amount: $408,600.00; Down payment: $0.00; Prepaid interest per day: $69.97; Prepaid interest: $1,049.49; Loan costs: $13,600.00; Other costs: $4,949.49; Total closing costs: $18,549.49; Estimated cash to close: $7,949.49; Escrow cushion limit: $1,300.00
FHA with a 1.75% fee on the Loan EstimateHome price ($): 300000; Down payment (%): 3.5; Interest rate (%): 6.5; Loan type: fha; VA loan use (VA only): first; Exempt from the VA funding fee? (VA only): no; FHA or USDA upfront fee (%): 1.75; Add the upfront government fee to the loan?: yes; Origination charges ($): 2000; Services you cannot shop for ($): 1200; Services you can shop for ($): 1800; Recording fees and other taxes ($): 150; Transfer taxes you pay ($): 1500; Days of prepaid interest: 15; Interest day count: 365; Homeowner's insurance per year ($): 1800; Property taxes per year ($): 6000; Insurance months paid at closing (prepaid): 12; Property tax months paid at closing (prepaid): 0; Insurance months in the initial escrow deposit: 3; Property tax months in the initial escrow deposit: 3; Mortgage insurance per month ($, optional): 0; Mortgage insurance months collected at closing: 0; HOA dues per month ($, optional): 0; HOA months collected at closing: 0; Lender credit ($): 0; Seller credit ($): 0; Earnest money deposit already paid ($): 3000Upfront government fee rate: 1.75%; Upfront government fee: $5,066.25; Loan amount: $294,566.25; Down payment: $10,500.00; Prepaid interest per day: $52.46; Prepaid interest: $786.86; Loan costs: $10,066.25; Other costs: $6,186.86; Total closing costs: $16,253.11; Estimated cash to close: $18,686.86; Escrow cushion limit: $1,300.00

FAQ

How much are closing costs?

It depends on the loan, lender, title company and location, so no single percentage is reliable. Enter the fees from your Loan Estimate or your own quotes, and the closing cost calculator adds the rule-based items and totals them.

What is prepaid interest at closing?

Mortgage interest is paid in arrears, so you pay interest from the closing date to the end of that month at closing. The Loan Estimate shows it as an amount per day, the number of days and the rate.

Can I finance my closing costs?

Some can be added to the loan, such as the VA funding fee and the upfront FHA or USDA fee, and this tool treats them that way when you choose to finance. Lender fees and prepaids usually have to be paid in cash unless a lender credit covers them.

Why does the FHA or USDA fee field start at 0?

Those percentages are set by the programs and change by notice. Enter the percentage shown on your Loan Estimate. The tool only checks it against the ceilings in the federal rules, 2.25% for FHA and 3.5% for USDA.

Does this include transfer taxes?

Only the amount you type in. Transfer and recording taxes are set by state and local law and often split between buyer and seller by custom or contract, so enter what applies to you, or zero.

Is this the same as my Loan Estimate or Closing Disclosure?

No. It uses the same sections to give an early estimate. Your lender's Loan Estimate and Closing Disclosure carry the actual figures and take precedence.