calculate-loan

01 Loan payments

Annual Rate Formula: How to Calculate APR

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

The annual rate formula calculates the yearly interest rate on a loan or investment, typically expressed as a percentage. You enter the loan amount, the annual percentage rate (APR), and the loan term to find your monthly payment and total interest. This page provides the formula, a worked example, and a calculator to do the math for you.

Formula

The annual rate formula used here is the standard amortizing loan payment formula. In words: monthly payment equals the principal times the monthly interest rate, divided by one minus (one plus the monthly rate) raised to the negative power of the number of payments.

Symbolically: PMT = P × (r / (1 − (1 + r)^(−n)))

  • PMT = monthly payment (in $)
  • P = principal loan amount (in $)
  • r = monthly interest rate = APR / 1200 (decimal, e.g., 8% APR → 0.006667)
  • n = total number of monthly payments = loan term in years × 12

This formula assumes a fixed interest rate, equal monthly payments, and that interest compounds monthly at the rate APR/12.

Worked Example

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

  1. Convert APR to monthly rate: r = 8 / 1200 = 0.0066667
  2. Number of payments: n = 5 × 12 = 60
  3. Calculate (1 + r)^(−n) = (1.0066667)^(−60) ≈ 0.67121
  4. Denominator: 1 − 0.67121 = 0.32879
  5. Numerator: P × r = 20000 × 0.0066667 = 133.33
  6. Monthly payment = 133.33 / 0.32879 ≈ 405.53

So the monthly payment is $405.53. Total paid over 60 months = 405.53 × 60 = $24,331.80. Total interest = $24,331.80 − $20,000 = $4,331.80. The calculator rounds the payment to the cent, so the total interest shown may differ by a few cents from a manual calculation.

Assumptions

  • Fixed interest rate for the entire term
  • Payments are made at the end of each month
  • Interest compounds monthly at APR / 12
  • No fees, taxes, insurance, or other charges are included

When to Use the Annual Rate Formula

Use this formula whenever you need to know the monthly payment or total interest for a fixed-rate installment loan. Common examples include auto loans, personal loans, student loans, and mortgages. The formula is also the basis for comparing different loan offers: a lower APR generally means lower monthly payments and less total interest, but you must also consider fees and loan terms.

For investments, the annual rate formula can be rearranged to find the effective annual yield or the rate needed to reach a future value, but this page focuses on loan payments.

How to Read the Result

The monthly payment is the amount you pay each month. The total interest is the extra money you pay over the life of the loan, on top of the principal. A longer term reduces the monthly payment but increases total interest, because you pay interest for a longer period. A shorter term does the opposite.

For example, a $20,000 loan at 8% for 5 years has a $405.53 payment and $4,331.80 interest. The same loan for 3 years (36 months) would have a payment of about $626.73 and total interest of about $2,562.28—higher payment, lower total interest.

Common Mistakes and Pitfalls

  • Using APR as a monthly rate: Always divide the APR by 12 to get the monthly rate. Using 8% directly in the formula would give a wildly wrong result.
  • Mixing units: The loan term must be in months, not years. If you enter years, multiply by 12.
  • Ignoring rounding: The formula gives a precise number, but actual payments are rounded to the cent. This can cause a small difference in total interest.
  • Forgetting fees: The APR includes some fees, but the calculator’s APR input is just the interest rate. If a loan has origination fees, the true cost is higher than the total interest shown.

Limitations of the Formula

This formula only works for fixed-rate loans with level payments. It does not apply to adjustable-rate loans, interest-only loans, or loans with balloon payments. It also assumes you make every payment on time; missing payments can add late fees and change the interest calculation. For investments, the formula assumes a constant rate and periodic compounding; actual returns may vary.

Alternatives and Related Calculations

If you have a target monthly payment, you can rearrange the formula to solve for the loan amount you can borrow. If you want to know how long it will take to pay off a loan with a given payment, you can use the formula for the number of periods. For comparing loans with different terms, the APR is a better measure than the interest rate alone because it includes fees. You can also use an amortization schedule to see how much of each payment goes to interest versus principal.

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 percentage. The APR (annual percentage rate) includes the interest rate plus certain fees and costs, so it gives a more complete picture of the true cost. For example, a loan with a 7% interest rate and a 1% origination fee might have an APR of about 7.5%.

How do I calculate the annual rate from a monthly payment?

If you know the loan amount, the monthly payment, and the number of months, you can solve for the monthly rate using trial and error or a financial calculator. The annual rate is the monthly rate multiplied by 12 (or by 1200 to get a percentage). This is often called the internal rate of return (IRR) for the loan.

Does the formula work for car loans and mortgages?

Yes, the formula works for any fixed-rate installment loan, including auto loans and mortgages. However, mortgages often have additional costs like property taxes and insurance that are not included in the payment formula. For adjustable-rate mortgages, the formula only works for the initial fixed period.

Why does the total interest seem so high?

Interest compounds over time, and you pay interest on the remaining balance. Early in the loan, most of your payment goes to interest; later, more goes to principal. A longer term means more time for interest to accrue, so total interest is higher even if the rate is the same.

Can I use this formula for a credit card?

No. Credit cards typically have variable rates and a minimum payment that changes, not a fixed payment. The formula assumes a fixed payment and rate. For credit cards, you would need a different calculation that accounts for daily compounding and changing balances.

This calculator provides an estimate for educational purposes; the exact figures are shown in your loan disclosure from the lender.

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 →