An interest calculator on a loan works out the monthly payment and total interest you will pay over the life of a fixed-rate loan, based on the amount you borrow, the annual interest rate, and the loan term. You enter those three numbers and get back a level monthly payment, the total interest cost, and often the total amount repaid. The math behind it is the standard amortization formula that lenders use for mortgages, auto loans, personal loans, and student loans.
Formula
The calculator uses the standard level-payment amortization formula:
M = P × [r(1 + r)^n] / [(1 + r)^n − 1]
Where:
- M = monthly payment (in dollars)
- P = principal, the amount you borrow (in dollars)
- r = monthly interest rate, equal to the annual percentage rate (APR) divided by 12 and then by 100 (so APR 8% → r = 0.08/12 = 0.006666…)
- n = total number of monthly payments, equal to the loan term in years multiplied by 12
The total interest is simply the monthly payment times the number of payments minus the principal: Total Interest = M × n − P.
This formula assumes the interest rate is fixed for the whole term, payments are made at the end of each month, and interest is compounded monthly at APR/12. It does not include fees, taxes, insurance, or other charges.
Worked Example
Using the default values from the calculator above:
- Loan amount (P) = $20,000
- APR = 8% per year
- Term = 5 years
First, convert the APR to a monthly rate: r = 8 / 1200 = 0.0066667 (approximately).
Next, find the total number of payments: n = 5 × 12 = 60.
Now plug into the formula:
M = 20000 × [0.0066667 × (1.0066667)^60] / [(1.0066667)^60 − 1]
Calculate (1.0066667)^60 ≈ 1.48985 (using a calculator).
Numerator: 20000 × 0.0066667 × 1.48985 ≈ 20000 × 0.0099323 ≈ 198.65
Denominator: 1.48985 − 1 = 0.48985
M ≈ 198.65 / 0.48985 ≈ 405.53
So the monthly payment is about $405.53 (rounded to the cent).
Total interest = 405.53 × 60 − 20000 = 24331.80 − 20000 = $4,331.80.
That matches the calculator output: monthly payment $405.53 and total interest $4,331.80.
Assumptions
- The interest rate is fixed for the entire loan term.
- Payments are made monthly at the end of each period.
- Interest compounds monthly at the annual rate divided by 12 (APR/12).
- The loan is fully amortized, meaning each payment covers interest and principal so the balance reaches zero at the end.
- No fees, taxes, insurance, PMI, or escrow are included. Those would be added to the payment separately.
How to Use the Calculator
To get a useful estimate, you need three numbers:
- Loan amount – the principal you plan to borrow, not including any down payment or trade-in.
- Interest rate (APR) – the annual percentage rate quoted by the lender. This includes the nominal interest plus certain fees, expressed as a yearly rate. Use the APR if you have it, because it reflects the true cost more closely than the nominal rate alone.
- Loan term – the length of time you have to repay, in years or months. Common terms are 3, 5, 15, and 30 years, but any term within the limits works.
After entering those, the calculator shows the monthly payment and the total interest. You can also see the total amount repaid by adding the loan amount and total interest (or by multiplying the payment by the number of months).
For example, if you borrow $25,000 at 6% APR for 4 years, the monthly payment would be about $587.13 and total interest about $3,182.24. You can compare that to a longer term, say 6 years, which would lower the payment to about $414.32 but raise total interest to about $4,831.04. This illustrates the trade-off between lower monthly payments and higher total interest.
Common Mistakes and Misconceptions
- Using the nominal rate instead of APR – The APR includes certain fees, so it is usually slightly higher than the nominal rate. For an accurate comparison, always use the APR.
- Forgetting to convert the rate to monthly – The formula requires the monthly rate. Dividing the annual rate by 12 is correct for monthly payments, but some people mistakenly use the annual rate directly, which gives a wildly wrong payment.
- Rounding too early – If you round the monthly rate or the intermediate values before the final step, the payment can be off by a few cents. Keep several decimal places until the end.
- Thinking the total interest is simply rate × principal × time – That is simple interest, but amortized loans charge interest on the remaining balance, so the total interest is less than that simple calculation. For a 5-year, $20,000 loan at 8%, simple interest would be $8,000, but the actual total interest is $4,331.80.
- Ignoring extra payments – The calculator assumes you make exactly the scheduled payment every month. If you pay extra, you will reduce the balance faster and pay less interest, but the calculator does not model that unless you use a separate extra-payment calculator.
Limits of the Formula
The formula works perfectly for fixed-rate loans with level payments. It does not apply to variable-rate loans, where the rate changes over time, or to interest-only loans, where you pay only interest for a period. It also assumes the first payment is due one full month after the loan starts; if the lender uses a different schedule (e.g., first payment in 45 days), the numbers shift slightly.
Another limitation is that the formula does not include any fees that might be rolled into the loan. If you finance origination fees or other charges, the actual loan amount is higher than the purchase price, and the payment will be higher than the calculator shows for the purchase price alone. To model that, enter the total amount financed as the loan amount.
Finally, the calculator gives an estimate. The exact payment and total interest depend on the lender’s specific compounding method, payment timing, and rounding conventions. Always check the lender’s disclosure for the precise figures.
How to Choose a Loan Term
Choosing a loan term involves balancing monthly affordability against total interest cost. A shorter term, such as 3 years, has higher monthly payments but much lower total interest. A longer term, such as 7 years, lowers the monthly payment but increases the total interest significantly.
For example, on a $30,000 loan at 7% APR:
- 3-year term: payment ≈ $926.42, total interest ≈ $3,351.12
- 5-year term: payment ≈ $594.04, total interest ≈ $5,642.40
- 7-year term: payment ≈ $453.03, total interest ≈ $8,054.52
There is no universally “right” term. A shorter term saves money but requires a higher monthly payment. A longer term is more affordable each month but costs more overall. Use the calculator to see the numbers for your specific situation, and consider what monthly payment fits your budget without stretching too thin.
Frequently Asked Questions
What is the difference between APR and the interest rate?
The interest rate is the basic annual cost of borrowing, expressed as a percentage. The APR (annual percentage rate) includes the interest rate plus certain fees and costs, expressed as a yearly rate. Because of that, the APR is usually higher than the nominal rate. When comparing loans, use the APR because it gives a more complete picture of the cost.
Can I use this calculator for a mortgage?
Yes, the formula works for any fixed-rate amortized loan, including mortgages. However, a mortgage typically has additional costs like property taxes, homeowners insurance, and possibly PMI (private mortgage insurance) that are not included here. Those are usually added to your monthly payment through an escrow account. This calculator only shows the principal and interest portion.
Why does the total interest seem so high?
Because interest is calculated on the remaining balance each month, and in the early years most of your payment goes to interest. Over a long term, the interest can exceed the principal. For example, a 30-year mortgage at 6% on $200,000 results in total interest of about $231,676, which is more than the loan amount. That is normal for long-term loans.
What happens if I make extra payments?
Extra payments reduce the principal balance faster, which means less interest accrues over time, and you may pay off the loan early. This calculator does not model extra payments. To see the effect, use a separate extra-payment calculator that shows how much you save and how much earlier the loan ends.
Does the calculator work for loans with a balloon payment?
No. A balloon payment loan has a large final payment that is much bigger than the regular payments. The standard amortization formula assumes the loan is fully paid off with level payments over the term. For balloon loans, you would need a different calculation that accounts for the balloon amount.
Is the result exactly what my lender will charge?
No, the result is an estimate based on the assumptions listed. Lenders may use slightly different rounding, may charge fees not included here, or may have a different payment schedule. The exact payment and total cost are shown on the loan disclosure documents you receive from the lender.
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
- How to Pay Off a 72-Month Car Loan Faster$405.53
- Is a 72 Month Car Loan Bad?
- Average Car Loan Payment: Monthly Cost Data$405.53
- 20,000 Car Loan Monthly Payment: What to Expect$405.53
- Car Loan Cost per Month: What to Expect$405.53
- 20k Car Loan Monthly Payment: How Much?$405.53