Closing costs are the fees paid when a home purchase or refinance closes, including lender charges, third-party services, government fees, prepaid items, and escrow deposits. They are calculated by adding each itemized charge on the Loan Estimate and Closing Disclosure, not by applying one fixed percentage to the home price. The CFPB says closing costs, not including the down payment, typically range from 2% to 5% of the purchase price.

What charges are included in closing costs?

Closing costs include four broad groups: lender charges, third-party closing services, government fees, and prepaid or escrow items. Each group has its own math and its own rules for whether the number can change before closing.

GroupExamplesHow it is calculated
Lender chargesOrigination fee, underwriting, discount pointsPercentage of the loan amount, flat fee, or 1% per point
Third-party servicesAppraisal, credit report, title insuranceFlat fee or quoted price; some can be shopped
Government feesTransfer taxes, recording feesSet by state or local schedule
Prepaids and escrowPrepaid interest, insurance, property taxesDaily interest math plus an escrow deposit

The CFPB’s total loan costs figure adds origination fees, charges for services you cannot shop for, charges for services you can shop for, and discount points. It does not include every dollar you bring to closing. Prepaids and escrow explain why cash to close can exceed the loan-cost total; escrow is the main reason the cash figure moves.

How are closing costs calculated from the loan amount?

Lender charges are often calculated as a percentage of the loan amount, while third-party and government charges are usually flat amounts. A 1% origination fee on a $240,000 loan is $2,400: $240,000 × 0.01 = $2,400. One discount point also equals 1% of the loan amount; on a $100,000 loan, one point is $1,000.

The loan amount, not the home price, is the base for points and many lender fees. If you put 20% down on a $300,000 home, the loan is $240,000, so one point costs $2,400. Mortgage points add cash upfront, while lender credits do the reverse.

What is the 2% to 5% rule, and when does it fail?

The 2% to 5% range is a budgeting shortcut from the CFPB, not a calculation formula. It fails when taxes, insurance, escrow deposits, or discount points are unusually high or low relative to the home price.

Median total loan costs for home purchase loans were $6,684 in 2023, up 12.3% from $5,954 in 2022. The increase is $730: $6,684 - $5,954 = $730, and $730 ÷ $5,954 = about 0.123. For a $300,000 purchase, 2% is $6,000 and 5% is $15,000, so the percentage rule gives a wide cash range.

The median $6,684 is a national figure for total loan costs, not a quote for a $300,000 home. It also leaves out prepaids and escrow, which can be a large part of the cash you bring to closing. Use the range for planning, then replace it with the itemized Loan Estimate.

How do Loan Estimate tolerances change the final closing cost?

Loan Estimate tolerances cap how much certain closing costs can increase before the Closing Disclosure. The lender must send the Loan Estimate within three business days after receiving your application and the Closing Disclosure at least three business days before closing.

Tolerance bucketExamplesMaximum increase
Zero toleranceLender and broker fees, fees for required services you cannot shop for, transfer taxes$0
10% cumulativeRecording fees and required services you shop for from the lender’s written list10% of the bucket total
No limitPrepaid interest, insurance premiums, escrow deposits, services you shop for off the listAny amount

If the 10% bucket totals $1,000 on the Loan Estimate, the final total can be at most $1,100: $1,000 × 0.10 = $100, then $1,000 + $100 = $1,100. A $1,200 lender origination fee in the zero-tolerance bucket must stay at $1,200 or less. A documented change in circumstances can let the lender revise costs outside the normal limits.

How do discount points and lender credits change closing costs?

Discount points add to closing costs and lender credits reduce them, but both trade cash today for a different interest rate. One point costs 1% of the loan amount, so a $300,000 loan has a $3,000 point.

If that point lowers the monthly payment by $50, the break-even is 60 months: $3,000 ÷ $50 = 60. A lender credit works in reverse: you accept a higher rate, and the lender credits closing costs. Compare the loan with and without the credit using APR, because APR includes the rate plus fees.

How do you calculate closing costs step by step?

Start with the loan amount, list every itemized fee, separate loan costs from prepaids and escrow, then compare the total with the cash you must bring. The steps below use a hypothetical example, not a lender quote.

Step 1: Set the loan amount

Use the purchase price minus your down payment. A $300,000 home with 20% down has a $60,000 down payment and a $240,000 loan: $300,000 × 0.20 = $60,000; $300,000 - $60,000 = $240,000.

Step 2: Add lender, third-party, government, and prepaid items

Apply percentage fees to the loan amount and add flat fees. The table uses round, made-up amounts to show the arithmetic; it is not a quote.

ItemCalculationAmount
Origination fee1% of $240,000$2,400
AppraisalFlat amount$600
Credit reportFlat amount$50
Title insuranceFlat amount$1,500
Recording feeFlat amount$150
Transfer taxFlat amount$900
Prepaid interestFlat amount$700
Homeowners insuranceAnnual premium$1,200
Initial escrow depositFlat amount$1,000
TotalAdd all items$8,500

The total is $8,500: $2,400 + $600 + $50 + $1,500 + $150 + $900 + $700 + $1,200 + $1,000 = $8,500. Divide by the $300,000 purchase price to get 2.83%: $8,500 ÷ $300,000 = 0.0283. That falls inside the CFPB’s 2% to 5% range.

Step 3: Separate total loan costs from cash to close

Total loan costs include origination, services, and points. Cash to close adds the down payment, prepaids, insurance, and escrow, then subtracts seller credits or lender credits.

The $8,500 above is closing costs, not the full cash to close. Add the $60,000 down payment to get $68,500 before credits: $8,500 + $60,000 = $68,500. Seller credits could reduce that amount, but they may also affect the price you negotiate.

Step 4: Check the tolerance buckets and credits

Compare each Loan Estimate line with the Closing Disclosure. Zero-tolerance fees cannot rise; the 10% bucket can rise by no more than 10% in total; prepaids and escrow can change.

A credit that appears only at the last minute can change the cash due, but it does not make the underlying fees disappear. Ask for a revised Closing Disclosure anytime the loan terms change.

Does a no-closing-cost loan really have zero closing costs?

No. A no-closing-cost loan moves the cost into a higher interest rate, a lender credit, or the loan balance; the CFPB says the costs are not free. The label describes who pays cash at closing, not the total cost of the loan.

ApproachWhat happensBest fit
Pay costs in cashYou keep the loan balance and rate lowerBuyer with cash reserves
Take a lender creditLender covers some costs and you accept a higher rateBuyer short on cash who plans to keep the loan for a shorter time
Roll costs into the loanThe balance rises and interest accrues on the added feesBuyer who wants to preserve cash and accepts a larger balance

A higher rate usually costs more the longer you keep the loan. A rolled-in balance raises both the principal and the interest paid over time. Ask for the Loan Estimate with and without the credit before choosing.

Common mistakes

  • Comparing only the interest rate. APR includes the rate plus fees and is meant to compare the full cost over the loan term.
  • Ignoring prepaids and escrow. These items can move cash to close even when lender fees stay fixed.
  • Missing the 10% cumulative bucket. Recording fees and shoppable services from the lender’s list share one cap, so one overage can consume room for another.
  • Shopping too late. You can shop for services in Section C, and the lender must give a written list of providers with the Loan Estimate.
  • Skipping multiple Loan Estimates. The CFPB says getting multiple Loan Estimates can potentially save $600 to $1,200 per year.
  • Forgetting the three-day review. The Closing Disclosure must arrive at least three business days before closing, which is your last clean look at the numbers.