calculate-loan

01 Loan payments

Help Debt Repayment Amounts: How to Calculate

Calculator No. 01-25284 · 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.

This page helps you calculate the monthly payment and total interest for a fixed-rate debt, such as a personal loan, auto loan, or student loan. You enter the loan amount, annual percentage rate (APR), and loan term in years, and the calculator returns the level monthly payment and the total interest you will pay over the life of the loan. The result is an estimate based on standard amortization math; your lender’s disclosure will show the exact figures.

Formula

The monthly payment for a fixed-rate, fully amortizing loan is calculated using the standard annuity formula:

M = P × (r × (1 + r)^n) / ((1 + r)^n – 1)

where:

  • M = monthly payment (in dollars)
  • P = principal loan amount (in dollars)
  • r = monthly interest rate = APR / 12 / 100 (as a decimal)
  • n = total number of monthly payments = term in years × 12

This formula assumes a fixed interest rate for the entire term, equal monthly payments, and that interest is compounded monthly at the rate APR/12. It does not include fees, taxes, insurance, or any prepayment penalties.

Worked Example

Using the default values from the calculator: loan amount P = $20,000, APR = 8%, term = 5 years.

  1. Convert APR to monthly rate: r = 8 / 100 / 12 = 0.0066667
  2. Compute number of payments: n = 5 × 12 = 60
  3. Calculate (1 + r)^n = (1.0066667)^60 ≈ 1.4898457
  4. Apply the formula: M = 20000 × (0.0066667 × 1.4898457) / (1.4898457 – 1) = 20000 × (0.0099323) / 0.4898457 ≈ 20000 × 0.020276 ≈ 405.52
  5. Total interest = M × n – P = 405.52 × 60 – 20000 = 24,331.20 – 20,000 = $4,331.20

The calculator shows a monthly payment of $405.52 and total interest of $4,331.20, matching the step-by-step result.

Assumptions

  • Fixed interest rate for the entire loan term
  • Monthly payments are made at the end of each month
  • Interest compounds monthly at APR/12
  • No fees, taxes, insurance, or other charges are included
  • The loan is fully amortized, meaning the balance reaches zero at the end of the term

How to Use This for Your Debt

This calculator works for any fixed-rate installment debt where you make equal monthly payments. Common examples include:

  • Personal loans from banks or credit unions
  • Auto loans
  • Fixed-rate student loans (private or federal, if the rate is fixed)
  • Debt consolidation loans

To get your real numbers, find the current APR on your loan statement or your loan agreement. The APR is the annual cost of borrowing, including most fees, expressed as a percentage. If you have a variable-rate loan, this calculator gives an estimate based on the current rate, but your payment will change when the rate changes.

How to Read the Results

The monthly payment is the amount you will pay each month for the entire term. The total interest is the extra cost of borrowing beyond the principal. Adding the two gives the total amount you will pay over the life of the loan.

For example, on a $20,000 loan at 8% for 5 years, you pay $405.52 per month and $4,331.20 in interest, so the total repayment is $24,331.20. If you extend the term to 10 years, the monthly payment drops to about $242.66, but the total interest jumps to $9,119.20—a much higher total cost.

This trade-off is key: a longer term lowers your monthly burden but increases total interest. A shorter term does the opposite. Use the calculator to compare different term lengths and see how the monthly payment and total interest change.

Common Mistakes and Misconceptions

  • Using the APR as a monthly rate: Always divide the APR by 12 to get the monthly rate. For example, 8% APR means 0.6667% per month, not 8% per month.
  • Forgetting to convert years to months: A 5-year loan has 60 payments, not 5. Multiply the term in years by 12.
  • Rounding too early: If you round the monthly rate or the intermediate values too early, the final payment can be off by several cents. Keep at least 6 decimal places until the final step.
  • Assuming the payment is the same as the minimum payment on a credit card: Credit cards use a different calculation (usually a percentage of the balance plus interest), and the minimum payment changes as the balance drops. This calculator is for fixed installment loans, not revolving credit.
  • Thinking that total interest is simply rate × principal × years: That formula ignores compounding and the fact that you pay down the principal over time. The actual interest is lower because you only pay interest on the remaining balance.

When This Formula Does Not Apply

This calculator is not suitable for:

  • Credit cards and other revolving lines of credit where the payment is a percentage of the balance
  • Interest-only loans where you pay only interest for a period before paying principal
  • Balloon loans where the final payment is much larger than the regular payments
  • Loans with variable rates that change during the term
  • Loans with prepayment penalties or fees that affect the total cost

For those types of debt, you need a different calculation. For example, credit card minimum payments are often 1-3% of the balance plus interest, and the time to pay off the balance depends on the interest rate and the payment amount.

Alternatives and Next Steps

If you are trying to pay off debt faster, you can use this calculator to see the effect of making extra payments. For a fixed-rate loan, any extra payment goes directly to principal, reducing the balance and shortening the term. You can estimate the new payoff time by entering a lower loan amount or a shorter term that matches your target payment.

For example, if you have a $20,000 loan at 8% for 5 years and you want to pay $450 per month instead of $405.52, you can enter $450 as the payment in a separate payoff calculator to see how many months it will take. That is a different calculation, but the same underlying math.

Before making any decisions, check your loan agreement for prepayment penalties or other restrictions. Many loans allow extra payments without penalty, but some do not.

Frequently Asked Questions

What is the difference between APR and interest rate?

The interest rate is the cost of borrowing the principal, expressed as a yearly percentage. The APR includes the interest rate plus certain fees and costs, so it is a more complete measure of the loan’s cost. For this calculator, use the APR because it reflects the true annual cost.

Can I use this calculator for a mortgage?

Yes, the math is the same for a fixed-rate mortgage, but mortgage payments often include property taxes, homeowners insurance, and possibly PMI, which are not included here. Use this calculator for the principal and interest portion only, and add those other costs separately.

What if I make extra payments?

Extra payments reduce the principal balance faster, which lowers the total interest and shortens the loan term. This calculator does not model extra payments; it assumes you pay exactly the calculated amount each month.

Why does the total interest seem so high?

Interest is calculated on the remaining balance each month. In the early months, most of your payment goes to interest, and only a small portion reduces principal. Over a long term, the cumulative interest can be substantial. For example, a $20,000 loan at 8% for 5 years costs $4,331 in interest, but the same loan for 10 years costs $9,119.

What if my loan has a variable rate?

This calculator assumes a fixed rate. If your rate changes, your payment will change. You can use the current rate to get an estimate, but the actual payment will vary. Check your loan agreement for how often the rate adjusts and what the new rate will be.

Is this calculator accurate for my specific loan?

It is accurate for a standard fixed-rate installment loan with no fees or prepayment penalties. If your loan has origination fees, insurance, or other charges, those are not included. Your lender’s amortization schedule will show the exact payment and interest.

This result is an estimate and the lender’s disclosure gives 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 →