A loan interest cost calculator works out the total interest you will pay over the life of a loan, plus your monthly payment, based on the amount you borrow, the annual interest rate (APR), and the loan term. You enter those three numbers and get back the monthly payment and the cumulative interest cost, which helps you compare loan offers or see how extra payments change the total.
Formula
The calculator uses the standard level-payment (amortization) formula for a fixed-rate loan:
Monthly payment (PMT) = P × (r × (1 + r)^n) / ((1 + r)^n − 1)
Where:
- P = loan principal (the amount borrowed, in dollars)
- r = monthly interest rate = APR ÷ 12 ÷ 100 (as a decimal)
- n = total number of monthly payments = loan term in years × 12
Total interest = (PMT × n) − P. This is the amount of money you pay beyond the original principal.
Worked Example
Using the default values from the calculator: P = $20,000, APR = 8%, term = 5 years.
- Convert APR to monthly rate: r = 8 ÷ 1200 = 0.0066667 (as a decimal).
- Find total payments: n = 5 × 12 = 60.
- Compute (1 + r)^n = (1.0066667)^60 ≈ 1.48985.
- Plug into the payment formula: PMT = 20000 × (0.0066667 × 1.48985) / (1.48985 − 1) = 20000 × 0.009933 / 0.48985 ≈ 405.53.
- Total paid = 405.53 × 60 = 24,331.80.
- 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 for these inputs.
Assumptions
- The interest rate is fixed for the entire term.
- Payments are made at the end of each month (ordinary annuity).
- Interest compounds monthly at APR ÷ 12.
- The payment amount is rounded to the cent, and the total interest uses that rounded payment.
- Fees, taxes, insurance, and other charges are not included unless you add them to the loan amount.
How to Use This Calculator
This tool is for estimating the cost of any fixed-rate loan—auto, personal, student, or mortgage—where the rate stays the same. To get a realistic estimate, enter the actual loan amount you expect to borrow (including any fees that are rolled into the principal), the APR your lender quotes you, and the term in years. The calculator then shows the monthly payment and the total interest you would pay.
You can also use it to compare different scenarios: what happens if you borrow $25,000 instead of $20,000? What if the rate is 7% instead of 8%? What if you choose a 3-year term instead of 5? The calculator lets you see the trade-off between a lower monthly payment (longer term) and lower total interest (shorter term).
Common Mistakes and Misconceptions
- Using the nominal rate instead of APR: APR includes certain fees and reflects the true annual cost. Always use the APR, not the advertised nominal rate, for a more accurate estimate.
- Forgetting to convert the term: If your loan term is given in months, divide by 12 to get years, or enter it directly if the calculator allowed months. Here, the term is in years.
- Ignoring rounding: The payment is rounded to the cent, which can cause a tiny difference (usually less than a dollar) in the total interest compared to an unrounded calculation.
- Thinking total interest is simply rate × principal × term: That would only be true for a simple-interest loan with no payments until the end. In an amortized loan, you pay interest on a declining balance, so total interest is less than that simple calculation.
- Assuming the payment covers interest only: In a standard amortized loan, each payment includes both interest and principal. The formula ensures the loan is fully paid off by the end of the term.
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 periods, balloon payments, or loans with variable payments. It also assumes you make every payment on time and do not pay extra. If you make extra payments, the total interest will be lower, but the calculator does not model that. For those scenarios, you would need a more detailed amortization schedule or an extra-payment calculator.
Additionally, the formula gives an estimate based on the inputs. Real loan costs may differ because of fees, prepayment penalties, or changes in the rate. Always check the lender’s disclosure for exact figures.
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. APR (Annual Percentage Rate) includes the interest rate plus certain lender fees and costs, giving a more complete picture of the annual cost. For example, a loan with a 7% interest rate but high origination fees might have an APR of 7.5%. When comparing loans, use the APR.
How do extra payments reduce total interest?
Extra payments go directly to the principal, reducing the balance faster. Since interest is calculated on the remaining balance, a lower balance means less interest accrues. For example, on the $20,000 loan above, an extra $50 per month would shorten the term and reduce total interest, but the exact amount depends on when you make the extra payment and how the lender applies it.
Why does a longer term mean more total interest?
With a longer term, you make more payments, and the principal is paid down more slowly. This means the average balance is higher for a longer period, so you pay interest on a larger amount for more time. For instance, a 5-year loan at 8% on $20,000 costs about $4,332 in interest, while a 10-year loan at the same rate would cost about $9,322—more than double.
Can I use this calculator for a mortgage?
Yes, the formula works for any fixed-rate amortized loan, including mortgages. However, for a mortgage you should also consider property taxes, homeowners insurance, and PMI (if your down payment is less than 20%). Those are not included in this calculator, so your actual monthly payment will be higher. You can add those costs to the loan amount or budget for them separately.
What does “Cannot compute” mean in the payment formula?
If the interest rate is so high or the term so short that the monthly payment does not cover the interest accruing each month, the formula cannot find a finite payment. In practice, this means the loan would never be paid off because the balance would grow. The calculator shows “Cannot compute” to indicate that the inputs are unrealistic. In real life, a lender would not offer such terms.
How do I find the real APR for my loan?
The APR is always disclosed in the loan documents, typically in the Truth in Lending Act (TILA) disclosure for U.S. loans. When you apply, the lender provides a Loan Estimate that lists the APR. You can also ask the lender directly. Never rely on advertised rates alone, as your personal APR depends on your credit score, income, and other factors.
This calculator provides an estimate for educational purposes. The exact figures will be in the lender’s disclosure.
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
- Loan Discharge Date: What It Means & How to Find Yours$405.53
- Variable Rate Loan Definition & How It Works$377.42
- Create Loan Schedule: Full Amortization Table$405.53
- Loan Payment Schedule: How to Create One$405.53
- Bank Rate Amortized Loan Calculator$405.53
- BOQ Variable Home Loan Rate: What It Is & How It Works$2,700.83