A debt repayment contract calculator works out the monthly payment and total interest for a fixed-rate loan, using the loan amount, annual percentage rate (APR), and term in years. You enter those three numbers and get back the level monthly payment and the total interest paid over the life of the loan. This is the same arithmetic used for personal loans, auto loans, and other installment debts where the payment stays the same every month.
Formula
The calculator uses the standard amortizing loan payment formula:
M = P × (r × (1 + r)^n) / ((1 + r)^n − 1)
Where:
- M = monthly payment (in dollars)
- P = principal, the loan amount (in dollars)
- r = monthly interest rate = APR / 12 / 100 (e.g., 8% APR → r = 0.08 / 12 = 0.0066667)
- n = total number of monthly payments = term in years × 12
Total interest is then simply M × n − P, because every payment goes partly to interest and partly to principal, and the sum of all principal payments equals P.
Worked Example
Using the default values from the calculator: loan amount $20,000, APR 8%, term 5 years.
- Convert APR to monthly rate: r = 8 / 1200 = 0.0066667
- Number of payments: n = 5 × 12 = 60
- Compute (1 + r)^n = (1.0066667)^60 ≈ 1.48985
- Payment = 20000 × (0.0066667 × 1.48985) / (1.48985 − 1) = 20000 × (0.0099323) / (0.48985) ≈ 20000 × 0.020276 = 405.53
- Total interest = 405.53 × 60 − 20000 = 24331.80 − 20000 = 4331.80
The calculator rounds the payment to the cent, so it shows $405.53 and total interest $4,331.80. (The slight difference from a raw unrounded calculation is due to rounding the payment first.)
Assumptions
- Fixed interest rate for the entire term (no rate changes).
- Payments are made at the end of each month, starting one month after the loan is issued.
- Interest compounds monthly at APR / 12.
- No fees, taxes, insurance, or other charges are included. The actual payment from a lender may be higher if such costs are rolled in.
When to Use This Calculator
Use this calculator when you want a quick estimate of what a fixed-rate installment loan will cost per month and in total interest. It is useful for comparing different loan offers on the same amount and term, or for seeing how a longer term lowers the payment but raises total interest. It also helps you understand how much of each payment goes to interest early on versus principal later—though for a full amortization schedule you would need a more detailed table.
This is not a payoff calculator (which tells you how long to pay off an existing balance with a given payment) or a debt consolidation calculator (which compares multiple debts). It is purely for a single, level-payment loan.
How to Read the Results
The monthly payment is the amount you would pay each month for the entire term. The total interest is the extra money you pay beyond the principal. A common misconception is that halving the term halves the total interest—actually, it reduces total interest much more because you pay interest for fewer months. For example, a $20,000 loan at 8% for 3 years (36 months) has a payment of about $626.73 and total interest about $2,562.28, which is less than half the 5-year total interest.
Also note that the APR is an annual rate, but the formula uses a monthly rate. If you enter 8 as the APR, the calculator divides by 1200 (12 months × 100 to convert percent to decimal). If you mistakenly entered 0.08 as the APR, the payment would be far too low.
Common Mistakes and Limitations
- Using the wrong rate: Always enter the APR as a percentage (e.g., 8, not 0.08).
- Confusing term length: The term is in years, not months. If you have a 60-month loan, enter 5 years, not 60.
- Ignoring fees: The calculator ignores origination fees, closing costs, and insurance, which can make the real payment higher.
- Assuming a variable rate: If your rate can change, this fixed-rate formula will not be accurate beyond the initial period.
- Rounding too early: In the worked example, rounding the payment to the cent before computing total interest is standard, but if you round intermediate steps too aggressively, your manual calculation may differ slightly.
The formula also assumes that payments are made on time every month and that no extra payments are made. If you pay extra, the loan will be paid off earlier and total interest will be lower, but this calculator does not model that.
How to Choose the Right Loan Term
When comparing loan offers, use this calculator to test different terms. A longer term (e.g., 7 years vs. 5 years) will give a lower monthly payment but more total interest. A shorter term does the opposite. There is no universally “right” choice—it depends on your budget and how much total interest you are willing to pay. The calculator helps you see the trade-off clearly.
For example, on a $20,000 loan at 8%:
- 3-year term: payment ≈ $626.73, total interest ≈ $2,562
- 5-year term: payment ≈ $405.53, total interest ≈ $4,332
- 7-year term: payment ≈ $311.24, total interest ≈ $6,144
Notice that the 5-year payment is about 35% lower than the 3-year, but the total interest is about 69% higher.
Frequently Asked Questions
What is the difference between APR and interest rate?
APR (Annual Percentage Rate) includes the interest rate plus certain fees and costs, expressed as a yearly rate. The interest rate is just the cost of borrowing the principal. This calculator uses the APR as the input, which is the more comprehensive figure. If you only know the interest rate, use that, but the result may understate the true cost if fees are significant.
Can I use this calculator for a mortgage?
Technically yes, for a fixed-rate mortgage, but the result will be a principal-and-interest payment only. It does not include property taxes, homeowners insurance, PMI, or HOA fees, which are often escrowed into the actual monthly payment. For a full mortgage payment estimate, you would need a calculator that includes those costs.
What if I make extra payments?
This calculator assumes you make exactly the required payment every month. If you pay extra, you will reduce the principal faster, pay less total interest, and shorten the loan term. To see the effect of extra payments, you would need a loan payoff calculator that allows extra payment inputs.
Why does the total interest seem so high?
Because interest accrues on the remaining balance, and in the early years most of your payment goes to interest. Over a long term, the interest can exceed the principal. That is normal for amortizing loans. The calculator shows the total cost so you can compare terms.
Is the result exactly what my lender will charge?
No, it is an estimate. Lenders may use slightly different rounding, include fees, or have a different compounding method. Always check the lender’s official disclosure, which gives the exact payment and total cost.
What does “Cannot compute” mean?
That message appears if the inputs are outside the allowed range (e.g., a negative loan amount or a term less than one month). It also appears if the payment would not cover the interest, but that cannot happen with this calculator because the payment is always calculated to fully amortize the loan.
This calculator provides an estimate for educational purposes; the exact figures are in the lender’s loan 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
- QNB Car Loan Payment Calculator and Guide$405.53
- VA Down Payment Assistance Calculator and Guide$15,000.00
- Car Loan Payment Calculator and Formula$405.53
- Low Down Payment Home Loans: Costs and Trade-Offs$405.53
- Down Payment vs Advance Payment: Key Differences
- DIB Bank Car Loan Calculator and Payment Guide$405.53