The formula
Loan amount = price × (1 − down payment %)
Lender fees = loan × (origination % + points %) + appraisal + underwriting
Title & third-party = price × title insurance % + settlement + inspection + attorney
Taxes & recording = price × transfer tax % + recording fees
Prepaids = price × tax rate ÷ 12 × escrow months + insurance premium + loan × rate ÷ 365 × days
Closing costs = lender + third-party + taxes + prepaids
Cash to close = down payment + closing costs
Worked example
- A $400,000 home with 20% down: $80,000 down and a $320,000 loan.
- Lender fees: 0.5% origination ($1,600) + $600 appraisal + $1,000 underwriting = $3,200.
- Title and third-party: 0.5% title insurance ($2,000) + $900 settlement + $700 inspection + $500 attorney = $4,100.
- Recording fees: $250 (no buyer transfer tax).
- Prepaids: 3 months of 1.1% property tax ($1,100) + $1,500 insurance + 15 days of interest at 6.5% ($854.79) = $3,454.79.
- Total closing costs are $11,004.79 (2.75% of the price), and cash to close is $91,004.79.
What closing costs are
Closing costs are the fees and prepaid expenses you pay to complete a home purchase, on top of the down payment. In the US they typically total 2–5% of the purchase price for buyers. They fall into four groups, which this calculator itemises:
- Lender fees: origination, discount points, underwriting, credit report and appraisal.
- Title and third-party fees: title search and insurance, settlement or escrow agent, attorney, inspection and survey.
- Government fees: recording fees and any transfer taxes.
- Prepaids and escrow: property tax and insurance paid in advance, and interest from closing to the end of the month.
Prepaids aren't really fees
Prepaid items are costs you'd pay anyway as an owner. They're paid at closing to set up your escrow account and cover the first year's insurance. They still count toward the cash you need, but when you compare lenders, focus on the lender and third-party fees, which differ between offers. The calculator shows that figure separately in the notes ($7,550 in the example).
How to compare and reduce closing costs
- Get a Loan Estimate from at least three lenders. US lenders must provide one within three business days of your application, in a standard format.
- Ask whether points are optional. Each point costs 1% of the loan and usually lowers the rate by about 0.25%. Only pay them if you'll keep the loan long enough to break even.
- Shop for title insurance and settlement services where your state allows it.
- Negotiate seller credits, especially in a slower market.
- Check first-time buyer and down-payment assistance programmes, which often cover closing costs.
Transfer taxes vary enormously
Who pays transfer tax, and how much, depends on where you buy. Many US states charge little or nothing, others charge 1–2% or more, and some cities add their own tax. Often the seller pays by custom. Outside the US it's usually the biggest closing cost for buyers: stamp duty land tax in England and Northern Ireland, stamp duty in Australian states, land transfer tax in Ontario and British Columbia, and stamp duty and registration charges in India (typically 5–8% combined, often with lower rates for women buyers). Enter your local rate in Transfer tax paid by buyer.
Rolling costs into the loan
On a purchase you usually can't add closing costs to the loan, but you can ask for a lender credit: the lender covers some costs in exchange for a slightly higher interest rate. That keeps more cash in your pocket now but costs more over time. When refinancing, costs can often be added to the new balance. Our refinance calculator shows the trade-off.
Plan your total cash
Lenders will want to see that you have the full cash to close in verified accounts, and many like to see reserves on top: a few months of mortgage payments left over. Add moving costs, furniture and immediate repairs. Use our affordability calculator to check the price range and the savings goal calculator to plan how long it will take to save. Finally, compare the Closing Disclosure you receive at least three business days before closing with your original Loan Estimate. Some fees can't rise at all, and others can only rise by 10% in total, so query any increase before you sign.