calculate-loan

01 Loan payments

Student Loan Repayment Timeline Calculator

Calculator No. 01-3105 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

Estimate for education, not financial advice. The result follows from the numbers you enter and the formula shown. It is not a quote or an offer, and it does not include fees, taxes or insurance unless the calculator asks for them. Ask your lender for the exact figures.

This student loan repayment calculator estimates how long it takes to repay a fixed-rate loan when you make the same monthly payment each month. Enter the balance, annual percentage rate (APR), and monthly payment to see the estimated payoff time and the total paid.

Formula

The calculator finds the number of level monthly payments needed to reduce the balance to zero, assuming the payment covers the interest charged each month. It first calculates the unrounded payoff time, rounds that time to six decimal places, and rounds up to the next whole month:

n = ceil(round(-ln(1 - r × P / M) / ln(1 + r), 6))

  • P is the starting loan balance in dollars.
  • APR is the annual percentage rate, entered as a percentage.
  • r is the monthly interest rate, calculated as APR ÷ 1200.
  • M is the monthly payment in dollars.
  • n is the estimated number of monthly payments.

The displayed years equal n ÷ 12. The estimated total of scheduled payments is M × n, and estimated interest is that total minus the starting balance. Because the calculator assumes the same payment in every month, it does not adjust the final payment downward to match the remaining balance exactly.

Worked Example

Using the calculator’s defaults: a $20,000 balance, 8% APR, and a $500 monthly payment.

  1. Convert APR to a monthly rate: r = 8 ÷ 1200 = 0.0066667, or about 0.66667% per month.
  2. Substitute into the payoff formula: n = ceil(round(-ln(1 - 0.0066667 × 20,000 ÷ 500) / ln(1 + 0.0066667), 6)).
  3. The expression inside the ceiling is approximately 44.65 months, so the estimated timeline is 45 months, or 3.75 years.
  4. Total scheduled payments: $500 × 45 = $22,500.
  5. Estimated interest paid: $22,500 - $20,000 = $2,500.

How to Read Your Repayment Timeline

The month count is an estimate of how many monthly payments are needed under the inputs provided. For example, 45 months means the model counts 45 full payments of the amount entered. In a real amortizing loan, the final payment is often smaller than the regular payment because it only needs to cover the remaining principal and interest. As a result, the calculator’s total paid and interest figures can be slightly higher than an exact payoff schedule.

Interest adds to the balance over time, so the payment needs to be greater than the interest accrued in a month for the balance to shrink. At the default 8% APR, the first month’s estimated interest on $20,000 is about $133.33. A $500 payment is above that amount, leaving roughly $366.67 to reduce principal during that month. As the balance falls, the interest portion generally falls too, provided the rate and payment stay fixed.

What Changes the Timeline

  • Balance: A larger starting balance usually takes longer to repay if the APR and payment are unchanged.
  • Monthly payment: A larger payment generally shortens the modeled timeline, as long as it exceeds monthly interest.
  • APR: A higher rate increases the interest accruing on the balance and can extend repayment at a fixed payment amount.
  • Payment changes and pauses: Missed, delayed, reduced, or irregular payments can make actual repayment differ from a fixed-payment estimate.

Use the balance and rate that apply to the loan or loan group you are examining. If you have multiple loans with different rates or payment terms, calculating each separately is more informative than treating them as one loan at a single blended rate. A blended estimate cannot show how payments are allocated among separate balances.

When the Estimate Does Not Apply

This is a general mathematical estimate, not a full student-loan servicing model. Student loans may have changing rates, changing required payments, separate loan groups, payment adjustments, or periods when payments are not made. The calculator does not model any particular repayment program, eligibility condition, forgiveness, deferment, forbearance, capitalization, fees, or payment allocation rules. Check the loan documents and ask the servicer how the balance and payment are calculated for your account.

A payment that is too small to cover the monthly interest cannot pay off the loan under this fixed-payment formula. In that situation the formula has no finite payoff result, and the calculator reports that it cannot compute a timeline. The same issue can arise when the payment is exactly equal to monthly interest: the balance does not decline. Confirm that the rate is entered as an annual percentage, such as 8 for 8%, rather than as 0.08; the formula converts the entered percentage to a monthly rate.

Assumptions

  • The APR stays fixed for the entire estimated repayment period.
  • Payments are equal, made monthly, and applied at regular intervals; the formula treats interest as monthly at APR ÷ 12.
  • The starting balance is the amount on which interest accrues, with no additional borrowing or balance changes.
  • The estimate excludes fees, payment pauses, changing terms, and loan-specific servicing or program rules.

Frequently Asked Questions

How long will it take to pay off my student loan?
It depends on the balance, APR, and amount paid each month. Enter those figures to estimate the number of months; the result assumes a fixed rate and equal payments.

Does the timeline include interest?
Yes. Interest is included through the monthly rate in the payoff formula. The total and interest outputs are estimates based on making the entered payment for every counted month.

Why does the calculator say it cannot compute?
The payment may not exceed the interest accruing each month, so the balance would not decline under the assumptions. Check the payment, balance, and APR figures.

Is the final payment really the same as my regular payment?
Not necessarily. The calculator counts whole payments of the entered amount, while a lender’s payoff schedule may use a smaller final payment to clear the remaining balance.

Can I use this for several student loans at once?
You can use it for a rough estimate only if you supply a meaningful combined balance, rate, and payment. Loans with different rates or terms are better estimated separately.

This result is an estimate; 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 pay | Monthly payment | $ | 500 | 0.01 | 100000000
out mos | Months to repay | months | ceil(round(-ln(1 - (apr / 1200) * p / pay) / ln(1 + apr / 1200), 6)) | 0
out years | Approximate years | years | mos / 12 | 2
out total | Total of scheduled payments | $ | pay * mos | 2
out int | Estimated interest paid | $ | pay * mos - 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

The whole Loan payments section →