An interest calculator for debt works out how much interest you will pay over the life of a loan, given the amount you borrow, the annual percentage rate (APR), and the repayment term. You enter those three numbers and it returns your monthly payment and the total interest cost. This article explains the math behind it, how to use the results, and what the calculator does not show.
Formula
The calculator uses the standard amortizing loan payment formula:
Monthly payment = P × (r × (1 + r)^n) / ((1 + r)^n − 1)
Where:
- P = loan principal (the amount you borrow), in dollars
- r = monthly interest rate = APR ÷ 12 ÷ 100 (APR is a yearly percentage, so divide by 12 to get the monthly rate and by 100 to convert percent to a decimal)
- n = total number of monthly payments = loan term in years × 12
Total interest = (monthly payment × n) − P. This is the difference between what you pay back in total and what you originally borrowed.
Worked Example
Using the default inputs: borrow $20,000 at an APR of 8% for 5 years.
- Convert APR to monthly rate: r = 8 ÷ 12 ÷ 100 = 0.0066667 (approximately).
- Number of payments: n = 5 × 12 = 60.
- Plug into the formula: payment = 20000 × (0.0066667 × (1.0066667)^60) / ((1.0066667)^60 − 1).
- (1.0066667)^60 ≈ 1.48985. Numerator: 20000 × (0.0066667 × 1.48985) ≈ 20000 × 0.0099323 ≈ 198.65. Denominator: 1.48985 − 1 = 0.48985. Payment ≈ 198.65 / 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 the default values.
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 loan is fully amortized, meaning each payment covers interest due plus a portion of principal, so the balance reaches zero at the end of the term.
- Fees, taxes, insurance, and other charges are not included unless you add them to the loan amount.
How to Use the Interest Calculator for Debt
Enter three numbers that you get from a lender or a loan offer:
- Loan amount – the total you plan to borrow, including any fees that are rolled into the principal.
- Interest rate (APR) – the annual percentage rate quoted by the lender. APR includes some fees, but the exact definition can vary.
- Loan term – how long you have to repay, in years. Most personal loans run 1 to 7 years, auto loans 2 to 7, and mortgages 10 to 30.
The result tells you two things: the fixed monthly payment you would need to make, and the total interest you would pay over the whole term. That total interest is the “cost” of borrowing money, separate from the principal.
Common Mistakes and Misconceptions
A frequent error is confusing APR with the nominal interest rate. APR includes certain fees and is usually higher than the simple rate, so using APR gives a more accurate cost. Another mistake is using a yearly rate in a monthly formula without dividing by 12. For example, plugging 8 instead of 0.08 into the formula would produce a nonsensical result. Also, rounding the monthly payment too early can cause small discrepancies in the total interest. The calculator rounds the payment to the cent, then multiplies that rounded number by the number of payments, which is how lenders typically quote totals.
One common misconception is that the interest rate alone tells you how much interest you will pay. In reality, the term length matters just as much. A longer term means smaller monthly payments but more total interest, because you pay interest for a longer period. For instance, the same $20,000 at 8% over 10 years gives a monthly payment of about $242.66 and total interest of about $9,119.21 – more than double the interest of the 5-year loan, even though the rate is identical.
When to Use This Calculator
Use this calculator when you are comparing loan offers with different amounts, rates, or terms. It helps you see the trade-off between a lower monthly payment and a higher total cost. It is also useful for planning a budget: if you know the payment you can afford, you can work backward to see what loan amount and term fit that payment. However, the calculator does not tell you what you will be approved for or what rate you qualify for – that depends on your credit history and the lender’s criteria, which are not modelled here.
Limitations of the Calculator
This calculator assumes a fixed rate and level payments. It does not handle variable-rate loans, interest-only periods, balloon payments, or loans with fees that are not included in the APR. It also ignores the effect of making extra payments. If you make an extra payment, you reduce the principal faster, which shortens the term and reduces total interest – but that is a different calculation. For loans with prepayment penalties or complex fee structures, the exact figures will differ from this estimate.
Frequently Asked Questions
What is the difference between simple interest and compound interest on a loan?
Simple interest is calculated only on the original principal each period, so the interest amount is constant. Compound interest is calculated on the remaining balance, which includes previously accrued interest. Most amortized loans use compound interest in the sense that interest is charged on the outstanding balance, which includes unpaid interest from prior periods if you miss a payment. The formula above uses monthly compounding, which is standard for most loans.
Does the calculator include fees?
No, unless you add them to the loan amount. The APR may include some fees, but the calculator only uses the rate and the principal. If a lender charges an origination fee, you can add that fee to the loan amount to see its impact on the payment and total interest.
Why does the total interest seem so high?
Because interest accrues on the remaining balance, and early in the loan most of your payment goes toward interest. Over a long term, that interest accumulates. For example, a 30-year mortgage can have total interest that exceeds the principal, even at a moderate rate. This is normal and is why paying extra principal early can save a lot of interest.
Can I use this calculator for credit card debt?
Not directly. Credit cards usually have variable rates and a minimum payment that changes over time. This calculator assumes a fixed payment and fixed rate. For credit cards, you would need a different model that accounts for the minimum payment and daily compounding.
What is APR and why is it different from the interest rate?
APR stands for Annual Percentage Rate. It includes the nominal interest rate plus certain fees and costs, expressed as a yearly rate. Lenders are required to disclose APR so you can compare offers more fairly. The calculator uses APR as the input, which is the more accurate measure of what you pay.
The result from this calculator is an estimate based on the numbers you enter. The exact figures on your loan will be shown in the lender’s disclosure documents.
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