calculate-loan

01 Loan payments

Fuel Cost History: What Prices Really Did

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

Fuel cost history shows how the price of gasoline and diesel has changed over decades, driven by oil supply, demand, taxes, and world events. Enter a loan amount, interest rate, and term below to see the monthly payment and total interest—this calculator works out the level payment for any fixed-rate loan, which is the same math lenders use for car loans, personal loans, and mortgages.

Formula

The monthly payment for a fixed-rate loan is calculated using the standard amortization formula:

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

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

Total interest = PMT × n − P. This formula assumes level payments, meaning each month you pay the same amount, and the interest portion decreases over time while the principal portion increases.

Worked Example

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

  1. Convert APR to monthly rate: r = 8 / 12 / 100 = 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.009933 / 0.48985 ≈ 405.53
  5. Total interest = 405.53 × 60 − 20000 = 24331.80 − 20000 = 4331.80

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

Assumptions

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

When to Use This Calculator

Use this calculator to estimate the monthly payment and total interest for any fixed-rate loan: a car loan, a personal loan, a student loan, or a mortgage. It helps you compare different loan amounts, rates, and terms side by side. For example, you can see how a longer term lowers the monthly payment but increases total interest, or how a higher rate affects both.

How to Read the Result

The monthly payment is the amount you pay each month. The total interest is the extra cost of borrowing beyond the principal. The sum of the two equals the total amount paid over the life of the loan. A lower monthly payment might seem attractive, but if the term is longer, you will pay more interest overall. The result is an estimate; the lender’s disclosure will show the exact figures, including any fees.

Common Mistakes

  • Using the annual rate directly in the formula without dividing by 12.
  • Forgetting to convert the term from years to months.
  • Rounding the monthly payment too early, which can cause small differences in total interest.
  • Assuming the payment covers taxes or insurance—this calculator only covers principal and interest.

Limits of the Formula

The formula works only 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 ignores fees, prepayment penalties, and the time value of money beyond the interest rate. For loans with complex features, you need a more detailed amortization schedule or a lender’s quote.

Frequently Asked Questions

How do I find my actual APR?

Your actual APR is stated in the loan agreement or the lender’s disclosure. It may be higher than the nominal interest rate if it includes fees. Always use the APR provided by the lender in this calculator for a more accurate estimate.

Can I use this for a mortgage?

Yes, for a fixed-rate mortgage, but remember that property taxes, homeowners insurance, and PMI are not included. You would need to add those separately to get your full monthly housing cost.

What if I make extra payments?

Extra payments reduce the principal faster, which lowers total interest and shortens the term. This calculator does not model extra payments, but you can use a separate extra-payment calculator to see the effect.

Why does the total interest differ from a simple interest calculation?

Because interest is calculated on the remaining balance each month, not on the original principal. Early payments are mostly interest, and later payments are mostly principal. This is how amortization works.

Is this calculator accurate for a 0% APR loan?

Yes, if APR is 0%, the payment is simply principal divided by the number of payments. However, the formula requires a positive rate, so enter a very small rate like 0.01% to approximate.

The 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 →