Student Loan Payoff Time Calculator

A student loan payoff time calculator works backwards from the payment you can afford to tell you how long it will take to clear the balance. Instead of fixing the term and solving for the payment, it fixes the payment and solves for the number of months, using the amortization relationship rearranged for time. This is useful when you have a set amount to put toward the loan each month and want to know when it will be gone, or how much sooner a bigger payment would finish it. This calculator takes the balance, the annual interest rate and your chosen monthly payment, then returns the number of months and years to payoff. Enter a 30,000 dollar balance at 6 percent with a 400 dollar monthly payment and the tool returns about 94.24 months, or 7.85 years. If the payment is too small to cover the monthly interest, the balance never falls, so the calculator flags that case. Comparing payments shows how a modest increase can shave months or years off the schedule and cut total interest. The full payoff formula and a worked example that reconciles exactly to the calculator above appear in detail below.

Payoff time solves amortization for the number of months: n = -ln(1 - L x r / P) / ln(1 + r), where P is the monthly payment. A $30,000 balance at 6% with a $400 payment clears in about 94.24 months (7.85 years).

Source: US Securities and Exchange Commission, Investor.gov. As at 25 June 2026.

Monthly interest at start--
Months to payoff--
Years to payoff--

Student loan payoff time formula

n = -ln(1 - L x r / P) / ln(1 + r)
L = balance, r = annual rate / 12 (decimal), P = monthly payment
the payment P must exceed L x r or the balance never falls

The amortization formula is rearranged to solve for n, the number of months. The natural logarithm appears because the balance shrinks geometrically. If the payment does not cover the first month's interest, payoff is impossible.

Worked example

A 30,000 dollar balance at a 6 percent annual rate with a 400 dollar monthly payment.

  1. Monthly rate r = 6% / 12 = 0.005
  2. L x r = 30,000 x 0.005 = 150 (the first month's interest, below the 400 payment, so payoff is possible)
  3. 1 - L x r / P = 1 - 150 / 400 = 0.625
  4. n = -ln(0.625) / ln(1.005) = 0.470004 / 0.0049875 = 94.24 months = 7.85 years

These are the calculator's default inputs, so the result above matches the widget exactly.

Student Loan Payoff Time Calculator: frequently asked questions

How is payoff time calculated?

By rearranging the amortization formula to solve for the number of months: n equals minus the natural log of (one minus balance times monthly rate over payment), divided by the natural log of (one plus the monthly rate). The result is the months to clear the loan.

What if my payment is too small?

If your monthly payment is less than or equal to the first month's interest, the balance never decreases and the loan can never be paid off. The calculator detects this and flags it instead of returning a number.

How much faster does a bigger payment finish the loan?

Increasing the payment shortens the term more than proportionally, because more of each payment goes to principal. Try a higher payment in the calculator to see how many months or years it removes from the schedule.

Does the result include partial months?

Yes, the formula returns a fractional number of months, such as 94.24. In practice the final payment is smaller, and the schedule rounds to whole months. The fractional figure is the exact mathematical payoff time.

Why pay off student debt early?

Paying early reduces total interest and frees up future cash flow. The US Securities and Exchange Commission's Investor.gov highlights understanding the cost of debt; this tool shows how a larger payment cuts the time to be debt-free.

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 25 June 2026. See our methodology. This is general information, not financial, tax, legal or investment advice.