This loan repayment time calculator estimates how many monthly payments it will take to repay a balance when you know the amount owed, annual APR, and monthly payment. Enter those figures to see the estimated payoff time in months, plus the interest and total paid using the rounded monthly payment.
Formula
The calculator finds the number of level monthly payments needed to bring a loan balance to zero, assuming a fixed rate and a payment made once each month. It rounds the calculated number of months up to the next whole month, since a fraction of a scheduled payment period is not counted as a completed payment.
n = ceil(round(−ln(1 − rP/M) ÷ ln(1 + r), 6))
- n is the estimated number of monthly payments, in months.
- P is the starting loan balance, in dollars.
- M is the fixed monthly payment, in dollars.
- r is the monthly interest rate as a decimal, calculated as APR ÷ 1200 when APR is entered as a percentage per year.
- APR is the annual percentage rate entered as a percentage, not a decimal.
- ceil means round up to a whole month; ln is the natural logarithm.
The expression requires a payment greater than the first month’s interest charge. If the payment is equal to or below that charge, the balance cannot decline under this fixed-payment model, so there is no finite payoff time. The calculator’s formula returns “Cannot compute” in that case. The inputs are also constrained to positive values.
Worked Example
Using the calculator’s defaults—$20,000 balance, 8% APR, and a $500 monthly payment:
- Convert APR to a monthly decimal rate: r = 8 ÷ 1200 = 0.0066667, or about 0.6667% per month.
- Calculate first-month interest: $20,000 × 0.0066667 ≈ $133.33. The $500 payment is greater than this amount, so it reduces the balance.
- Substitute into the payoff formula: n = ceil(−ln(1 − (0.0066667 × 20,000 ÷ 500)) ÷ ln(1.0066667)).
- The unrounded result is about 47.4 months. Rounding up gives 48 months, or four years of monthly payments in this simplified estimate.
- Total paid is 48 × $500 = $24,000. Estimated interest is $24,000 − $20,000 = $4,000.
The final payment in a real amortization schedule may be smaller than the regular payment. This calculator uses the full monthly payment for every month, including the last one, to produce a simple estimate. As a result, the total-paid and interest outputs are estimates rather than exact final-statement amounts.
Assumptions
- The APR and balance remain fixed throughout repayment.
- Payments are made monthly, with the first payment one month after the starting balance is measured.
- Interest compounds monthly at APR ÷ 12, represented as APR ÷ 1200 in the formula.
- Payments are constant, applied to interest and then principal, with no missed or extra payments.
- Fees, taxes, insurance, PMI, escrow, and payment-date adjustments are not included.
How to Use and Read the Estimate
Use the current principal balance rather than the original amount borrowed if payments have already been made. Enter the APR as a percentage: for example, enter 8 for 8%, not 0.08. Enter the amount you expect to pay each month, not the amount due on a different schedule. The result is a count of monthly payment periods, not a guaranteed calendar payoff date.
The monthly-payment figure is central to the estimate. A larger payment generally directs more money toward principal after interest is covered and reduces the number of months. A smaller payment generally lengthens repayment. The calculation does not assume a particular budget or say what payment is appropriate; it only shows the arithmetic for the figures entered. Obtain the actual balance, APR, payment amount, and any applicable charges from the lender’s documents or account information.
For loans with a changing rate, promotional period, variable payment, or irregular payment dates, a single fixed-rate calculation may not match the account. A lender’s amortization schedule or payoff quote can reflect contract terms and transaction timing that this basic model does not capture.
What Changes the Repayment Time?
Repayment time depends on the balance, interest rate, and payment amount together. For the same balance and payment, a higher APR causes more interest to accrue each month and generally means more time and a larger total paid. For the same balance and APR, paying more each month usually shortens the modeled term, provided the payment exceeds interest due.
Consider why a payment that barely covers interest is different from one that meaningfully reduces principal. On a $20,000 balance at 8% APR, first-month interest under the stated convention is about $133.33. A payment of $130 would not cover it; the balance would not be paid off by a sequence of that fixed payment under this model. A $500 payment covers interest and leaves about $366.67 to reduce principal in the first month. Later interest charges change as the balance falls.
Extra payments can alter the outcome, but this calculator does not model their timing or frequency. To estimate an extra-payment plan, the balance would need to be recalculated month by month with the actual payment schedule and rules for how the lender applies additional amounts.
Limits and Common Mistakes
- Confusing APR and monthly rate: APR of 8% is entered as 8. The formula converts it to a monthly decimal rate by dividing by 1200.
- Using the original principal after repayment: For an existing loan, use the current balance if available; using the amount first borrowed can overstate the time remaining.
- Entering only the principal portion: The monthly payment input should be the full amount applied to the loan under the model, not just principal after interest.
- Assuming the displayed total is an exact payoff quote: The final payment may differ, and fees, accrued daily interest, payment timing, or account adjustments can change the actual amount.
- Applying fixed-rate math to a changing loan: A variable APR or changing payment requires a schedule that accounts for each rate and payment change.
Rounding also matters. The calculator rounds the logarithm-based month count to six decimal places before rounding up to a whole month. Its total-paid estimate then multiplies that month count by the entered payment. A lender’s schedule may calculate interest daily, carry more precision, or use a smaller final payment.
Frequently Asked Questions
How do I calculate how long it will take to repay a loan?
Use the current balance, APR, and fixed monthly payment in the payoff formula shown above. The result estimates the number of monthly payments, provided each payment exceeds the interest charged.
Does a higher monthly payment shorten loan repayment time?
Under the fixed-rate model, a higher payment generally shortens repayment time if it exceeds the interest due. Actual results depend on how payments are applied and whether the rate or terms change.
What happens if my payment is less than the monthly interest?
The payment does not cover the modeled interest charge, so the balance will not be repaid through that fixed payment. The calculator reports that it cannot compute a finite payoff time.
Is the repayment time the same as the loan’s original term?
No. The original term is the schedule set when a loan is made. The estimated remaining repayment time can differ if the balance, payment, rate, or payment history differs from the original schedule.
Why might my lender’s payoff amount differ from this estimate?
This estimate uses monthly compounding and level payments, and excludes fees and payment-date details. A lender’s payoff figure can reflect accrued interest through a particular date, contract terms, and account transactions.
This result is an estimate for educational purposes; the lender’s disclosure gives the exact figures.
Related
Formula used
in p | Loan balance | $ | 20000 | 0.01 | 100000000 in apr | Interest rate (APR) | % | 8 | 0.01 | 100 in m | Monthly payment | $ | 500 | 0.01 | 100000000 out mos | Estimated repayment time | months | ceil(round(-ln(1 - (apr / 1200) * p / m) / ln(1 + apr / 1200), 6)) | 0 out tot | Total paid | $ | mos * m | 2 out int | Total interest | $ | mos * m - 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
- J.D. Power Cost of Ownership: What It Measures$506.91
- Jeep Cost of Ownership: What Owners Really Pay
- Hyundai TCO Cost Calculator and Ownership Guide$7,600.00
- Infiniti Q50 Cost of Ownership: What to Budget
- Home Ownership Cost Estimator: Monthly Costs Explained$2,269.79
- Total Cost of Ownership: How to Present It Clearly$38,500.00