Closing cost calculator: your Loan Estimate line by line, and your cash to close
Complete home loan kit, $49The Complete Home Loan Kit: FHA, VA, USDA and ConventionalFrom application to keys: the TRID calendar, a line-by-line Loan Estimate comparison, title and appraisal checks, and the Closing Disclosure tolerance check. 3 workbooks, instant access
See what is inside, $49Closing costs are not one fee but many, and the Loan Estimate groups them in fixed sections. This calculator follows the same layout: type the fees you were quoted (or the placeholders, to see the mechanics), and it computes the parts that are pure arithmetic — prepaid interest from your closing date, the first year of homeowners insurance, the escrow deposit — then your cash to close after the seller credit, lender credit and earnest money. Pick your state to see whether it charges a transfer or mortgage tax. It also checks the seller credit against the cap for your loan type.
| A. Origination charges | $3,600 |
|---|---|
| B. Services you cannot shop for | $1,200 |
| C. Services you can shop for | $2,500 |
| D. Total loan costs | $7,300 |
| E. Taxes and other government fees | $500 |
| F. Prepaids | $2,633 — 12 months of insurance + 16 days of interest ($1,133) |
| G. Initial escrow payment | $1,375 — 3 months of tax and insurance |
| I. Total other costs | $4,508 |
| Cash to close | $47,808 = down payment $40,000 + closing costs − seller credit $0 − lender credit $0 − earnest money $4,000 |
| Seller credit limit | $24,000 (6% of the price, conventional at 90.0% LTV) |
Sections B, C and E are what you type: use the figures on page 2 of your Loan Estimate. The prepaid interest assumes a 30-day month; the escrow cushion and months collected depend on your servicer’s escrow analysis.
Worked example with the default numbers above; turn on JavaScript to recompute with yours.
The formula
F. Prepaids = 12 months of homeowners insurance + prepaid interest, where prepaid interest = loan × rate ÷ 365 × days from closing to the end of the month.
G. Initial escrow = (annual tax + annual insurance) ÷ 12 × months collected.
I. Other costs = E + F + G (+ H, other). J. Total closing costs = D + I.
Cash to close = down payment + J − seller credit − lender credit − earnest money.
The Loan Estimate, section by section
Every lender must give you a Loan Estimate no later than the third business day after it receives your application (12 CFR 1026.19(e)), in a format fixed by federal regulation (12 CFR 1026.37). Page 2 is the closing-cost page, and its letters are the same for every lender, which is what makes offers comparable. Loan Costs come first: A. Origination Charges (what the lender and broker charge to make the loan, with any points shown as a percentage of the loan), B. Services You Cannot Shop For (appraisal, credit report, flood determination and other services the lender picks), C. Services You Can Shop For (title services, settlement agent, survey, pest inspection — the lender lists providers but you may choose your own), and their total, D. Other Costs follow: E. Taxes and Other Government Fees (recording fees and transfer taxes), F. Prepaids (homeowners insurance premium, mortgage insurance premium, prepaid interest, property taxes paid in advance), G. Initial Escrow Payment at Closing, H. Other, and their total, I. J. Total Closing Costs is D + I.
The calculator mirrors that structure so you can type your Loan Estimate into it line for line, change one figure — a different title company, a lender credit — and see the effect on the bottom line.
The parts that are pure arithmetic
- Prepaid interest: mortgage interest is paid in arrears, so at closing you pay the interest from the closing date to the end of that month; your first regular payment is then due on the first day of the month after next. Closing late in the month means fewer days to prepay — but not a cheaper loan, only a different timing. The calculator multiplies the loan by the rate, divides by 365 and multiplies by the days left in a 30-day month.
- Homeowners insurance: the first year’s premium is usually paid at or before closing; it is a prepaid item in section F.
- Initial escrow: if your loan has an escrow account, the servicer collects a few months of property tax and insurance up front so the account can pay the next bills when they fall due. The number of months depends on your tax due dates; federal escrow rules limit the cushion the servicer may hold.
Credits that reduce your cash to close
Three amounts come off the total. Earnest money you deposited when the offer was accepted is credited to you. A lender credit is money the lender gives toward costs in exchange for a higher rate — the mirror image of points. A seller credit (seller concession) is negotiated in the purchase contract, and each program caps it as a percentage of the price. Fannie Mae’s interested-party contributions on a principal residence or second home are capped at 3% when the loan-to-value is above 90%, 6% between 75.01% and 90%, and 9% at 75% or less (2% on investment property), calculated on the lower of price and appraised value (Selling Guide B3-4.1-02). FHA allows the seller to contribute up to 6% of the price toward the buyer’s costs, and VA caps seller concessions at 4% of the home’s reasonable value. A credit above the cap cannot be used as written: the excess usually has to be renegotiated, often as a lower price, or it is lost — so the result warns you when you exceed it. VA is the exception to watch: according to VA, the seller paying your normal closing costs is not limited and does not count toward the 4% concession cap, so the warning is only a prompt to check with your lender. More detail: seller concession limits.
State taxes: the line that varies most
Section E is where states differ most. Some states charge no real estate transfer tax at all; others charge a transfer tax, a mortgage recording tax, or both, and the custom on who pays (buyer or seller) also varies by state and sometimes by county. Pick your state above: the calculator shows the rule our state page summarizes, and the mortgage laws by state pages give the details with the statutes. Title insurance premiums, in section C, are also regulated or even fixed by the state in some places.
What closing costs usually include, and what they do not
Closing costs are separate from the down payment and from moving, inspection and repair money. Whether you can roll them into the loan depends on the program and the loan-to-value; on a purchase, most must be paid in cash or covered by credits, which is why the affordability calculator keeps them out of its down payment field. Programs run by state housing finance agencies sometimes help with them (see down payment and closing cost assistance programs). Three business days before closing you receive the Closing Disclosure with the final figures; certain fees may not increase from the Loan Estimate at all, others only within a 10% total tolerance — compare them line by line with the Closing Disclosure guide.
Free printable worksheet
Do the same arithmetic on paper, with your Loan Estimate next to it:

Guides that go with this calculator
- Closing costs for buyers: how much to expect, and what is negotiable
- /guides/closing-disclosure-explained/
- Seller concessions limits: how much a seller can pay toward your closing costs
- /guides/down-payment-assistance-programs/
- Title insurance: what it covers, who it protects, and what it should cost
- Home closing checklist for buyers: the last ten days, the walkthrough, the wire and what you sign
- How to compare Loan Estimates and mortgage offers, line by line
Other mortgage calculators
- Home affordabilitymax price from income, debts and DTI limits
- Amortization scheduleevery payment split into principal and interest
- Mortgage payoffextra or biweekly payments, interest saved
- Refinancemonthly savings, break-even, cash-out
- HELOC paymentline size, interest-only and repayment
- Debt-to-income ratiofront-end and back-end, against program limits
- FHA loanupfront and annual MIP, 2026 FHA limits
- VA loanfunding fee from VA’s table, no PMI
- Rent vs buynet worth of each path, year by year
- Monthly paymentPITI with PMI or FHA MIP, by state
Frequently asked questions
How much are closing costs on a $400,000 house?
It depends on the lender’s charges, your state’s taxes, title insurance rates and how many months of escrow are collected, which is why this calculator does not invent a percentage. Enter the figures from your Loan Estimate; the result also expresses the total as a percentage of the price and of the loan so you can compare offers.
What is the difference between closing costs and cash to close?
Closing costs (section J) are the fees and prepaid items. Cash to close is what you actually bring: the down payment plus closing costs, minus seller and lender credits, minus the earnest money you already paid. It appears on page 2 of the Loan Estimate under “Calculating Cash to Close”.
Why do I pay interest at closing?
Mortgage interest is paid in arrears: your first regular payment covers the previous month. At closing you prepay the interest from the closing date to the end of that month so the first full month starts clean. It is not an extra cost of the loan, only a timing of interest you would pay anyway.
Can the seller pay all my closing costs?
Up to the program cap and never more than the actual costs: conventional loans (Fannie Mae) allow 3%, 6% or 9% of the price depending on loan-to-value, FHA 6%, and VA caps seller concessions at 4% of reasonable value, while seller payment of normal closing costs is not limited under VA’s rules.
Which closing costs can I shop for?
The services in section C of the Loan Estimate — typically title services, the settlement agent and a survey. The lender must give you a list of providers, but you may choose others. Section B services are chosen by the lender.
Sources
- eCFR — 12 CFR 1026.37, content of the Loan Estimate (Loan Costs, Other Costs, Calculating Cash to Close)
- eCFR — 12 CFR 1026.19(e)-(f), Loan Estimate within three business days of application, Closing Disclosure three business days before consummation, tolerances
- Fannie Mae Selling Guide B3-4.1-02 — Interested Party Contributions (IPCs)
- HUD — Single Family Housing Policy Handbook 4000.1
- U.S. Department of Veterans Affairs — VA funding fee and loan closing costs (rates effective April 7, 2023)
- Freddie Mac — Primary Mortgage Market Survey (default interest rate)
All tools: mortgage calculators. This week’s rates: mortgage rates.