How to Calculate the Interest Rate on a Loan
Regulation Z describes the annual percentage rate as a measure of the cost of credit, expressed as a yearly rate, that relates the amount and timing of value received by the consumer to the amount and timing of payments made. Its Appendix J finds the rate per period of the loan, the unit-period rate, and multiplies it by the number of unit-periods in a year, and if the unit-period is a month, there are 12 unit-periods per year. A $20,000 loan repaid with 60 monthly payments of $400 costs 60 × $400 − $20,000 = $4,000 of interest, and the calculator finds an annual rate of 7.42% for it.
By FiftyCalc · Updated November 4, 2026, first published November 4, 2026
Open the Interest Rate Calculator
How it is calculated
Gather the loan terms: the calculator takes the loan amount, the monthly payment and the number of months, and the total interest is all the payments minus the amount borrowed.
Find the monthly rate: under the actuarial method of Regulation Z, at the end of each unit-period (or fractional unit-period) the unpaid balance of the amount financed is increased by the finance charge earned during that period and is decreased by the total payment (if any) made at the end of that period. Appendix J provides for the solution of its general equation by an iteration process, and when the iteration approach is used, calculators or computers are expected to carry all available decimals throughout the calculation and to perform enough iterations to make virtually certain that the annual percentage rate obtained, when rounded to 2 decimals, is correct. The calculator solves for the monthly rate numerically: it keeps the rate inside an interval that holds it and refines it with Newton's method, or by halving the interval when a step would leave it, until the rate no longer changes, well beyond the decimals shown; its result is an estimate made by the calculator, not a disclosed APR verified under Regulation Z.
Turn it into a yearly rate: the annual percentage rate is the nominal annual percentage rate determined by multiplying the unit-period rate by the number of unit-periods in a year, and if the unit-period is a month, there are 12 unit-periods per year. The calculator's annual rate is the monthly rate before rounding times 12, so the rounded monthly rate it shows, 0.62%, times 12 does not give the 7.42% shown; it also shows an effective annual rate, the monthly rate compounded over the year.
Worked example
Assumptions: a $20,000 loan repaid in 60 equal monthly payments of $400, with no fees. The payments add up to 60 × $400 = $24,000, so the interest is $24,000 − $20,000 = $4,000. The calculator finds the monthly rate at which those 60 payments repay the $20,000, 0.62% after rounding, an annual rate of 7.42% and an effective annual rate of 7.68%.
| Loan amount | $20,000 |
|---|---|
| Monthly payment | $400 |
| Term | 60 months |
| Annual interest rate (nominal, monthly compounding) | 7.42% |
|---|---|
| Rate per month | 0.62% |
| Effective annual rate | 7.68% |
| Total interest | $4,000 |
Figures computed by this site's calculator from the inputs above. Run your own numbers: Interest Rate Calculator
Frequently asked questions
Is the interest rate the same as the APR?
The CFPB explains that the interest rate is the cost you will pay each year to borrow the money, expressed as a percentage rate, and does not reflect fees or any other charges you may have to pay for the loan. On a mortgage, the APR reflects the interest rate, any points, mortgage broker fees, and other charges that you pay to get the loan, and for that reason, the APR is usually higher than the interest rate. The calculator has no entry for fees: it works only from the amount, the payment and the number of months you enter.
How exact must a disclosed APR be?
For an annual percentage rate disclosed under Regulation Z, as a general rule, the rate is considered accurate if it is not more than 1/8 of 1 percentage point above or below the rate the regulation determines, and 1/4 of 1 percentage point in an irregular transaction; these tolerances concern disclosed APRs, not the precision of this calculator. An irregular transaction is one that includes multiple advances, irregular payment periods, or irregular payment amounts (other than an irregular first period or an irregular first or final payment).
Sources
- 12 CFR 1026.22 (Regulation Z): determination of annual percentage rate Consumer Financial Protection Bureau (CFPB) checked on 2026-11-04
- Appendix J to Part 1026 (Regulation Z): annual percentage rate computations for closed-end credit transactions Consumer Financial Protection Bureau (CFPB) checked on 2026-11-04
- What is the difference between a mortgage interest rate and an APR? Consumer Financial Protection Bureau (CFPB) checked on 2026-10-30
General information drawn from the official sources above, not tax or legal advice. Amounts change from year to year: check the source for your tax year.