calculate-loan

01 Loan payments

Closing Cost Formula for a Loan: What to Include

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

Estimated closing costs and prepaids after credits $5,500.00
Net costs as a percentage of loan
2.75 %
Result, rounded to 2 decimal places
Loan amount
$200,000
Input
Closing fees
$4,000
Input
You enter
Loan amount ($), Closing fees ($), Prepaids and deposits ($), Credits and amounts already paid ($)
You get
Estimated closing costs and prepaids after credits ($), Net costs as a percentage of loan (%)
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.

A loan’s closing costs are the fees and prepaid amounts due to complete the transaction; they are not calculated by one universal formula. Add each applicable charge from the lender’s estimate or closing disclosure, then subtract any credits: cash to close = closing costs + required prepaid items and deposits − credits − any amount already paid. This calculator estimates that total from figures you enter and shows the cost per loan dollar; it does not determine which charges apply to a particular loan.

Formula

The calculator applies two formulas:

  • Net closing costs and prepaids = F + P − C
  • Net costs as a percentage of the loan = (F + P − C) ÷ L × 100

F is the sum of closing fees in dollars; P is the sum of prepaid items and deposits in dollars; C is credits plus amounts already paid in dollars; and L is the loan amount in dollars. The percentage is a comparison measure, not a fee rate charged by the lender. Because fees and credits differ by transaction, the calculator uses your figures rather than estimating them from a universal percentage.

Worked Example

Using the calculator’s default inputs:

  • Loan amount, L = $200,000
  • Closing fees, F = $4,000
  • Prepaids and deposits, P = $2,000
  • Credits and amounts already paid, C = $500

First add the fees and prepaid items: $4,000 + $2,000 = $6,000. Then subtract the credits and amounts paid: $6,000 − $500 = $5,500 estimated net costs and prepaids. For the comparison percentage, divide $5,500 by $200,000 and multiply by 100: 2.75%. These results include only the amounts represented by the inputs; they are not a quote or a complete cash-to-close figure unless all relevant items are included.

What Closing Costs Include

“Closing costs” is a broad label, not one standardized line item. Depending on the transaction and the lender’s documents, charges can relate to loan processing, valuation, title or settlement services, recording, or other services. Some amounts are paid to the lender, while others go to third parties. Obtain the itemized figures from the parties handling the transaction rather than assuming a particular fee applies.

Closing documents may also show prepaid amounts and deposits. These can include funds collected in advance for items such as insurance, taxes, or an escrow account, where applicable. They affect the cash needed at closing, but they are conceptually different from a fee for originating or processing a loan. This calculator groups them separately so you can see what you included.

Credits may come from a lender or another party involved in the transaction, and some costs may already have been paid. Enter only credits and paid amounts that actually reduce the amount still due. Check the documents for how each credit is applied; a credit may be limited to specified charges and may not reduce every component of cash to close.

How to Use the Estimate

  1. Enter the loan principal shown in the loan documents. Do not substitute the purchase price or property value unless it is also the actual loan amount.
  2. Add the relevant itemized closing fees together and enter their total as closing fees.
  3. Add applicable prepaid items and deposits into their separate total.
  4. Enter credits and amounts already paid that reduce the remaining amount due.
  5. Compare the result with the lender’s current itemized estimate, and update the inputs when figures change.

The first result is the net amount represented by your inputs, while the second expresses that amount relative to the principal. Neither result is necessarily the full cash you must bring. Cash to close can also reflect other transaction amounts, such as a down payment or funds due to the seller, and may be adjusted for other payments and credits. Use the transaction documents’ own cash-to-close figure for the actual amount requested.

Common Errors and Limits

  • Using the wrong base: The loan amount is not automatically the purchase price. Confirm the principal that will be borrowed.
  • Counting an item twice: If a fee is included in the closing-fee total, do not include it again in prepaids. Likewise, avoid subtracting an amount already reflected as a credit.
  • Confusing total cost with cash due: The calculator does not include a down payment or every possible transaction adjustment unless you enter it in a suitable input.
  • Applying a percentage shortcut: Multiplying the loan amount by a guessed closing-cost percentage can miss fixed fees, prepaid amounts, credits, and transaction-specific charges.
  • Rounding too early: Sum exact document amounts first, then round the final display to cents. The percentage is rounded to two decimal places.

The inputs allow nonnegative amounts and do not prevent credits from exceeding the listed fees and prepaids. In that case, the net result can be negative, indicating that the entered credits are larger than the entered costs—not that the lender will necessarily pay you that amount. Review how credits are applied in the actual documents.

Frequently Asked Questions

What is the formula for closing costs on a loan?
There is no single formula for all fees. For a basic estimate, add applicable closing fees and prepaid items, then subtract credits and amounts already paid: F + P − C.

Are closing costs calculated as a percentage of the loan?
They can be expressed as a percentage for comparison, but that is not a universal way to calculate the actual bill. The calculator divides your entered net costs by the loan amount and multiplies by 100.

Are prepaid items the same as closing fees?
No. Fees generally pay for services or transaction charges; prepaid items are amounts collected in advance for applicable expenses or deposits. Both may affect the cash needed at closing, so review them as separate document categories.

Does this calculate my total cash to close?
Not necessarily. It totals only fees, prepaids, deposits, credits, and amounts paid that you enter. Cash to close may include a down payment and other transaction adjustments, so check the lender’s itemized disclosure for that figure.

Why is my lender’s estimate different?
Inputs may omit a charge, use a revised amount, count a credit differently, or include costs outside this calculator’s categories. Compare line items and dates against the latest documents instead of relying only on the total.

Assumptions

  • The loan amount and all cost inputs are dollar amounts for the same transaction.
  • Closing fees, prepaids, deposits, credits, and payments are entered once, in the appropriate category.
  • The calculator does not estimate fees, determine eligibility for credits, or include a down payment or other unentered transaction amounts.

This result is an estimate; the lender’s disclosure gives the exact figures.

Related

Formula used
in loan | Loan amount | $ | 200000 | 1 | 100000000
in fees | Closing fees | $ | 4000 | 0 | 100000000
in prepaid | Prepaids and deposits | $ | 2000 | 0 | 100000000
in credits | Credits and amounts already paid | $ | 500 | 0 | 100000000
out cash | Estimated closing costs and prepaids after credits | $ | fees + prepaid - credits | 2
out pct | Net costs as a percentage of loan | % | (fees + prepaid - credits) / loan * 100 | 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 →