This calculator computes your monthly loan payment and total interest using the standard amortization formula. You enter the loan amount, annual interest rate (APR), and loan term in years, and it returns the fixed monthly payment and the total interest paid over the life of the loan.
Formula
The monthly payment for a fixed-rate loan is calculated with the standard amortization formula:
M = P × [r(1 + r)^n] / [(1 + r)^n – 1]
Where:
- M = monthly payment (in dollars)
- P = principal loan amount (in dollars)
- r = monthly interest rate = annual rate (APR) divided by 12, expressed as a decimal (e.g., 8% APR → 0.08/12 = 0.0066667)
- n = total number of payments = loan term in years × 12
Total interest is simply the monthly payment multiplied by the number of payments, minus the principal: Total Interest = M × n – P.
Worked Example
Using the default values: 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
- 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.647
- Denominator: 1.48985 – 1 = 0.48985
- M ≈ 198.647 / 0.48985 ≈ 405.53
So the monthly payment is approximately $405.53. Total paid over 60 months = 405.53 × 60 = $24,331.80. Total interest = $24,331.80 – $20,000 = $4,331.80. The calculator rounds the payment to the cent and uses that rounded value for the total, matching the result above.
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 equal to APR / 12.
- The formula does not include fees, taxes, insurance, PMI, or escrow amounts unless you add them to the loan amount.
- All payments are made on time and in full; no prepayment or late fees are considered.
How to Use the Formula in Real Life
This formula is the basis for most fixed-rate loans: auto loans, personal loans, student loans, and fixed-rate mortgages. It tells you the exact payment needed to fully amortize the loan (reduce the balance to zero) by the end of the term. You can use it to compare loan offers by plugging in different rates or terms, or to see how much extra interest a longer term costs. For example, a $20,000 loan at 8% for 5 years costs $4,331.80 in interest; the same loan for 10 years (120 payments) would have a payment of about $242.66 and total interest of about $9,119.20 – more than double the interest, because the principal is repaid more slowly.
Common Mistakes and Misconceptions
- Using the annual rate directly in the formula: Always divide by 12 to get the monthly rate. Using 8 instead of 0.0066667 will give a wildly wrong payment.
- Forgetting to convert years to months: The exponent n must be in months, not years. For a 5-year loan, n = 60, not 5.
- Rounding intermediate steps too early: If you round the monthly rate to 0.007, the payment changes slightly. Keep full precision until the final answer.
- Thinking the formula gives the total cost: It gives the payment; total interest is a separate calculation. Many people confuse the two.
- Assuming the same payment for a variable-rate loan: This formula only works for fixed rates. If the rate can change, the payment will change too.
Limits of the Formula
The formula assumes a constant interest rate and a fixed payment schedule. It does not account for:
- Balloon payments or interest-only periods.
- Prepayment penalties or the effect of making extra payments (which reduce interest but require a different calculation).
- Daily or simple interest loans that accrue interest differently.
- Fees that are financed into the loan, which effectively increase the principal.
For adjustable-rate loans, each rate adjustment requires recalculating the payment based on the remaining balance and the new rate. The formula still works, but you must apply it repeatedly over each rate period.
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 yearly percentage. APR (Annual Percentage Rate) includes the interest rate plus certain fees and costs, giving a more complete picture of the loan’s cost. For this calculator, the APR input is treated as the interest rate; if your loan has fees, the true APR will be slightly higher than the advertised rate.
How do I calculate the interest rate if I know the payment?
You can solve for the rate using trial and error or a financial calculator. The formula cannot be rearranged algebraically to isolate the rate, so numeric methods (like the rate() function in a spreadsheet) are used. This calculator does not solve for the rate, but you can use it to test different rates until the payment matches your known payment.
Does the formula work for a mortgage with property taxes and insurance?
No. The formula only covers principal and interest. Property taxes, homeowners insurance, and PMI are typically added to your monthly payment but are not part of the amortization formula. You would add those amounts separately to get your total monthly housing payment.
What happens if I make extra payments?
Extra payments reduce the principal faster, which shortens the loan term and reduces total interest. The monthly payment stays the same, but the number of payments decreases. To estimate the effect, you would need a separate calculator that accounts for extra payments; this basic formula assumes no prepayments.
Why does the total interest seem so high?
Interest is calculated on the remaining balance, which is largest at the start. Early payments go mostly toward interest, with little principal reduction. Over a long term, this can result in total interest exceeding the principal. For example, a 30-year mortgage at a typical rate often has total interest close to or exceeding the loan amount.
Can I use this formula for a loan with a different payment frequency?
Yes, but you must adjust the rate and number of periods. For biweekly payments, divide the annual rate by 26 and multiply the term in years by 26. For quarterly, divide by 4 and multiply by 4. The formula structure stays the same.
This result is an estimate based on the inputs you provide; your lender’s disclosure will give the exact figures for your specific loan.
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
- Variable Rate Loan Definition & How It Works$377.42
- Loan Discharge Date: What It Means & How to Find Yours$405.53
- 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