This calculator solves for the annual interest rate (APR) on a loan when you know the loan amount, the monthly payment, and the loan term. You enter those three values, and the calculator returns the annual percentage rate that makes those numbers consistent, plus the total interest paid over the life of the loan.
Formula
The calculator uses the standard amortization equation, but instead of solving for the payment, it solves for the periodic interest rate r that satisfies:
P = PMT × (1 – (1 + r)^-n) / r
Where:
- P = loan amount (principal), in dollars
- PMT = monthly payment, in dollars
- n = total number of monthly payments (years × 12)
- r = monthly interest rate (APR ÷ 1200)
Because r appears both in the numerator and inside an exponent, there is no simple algebraic rearrangement to isolate it. The calculator uses a numerical root-finding method (bisection or Newton-Raphson) to find the r that makes the left and right sides equal. The result is then multiplied by 1200 to convert the monthly rate to an annual percentage rate (APR).
Worked Example
Using the default values: loan amount $20,000, monthly payment $400, term 5 years (60 months).
- n = 5 × 12 = 60 months
- We need to find r such that 20000 = 400 × (1 – (1 + r)^-60) / r
- Divide both sides by 400: 50 = (1 – (1 + r)^-60) / r
- Try r = 0.006 (0.6% per month): (1 – 1.006^-60) / 0.006 = (1 – 0.6985) / 0.006 = 50.25. Close but slightly high.
- Try r = 0.0061: (1 – 1.0061^-60) / 0.0061 = (1 – 0.6943) / 0.0061 = 50.11. Still slightly high.
- Try r = 0.0062: (1 – 1.0062^-60) / 0.0062 = (1 – 0.6901) / 0.0062 = 49.98. Very close.
- Interpolating, r ≈ 0.00619 per month.
- APR = 0.00619 × 1200 = 7.43%
Total interest = 400 × 60 – 20000 = 24000 – 20000 = $4,000. The calculator rounds the APR to 7.43%, matching this result.
Assumptions
- The interest rate is fixed for the entire loan term.
- Payments are made monthly at the end of each period.
- Interest compounds monthly at a rate equal to APR ÷ 12.
- No fees, taxes, insurance, PMI, or escrow amounts are included.
- The payment amount is constant and covers at least the monthly interest; otherwise the loan balance grows and no real rate exists.
When to Use This Calculation
You would use this calculator when a lender quotes you a monthly payment but not the interest rate, or when you want to compare two loan offers that have different fees wrapped into the payment. For example, if one lender offers a $15,000 loan at $300/month for 5 years, and another offers the same loan at $290/month, the second lender is effectively charging a lower rate. This calculator tells you exactly what that rate is.
It is also useful for auto loans, personal loans, and student loans where the dealer or lender advertises a payment rather than a rate. You can reverse-engineer the APR and compare it against other offers you have.
How to Read the Result
The APR shown is the annualized cost of borrowing, expressed as a percentage. A higher APR means the loan is more expensive. The total interest figure shows how much of your total payments go toward interest rather than principal. In the example above, you pay $4,000 in interest over 5 years on a $20,000 loan, which is 20% of the principal.
If the calculator returns a very low APR (near 0%), that means the payment is barely above the principal divided by the number of months. If it returns a very high APR (near 100%), the payment is barely covering the interest, and the loan is extremely expensive.
Common Mistakes and Misconceptions
- Confusing APR with the nominal rate: APR includes certain fees in some contexts, but this calculator models pure interest only. If a lender quotes a nominal rate but charges origination fees, the true APR will be higher than what this calculator shows.
- Using the wrong term length: A 5-year loan has 60 monthly payments, not 5. Always convert years to months before entering the term.
- Ignoring payment timing: This calculator assumes payments at the end of each month. If payments are due at the beginning of the month, the effective rate is slightly different.
- Rounding the payment: If you round the monthly payment to the nearest dollar, the calculated APR will be off. Use the exact payment amount when possible.
- Thinking the rate is the only cost: Fees, prepayment penalties, and late fees are not captured here. Two loans with the same APR can still have different total costs if one has higher fees.
Limits of the Formula
The numerical method works only when a real solution exists. If the monthly payment is less than the monthly interest on the loan (payment < P × r), the balance grows forever and no finite rate satisfies the equation. In that case, the calculator shows "Cannot compute." This is a useful check: if you enter a payment that is too low, you know the loan is unaffordable under any fixed rate.
The formula also assumes a constant payment and a fixed rate. Variable-rate loans, interest-only periods, balloon payments, and biweekly payment schedules all require different calculations. For those, you would need a more detailed amortization schedule that accounts for rate changes over time.
How to Choose Between Loan Offers
When comparing loans, use this calculator to find the APR for each offer, then compare the total interest. The offer with the lower APR is generally cheaper, assuming the same term and no differences in fees. However, if one loan has a longer term, the monthly payment will be lower but the total interest will be higher. You should compare total interest, not just monthly payments.
Also consider the term length: a shorter term means higher monthly payments but less total interest. This calculator does not tell you which is better for your budget; it only tells you the rate. You must decide what monthly payment fits your cash flow and how much total interest you are willing to pay over time.
Frequently Asked Questions
What is the difference between APR and interest rate?
The interest rate is the basic cost of borrowing, expressed as a percentage of the principal. APR (annual percentage rate) includes certain fees and costs in addition to the interest rate, giving a more complete picture of the loan’s annual cost. This calculator computes a pure interest rate, not a fee-inclusive APR. If a lender quotes an APR that is higher than the rate you calculate here, the difference is likely due to origination fees or other charges.
Why does the calculator show “Cannot compute”?
This happens when the monthly payment is too low to cover the monthly interest on the loan. For example, on a $20,000 loan at 10% APR, the monthly interest is $166.67. If you enter a payment of $150, the loan balance grows each month, and no fixed rate can make the numbers work. Lower the payment or increase the loan amount to get a valid result.
Can I use this for a car loan or mortgage?
Yes, the math is the same for any fixed-rate amortizing loan. For a mortgage, however, you should include property taxes, insurance, and PMI separately, as they are not part of the interest calculation. For a car loan, the same applies: this calculator gives you the pure interest rate, not the total monthly payment including fees.
How accurate is the numerical method?
The bisection method converges to within a very small tolerance, typically less than 0.0001% APR. The result is rounded to two decimal places, which is more precise than most lenders quote. The accuracy is limited only by the precision of your inputs, so use the exact payment amount rather than a rounded figure.
What if my loan has a variable rate?
This calculator assumes a fixed rate. For a variable-rate loan, the payment changes when the rate changes, so there is no single APR that describes the entire loan. You would need to model each rate period separately, which is beyond the scope of this simple calculator.
The result is an estimate and the lender’s disclosure gives the exact figures.
Related
Formula used
in p | Loan amount | $ | 20000 | 1 | 100000000 in pmt | Monthly payment | $ | 400 | 1 | 10000000 in yrs | Loan term | years | 5 | 0.0833 | 50 out apr | Annual interest rate (APR) | % | rate(yrs * 12, pmt, p) * 1200 | 2 out int | Total interest paid | $ | 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
- Car Loan Payment Calculator and Formula$405.53
- VA Down Payment Assistance Calculator and Guide$15,000.00
- 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