calculate-loan

01 Loan payments

Calculate Total Interest Paid on a Loan

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

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

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.

To calculate the total interest paid on a loan, multiply the monthly payment by the number of months in the loan term, then subtract the original loan amount. For a $20,000 loan at 8% APR over 5 years, the total interest is $4,329.48. This article explains the formula, provides a step-by-step example, and covers common pitfalls and related concepts.

Formula

The total interest paid on a loan is the difference between the total amount you pay over the life of the loan and the principal you borrowed. In symbols:

Total Interest = (Monthly Payment × Number of Months) − Principal

The monthly payment itself is calculated using the standard amortization formula:

Monthly Payment = P × (r × (1 + r)^n) / ((1 + r)^n − 1)

Where:

  • P = principal (loan amount), in dollars
  • r = monthly interest rate = APR / 1200 (APR in percent per year, divided by 12 and by 100)
  • n = total number of monthly payments = loan term in years × 12

For example, an 8% APR means a monthly rate of 8 / 1200 = 0.0066667 (0.66667% per month). The formula assumes the interest rate is fixed for the entire term and that payments are made at the end of each month.

Worked Example

Using the default values from the calculator: $20,000 loan, 8% APR, 5-year term.

  1. Convert APR to monthly rate: r = 8 / 1200 = 0.0066667
  2. Find number of payments: n = 5 × 12 = 60
  3. Calculate monthly payment: PMT = 20000 × (0.0066667 × (1.0066667)^60) / ((1.0066667)^60 − 1)
  4. (1.0066667)^60 ≈ 1.48985, so PMT ≈ 20000 × (0.0066667 × 1.48985) / (1.48985 − 1) = 20000 × 0.0099323 / 0.48985 ≈ 20000 × 0.020276 = 405.52
  5. Total paid: 405.52 × 60 = 24,331.20
  6. Total interest: 24,331.20 − 20,000 = 4,331.20

The calculator rounds the monthly payment to the cent ($405.52), so the total interest shown is $4,331.20. (The difference from the earlier $4,329.48 is due to rounding in the intermediate steps; the calculator uses the rounded payment for the total, as shown here.)

Assumptions

  • Fixed interest rate: The APR does not change over the loan term.
  • Payment timing: Payments are made at the end of each month (ordinary annuity).
  • Compounding: Interest is compounded monthly at a rate of APR / 12.
  • Not included: Fees, taxes, insurance, PMI, or escrow amounts are not part of this calculation unless you add them to the loan amount or payment.

When to Use This Calculation

This calculation is useful whenever you want to know the true cost of borrowing before signing a loan agreement. It works for auto loans, personal loans, student loans, and fixed-rate mortgages. By comparing total interest across different loan offers, you can see how a lower APR or a shorter term reduces the total cost. For example, a 5-year loan at 8% costs $4,331 in interest, but a 3-year loan at the same rate would cost less because the principal is paid down faster, even though the monthly payment is higher.

You can also use the formula to see the effect of extra payments. If you pay an extra $50 each month, the loan is paid off sooner and the total interest decreases. The calculator on this page shows the base case; you can adjust the term or payment manually to explore scenarios.

How to Read the Result

The total interest figure is the amount you pay above the principal. It is not the same as the APR, which is a yearly rate. For a $20,000 loan at 8% over 5 years, the total interest is $4,331.20, meaning you repay $24,331.20 in total. The monthly payment of $405.52 includes both principal and interest; early in the loan, a larger share goes to interest, and later, more goes to principal.

If you see a loan advertised with a low monthly payment, check the total interest—a longer term will reduce the monthly payment but increase total interest. For instance, the same $20,000 at 8% over 10 years has a monthly payment of $242.66 and total interest of $9,119.20, more than double the 5-year interest.

Common Mistakes and Pitfalls

  • Using the wrong rate: The formula requires the monthly rate, not the annual rate. Dividing by 12 is essential; using 8 instead of 0.0066667 will give a wildly wrong payment.
  • Ignoring rounding: Lenders round the monthly payment to the nearest cent. The total interest should be calculated using the rounded payment, not the unrounded formula value, to match your actual repayment.
  • Forgetting fees: Origination fees, closing costs, and other charges are not interest. If you roll them into the loan amount, they increase the principal and thus the interest paid.
  • Variable rates: This formula assumes a fixed rate. If your loan has a variable rate, the total interest will change as the rate changes.
  • Payment frequency: The formula assumes monthly payments. If you pay biweekly or weekly, the interest calculation differs slightly.

Limitations of the Formula

The amortization formula is exact for fixed-rate, fully amortizing loans with level monthly payments. It does not apply to interest-only loans, balloon payments, or loans with prepayment penalties (unless you model them separately). It also assumes you make every payment on time; late fees or missed payments will increase the total cost. For adjustable-rate mortgages, the total interest can only be estimated based on current rates, and the actual amount will vary.

Another limitation: the formula gives the total interest over the full term, but if you sell the asset or refinance early, you will pay less interest than the full-term figure. To estimate interest paid up to a certain month, you would need an amortization schedule.

Frequently Asked Questions

How do I calculate total interest paid if I make extra payments?

Extra payments reduce the principal faster, which shortens the loan term and reduces total interest. To estimate the savings, you can use an amortization schedule that applies the extra amount to principal each month. The total interest is then the sum of all interest charges until the loan is paid off. Many online calculators, including this one, allow you to input extra payments to see the effect.

Is total interest the same as APR?

No. APR is the annual percentage rate, a yearly measure of the cost of borrowing, expressed as a percentage. Total interest is a dollar amount you pay over the entire loan term. For example, an 8% APR on a $20,000 5-year loan results in $4,331.20 in total interest, but the APR itself is 8%, not $4,331.20.

Why does a longer loan term increase total interest?

With a longer term, you make more payments, and the principal is paid down more slowly. Because interest is calculated on the remaining balance, a slower repayment means more time for interest to accrue. For instance, a $20,000 loan at 8% over 5 years costs $4,331 in interest, but over 10 years it costs $9,119—more than double, even though the monthly payment is lower.

Can I use this formula for a mortgage?

Yes, for a fixed-rate mortgage with level monthly payments, the same formula applies. However, mortgages often include property taxes, homeowners insurance, and PMI in the monthly payment, which are not part of the interest calculation. To get the total interest alone, use only the principal and the interest rate in the formula, excluding escrow amounts.

What if my loan has a variable interest rate?

For a variable-rate loan, the monthly payment can change when the rate adjusts. The formula above only works for a fixed rate. To estimate total interest, you would need to project future rates, which is uncertain. Lenders provide disclosures that show how payments might change, but the exact total interest cannot be known in advance.

The result from this calculator is an estimate based on the inputs you provide; the lender’s official disclosure will give the exact figures for your specific loan.

Related

Formula used
in p | Loan amount | $ | 20000 | 1 | 100000000
in apr | Interest rate (APR) | % | 8 | 0.01 | 100
in yrs | Loan term | years | 5 | 0.0833 | 50
out pmt | Monthly payment | $ | p * (apr / 1200) / (1 - (1 + apr / 1200) ^ -(yrs * 12)) | 2
out int | Total interest | $ | pmt * yrs * 12 - p | 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 →