Loans & Amortization · Loan Basics

Total Cost of Loan Calculator: Everything You Pay to Borrow

The sticker price of a loan is not the amount you borrow. Over its life you also hand over interest, often a large sum, plus the fees paid to close. This total cost of loan calculator adds principal, interest and upfront fees into a single lifetime figure, and shows the monthly payment that gets you there. It suits big, long loans where fees and term matter most, such as a mortgage, a business loan or a large personal loan.

  • Updated
  • By the Editorial Team
  • Free, no sign-up
  • 3 primary sources

What is the total cost of a loan?

The total cost of a loan is everything you pay from closing to the final payment: the principal you borrowed, all the interest charged over the term, and any upfront fees such as origination charges or points. For a fixed-rate loan kept to term, it equals the monthly payment times the number of payments, plus fees.

Results are estimates for US borrowers and savers, in US dollars. How our calculators work · Spot a problem?

How does the calculator add up a loan's lifetime cost?

It computes the fixed monthly payment from the loan amount, the annual rate divided by 12 and the number of months. Multiplying that payment by the number of payments gives everything you send the lender over the term.

Subtracting the principal from that sum isolates total interest. The calculator then adds your upfront fees, which it treats as paid in cash at closing, to reach the lifetime cost: principal plus interest plus fees.

This framing helps when comparing a low-fee, higher-rate offer with a high-fee, lower-rate one. The monthly payment hides fees, but the lifetime cost does not.

M = P × r × (1 + r)^n ÷ ((1 + r)^n − 1)
Total interest = M × n − P
Lifetime cost = P + Total interest + F
P
loan amount (principal)
r
monthly rate (annual rate ÷ 12)
n
number of monthly payments
M
monthly principal-and-interest payment
F
upfront fees paid at closing

Example: a $210,000, 30-year loan with $6,300 in fees

Scenario: Picture a $210,000 home loan at an illustrative 6.375% fixed rate for 30 years, with $6,300 of origination and closing fees paid in cash.

  1. Monthly rate6.375% ÷ 12 = 0.53125% (0.0053125)
  2. Monthly payment$210,000 over 360 months at 0.53125% = $1,310.13
  3. All payments$1,310.13 × 360 = $471,646.80
  4. Total interest$471,646.80 − $210,000 = $261,646.80
  5. Lifetime cost$210,000 + $261,646.80 + $6,300 = $477,946.80

Borrowing $210,000 this way costs about $477,946.80 over 30 years, of which $267,946.80 is interest and fees.

Property taxes, insurance and any mortgage insurance would be on top of this principal-and-interest figure.

When does the lifetime figure matter more than the payment?

01

Comparing offers with different fees

A lender charging more at closing may offer a lower rate. Lifetime cost shows which combination is cheaper if you keep the loan to term.

02

Choosing a loan term

Running 15, 20 and 30 years side by side shows how much of the total is pure interest for each choice.

03

Deciding whether to buy points

Enter the higher fees and the lower rate the points buy, then compare the lifetime cost with the no-points version.

04

Explaining a big purchase to a household

A single all-in number is easier to discuss than a rate and a payment, especially for a long loan.

Where do total-cost estimates go wrong?

  • Leaving out fees

    Origination charges, points and lender fees are real costs of the loan. Without them, a high-fee offer looks cheaper than it is.

  • Assuming you will hold the loan to term

    Many long loans are refinanced or repaid early. In that case, fees weigh more heavily and full-term interest overstates your cost.

  • Rolling fees in and calling it free

    Financing fees avoids cash at closing but means paying interest on them for years. The total cost rises.

  • Mixing in non-loan costs

    Taxes, insurance and maintenance matter for budgeting, but they are not costs of the loan. Keep them separate to compare lenders fairly.

  • Ignoring rate type

    The calculation assumes a fixed rate. An adjustable loan's total cost depends on future rates and can be higher or lower.

How much does the term change lifetime cost?

Dramatically on a loan this size. The 30-year version above carries $261,646.80 of interest. Over 15 years the payment rises to $1,814.93, but interest drops to $116,687.40, so the lifetime cost falls by $144,959.40 with the same $6,300 in fees.

The table assumes the same 6.375% rate at every term to isolate the term effect. In practice shorter terms are often priced lower, which would widen the gap further.

$210,000 at 6.375% with $6,300 upfront fees (illustrative)
TermMonthly paymentTotal interestLifetime cost
10 years$2,371.17$74,540.40$290,840.40
15 years$1,814.93$116,687.40$332,987.40
20 years$1,550.29$162,069.60$378,369.60
30 years$1,310.13$261,646.80$477,946.80

What happens if the fees are financed instead of paid in cash?

They get amortized with the rest of the loan. Adding $6,300 to the 30-year balance raises the payment by about $39.30 and costs roughly $7,848.00 of extra interest over 30 years, so the fees end up costing more than double their face value.

Financing fees can still be a sensible choice if it keeps your emergency savings intact. The point is to see the trade in dollars before deciding.

Terms used on this page

APR (Annual Percentage Rate)
APR is the yearly cost of borrowing expressed as a single percentage that includes the interest rate plus certain required fees, such as origination charges. Because lenders must calculate it the same way under federal Truth in Lending rules, APR lets you compare loan offers on an even footing.
Loan Term
The loan term is the length of time you have to repay a loan, usually stated in months for consumer loans. A longer term lowers the monthly payment but increases the total interest you pay, because the balance stays outstanding longer. A shorter term costs more each month and less overall.
Principal
Principal is the amount of money you borrow, or the amount you deposit, before any interest. On a loan, it is the balance that interest is charged against, and each payment's non-interest portion reduces it. On savings, principal is your own money, the base on which interest is earned.
Amortization
Amortization is the process of paying off a loan with equal, regular payments that each cover the interest due for the period plus a slice of principal. Early payments are mostly interest; later ones are mostly principal. By the final payment the balance reaches exactly zero, which is how most car, personal and student loans work.

Total Cost of Loan Calculator: common questions

How do I calculate the total cost of a loan?

Multiply the monthly payment by the number of payments, then add any upfront fees you paid in cash. That covers principal, interest and fees. For a fixed-rate loan held to term with no prepayment, this is the exact lifetime figure; the calculator does it for you once you enter the amount, rate, term and fees.

Are closing costs part of the cost of a loan?

Yes. Origination fees, discount points and other lender charges are part of what you pay to borrow, even though they are not interest. Some third-party costs, like appraisals or title insurance, are also needed to close. Including them is what lets you compare a low-rate, high-fee offer with a higher-rate, low-fee one.

Why is the interest on a 30-year loan so high?

Because the balance stays large for a long time. Early payments are mostly interest, and with 360 payments the principal shrinks slowly for years. In the illustrative example, 30-year interest is larger than the amount borrowed, while a 15-year term at the same rate cuts it by more than half.

Is the total cost of a loan the same as the APR?

No. The APR is a yearly rate that blends interest and certain fees so offers can be compared. The total cost is a dollar figure for the whole life of the loan. They tell a similar story from different angles: a higher APR on the same amount and term means a higher total cost.

Does paying points lower the total cost?

Only if you keep the loan long enough. Points raise upfront fees in exchange for a lower rate, which cuts interest every month. Divide the cost of the points by the monthly saving to get the break-even month. If you sell or refinance before then, the points made the loan more expensive.

Should I include property taxes and insurance?

Not in the cost of the loan itself. Taxes and homeowners insurance are costs of owning the property, and you would pay them with or without the loan. Leave them out when comparing lenders, then add them separately when budgeting your full monthly housing payment. Those costs also change over time, while the loan's principal-and-interest cost stays fixed.

How does paying off a loan early change its total cost?

It lowers it, because interest is only charged on balances that exist. Every month a balance is gone, its interest is never charged. Fees are already sunk, so they become a larger share of a smaller total. Check for a prepayment penalty, which would reduce the saving. Rerun the calculator with a shorter term to approximate the effect.

What share of a loan's cost is interest?

It depends on rate and term. On a short personal loan interest may be a small fraction of principal; on a long, higher-rate loan it can exceed the principal. Enter your numbers and compare the total-interest line with the loan amount to see your own ratio. If interest is a large share, a shorter term or extra payments will have the biggest effect.

Do fees rolled into the loan increase the total cost?

Yes. Financed fees become principal, so you pay interest on them for the whole term. In the illustrative case, financing $6,300 at 6.375% for 30 years adds about $7,848.00 in interest on top of the fees themselves. Paying fees in cash at closing avoids that extra interest, if you can do so without draining your emergency savings. The calculator above treats fees as paid in cash.

Sources

  1. Regulation Z (Truth in Lending), 12 CFR Part 1026 — Consumer Financial Protection Bureau. Accessed October 17, 2026.
  2. Publication 936, Home Mortgage Interest Deduction — Internal Revenue Service. Accessed October 17, 2026.
  3. Selected Interest Rates – H.15 release — Federal Reserve Board. Accessed October 17, 2026.

We cite primary sources: regulators, central-bank data and federal agencies. Worked examples on this page are our own calculations, last checked October 17, 2026. See our methodology.

Try another scenario

Change one number, see the whole picture.

Find any of our free calculators in seconds — search by what you want to know, like “pay off card faster” or “CD vs savings”.

Browse Loans & Amortization

No account, no email, nothing saved on our servers.

Search and browse

↑↓ to move · Enter to open · Esc to close

Display & accessibility

Theme
Colour palette
Text size

Saved in this browser only. Accessibility statement