The interest calculator equation depends on the type of interest: for simple interest, it’s Interest = Principal × Rate × Time; for compound interest, it’s A = P(1 + r/n)nt. You enter the principal (the starting amount), the annual interest rate, and the time period; the calculator returns the total interest earned or owed, and often the final balance.
Formula
For a fixed-rate loan with monthly compounding, the monthly payment is calculated using the standard amortization formula:
M = P × [r(1 + r)n] / [(1 + r)n − 1]
- M = monthly payment (in dollars)
- P = principal, the initial loan amount (in dollars)
- r = monthly interest rate, which is the annual rate (APR) divided by 12 (as a decimal, e.g., 8% APR → r = 0.08/12 = 0.006666…)
- n = total number of payments (loan term in years × 12)
Total interest is then Total Interest = M × n − P. This is the formula used by the calculator above.
Worked Example
Using the default values: P = $20,000, APR = 8%, term = 5 years.
- Convert APR to monthly rate: r = 8 / 1200 = 0.0066667 (approximately).
- Total number of payments: n = 5 × 12 = 60.
- Plug into the formula: M = 20000 × [0.0066667 × (1.0066667)^60] / [(1.0066667)^60 − 1].
- Calculate (1.0066667)^60 ≈ 1.48985.
- Numerator: 20000 × 0.0066667 × 1.48985 ≈ 198.65.
- Denominator: 1.48985 − 1 = 0.48985.
- M ≈ 198.65 / 0.48985 ≈ 405.53 (rounded to the cent).
- Total paid = 405.53 × 60 = $24,331.80.
- Total interest = $24,331.80 − $20,000 = $4,331.80.
The calculator gives the same: monthly payment $405.53, total interest $4,331.80.
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 a rate of APR / 12.
- The calculation does not include fees, taxes, insurance, PMI, or escrow amounts.
Simple vs. Compound Interest
There are two main types of interest. Simple interest is calculated only on the original principal: I = P × r × t. For example, a $1,000 deposit at 5% simple annual interest for 3 years earns $150 (1000 × 0.05 × 3). Compound interest earns interest on previously earned interest. The compound formula is A = P(1 + r/n)nt, where n is the number of compounding periods per year. For the same $1,000 at 5% compounded annually for 3 years, A = 1000(1.05)^3 ≈ $1,157.63, so interest is $157.63. The more frequently interest compounds (monthly, daily), the higher the total interest, because interest is added to the principal more often.
How to Use the Calculator
Enter the loan amount (principal), the annual interest rate (APR), and the loan term in years. The calculator then shows your monthly payment and the total interest you’ll pay over the life of the loan. This is useful for comparing different loan offers—for example, a 5-year vs. a 3-year term for the same amount and rate. A longer term lowers the monthly payment but increases total interest. A higher rate increases both. You can also use the reverse: if you know the monthly payment you can afford, you can work backward to see what loan amount that supports, but this calculator does not do that directly.
Common Mistakes and Pitfalls
- Using the annual rate instead of the monthly rate. Always divide APR by 12 for monthly payments.
- Mixing time units. If you enter years, the calculator multiplies by 12; don’t enter months as years.
- Rounding too early. Keep full precision in intermediate steps; round only the final payment to cents.
- Ignoring fees. The formula assumes no upfront fees. If a loan has origination fees, the effective APR is higher than the nominal rate.
- Assuming simple interest for loans. Most amortized loans use compound interest on the declining balance, not simple interest on the original amount.
Limitations of the Formula
This formula works only for fixed-rate, fully amortizing loans where the payment stays constant. It does not apply to adjustable-rate mortgages (ARMs), interest-only loans, balloon payments, or loans with prepayment penalties. It also assumes you make every payment on time; missing payments can change the interest calculation. For daily compounding savings accounts, the formula is different (use the compound interest formula with n=365). The result is an estimate—the lender’s disclosure gives the exact figures.
Frequently Asked Questions
What is the difference between APR and interest rate? The interest rate is the cost of borrowing the principal, while APR includes other fees and costs, expressed as a yearly rate. APR is usually higher than the nominal rate because it accounts for origination fees, points, and certain closing costs. When comparing loans, APR gives a more complete picture of the true cost.
How does compounding frequency affect interest? The more often interest is compounded, the more interest you earn or owe. For example, $10,000 at 5% annual interest compounded yearly for 10 years grows to about $16,288.95; compounded monthly it becomes about $16,470.09. The difference grows with time and rate.
Can I use this formula for credit cards? Credit cards typically use daily compounding and have a variable APR, and interest is charged on the average daily balance. The formula here assumes a fixed rate and monthly compounding, so it gives an approximation but not the exact credit card interest. For credit cards, the daily periodic rate is APR/365, and interest accrues daily.
What is an amortization schedule? An amortization schedule is a table showing each payment’s split between interest and principal. Early payments go mostly to interest; later payments go mostly to principal. The total interest from the schedule matches the total interest from the formula.
How do extra payments affect total interest? Extra payments reduce the principal faster, which reduces the total interest paid and shortens the loan term. For example, on a $20,000 loan at 8% for 5 years, paying an extra $50 per month would save about $600 in interest and shorten the term by about 6 months. This calculator does not model extra payments, but the effect is always positive for the borrower.
Why does the calculator show a higher total interest than simple interest? Because loans compound interest on the remaining balance, not on the original principal. Each month, interest is calculated on the outstanding balance, which decreases as you pay. The total interest is the sum of all monthly interest charges, which is higher than simple interest on the original amount.
This result is an estimate; 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?
- 20,000 Car Loan Monthly Payment: What to Expect$405.53
- Average Car Loan Payment: Monthly Cost Data$405.53
- Car Loan Cost per Month: What to Expect$405.53
- 20k Car Loan Monthly Payment: How Much?$405.53