calculate-loan

01 Loan payments

Interest Calculator: How to Calculate

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

Monthly payment $405.53
Total interest
$4,331.67
= Monthly payment × loan term × 12 − loan amount
Loan amount
$20,000
Input
Interest rate (APR)
8 %
Input
You enter
Loan amount ($), Interest rate (APR) (%), Loan term (years)
You get
Monthly payment ($), Total interest ($)
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.

An interest calculator works out how much interest you pay or earn over time. You enter the principal (the starting amount), the annual interest rate, and the time period, and the calculator returns the total interest and, for loans, the monthly payment. The math behind it is straightforward—simple interest is principal × rate × time, while compound interest grows on both the original amount and previously earned interest.

Formula

For a fixed-rate loan with monthly payments, the standard formula is:

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

where:

  • P = principal (loan amount) in dollars
  • r = monthly interest rate = annual rate ÷ 12 (as a decimal, e.g., 8% ÷ 12 = 0.006667)
  • n = total number of monthly payments = years × 12

The total interest is simply the monthly payment times the number of payments, minus the principal:

Total interest = (monthly payment × n) − P

Worked Example

Using the defaults: P = $20,000, annual APR = 8%, term = 5 years.

  1. Monthly rate: r = 8 / 1200 = 0.0066667
  2. Number of payments: n = 5 × 12 = 60
  3. Compute (1 + r)^n = (1.0066667)^60 ≈ 1.48985
  4. Payment = 20000 × (0.0066667 × 1.48985) / (1.48985 − 1) = 20000 × 0.0099323 / 0.48985 ≈ 405.53
  5. Total paid = 405.53 × 60 = 24,331.80
  6. Total interest = 24,331.80 − 20,000 = 4,331.80

The calculator shows a monthly payment of $405.53 and total interest of $4,331.80.

Assumptions

  • Fixed annual interest rate (APR) that never changes.
  • Payments are made at the end of each month (ordinary annuity).
  • Interest compounds monthly at APR ÷ 12.
  • No fees, taxes, insurance, PMI, or escrow are included.

Simple vs. Compound Interest

Simple interest is calculated only on the original principal: I = P × r × t, where t is in years. For example, $1,000 at 5% simple for 3 years gives $150 interest. Compound interest adds interest to the principal, so the next period earns interest on interest. The formula for compound interest is A = P × (1 + r/n)^(n×t), where n is the number of compounding periods per year (e.g., 12 for monthly, 365 for daily). Compounding more frequently yields slightly higher returns or costs. Most loans and savings accounts use compound interest, not simple interest.

How to Use the Calculator

Enter the loan amount, the annual interest rate, and the term in years. The calculator returns the monthly payment and the total interest paid over the life of the loan. This helps you compare different loan offers side by side—for example, a 4-year vs. 5-year term. To see how extra payments affect interest, you can run the numbers with a shorter term. The result is an estimate; the lender’s disclosure will show the exact figures.

Common Mistakes and Misconceptions

  • Mixing up APR and monthly rate: Always divide the annual rate by 12 for monthly calculations.
  • Using simple interest for loans: Most loans compound, so simple interest understates the true cost.
  • Rounding too early: Round only the final payment to the cent; intermediate rounding can change the total by a few dollars.
  • Ignoring fees: APR often includes fees, but if the calculator uses a nominal rate, the actual cost may be higher.

Limits of the Formula

The formula assumes a constant interest rate and equal monthly payments. It does not handle variable-rate loans, interest-only periods, balloon payments, or daily compounding. For those, you need a more detailed amortization schedule. Also, the formula does not include late fees, prepayment penalties, or tax implications. Always check with your lender for the exact terms.

Frequently Asked Questions

How do I calculate interest on a loan manually?

For a simple interest loan, multiply the principal by the annual rate and the time in years. For a compound loan, use the formula A = P(1 + r/n)^(nt) and subtract the principal to get interest.

What is the difference between APR and interest rate?

The interest rate is the cost of borrowing the principal, while APR includes the interest rate plus certain fees (like origination fees) expressed as a yearly rate. APR gives a more complete picture of the loan’s cost.

How does compounding frequency affect interest?

More frequent compounding (daily vs. monthly) increases the amount of interest because interest is added to the principal more often. For a given nominal rate, daily compounding yields slightly more than monthly.

Can I use this calculator for a car loan or mortgage?

Yes, the formula works for any fixed-rate loan with monthly payments, including auto loans and mortgages. However, mortgages often include property taxes and insurance, which are not included here.

Why does the calculator show “Cannot compute”?

This happens when the monthly payment is too low to cover the interest, so the loan balance would never decrease. For example, a very low payment on a high-rate loan.

How do I calculate the total interest paid over the life of a loan?

Multiply the monthly payment by the total number of payments, then subtract the principal. That gives the total interest paid.

This calculator provides an estimate; your lender’s disclosure will give the exact figures.

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 →