How to use this calculator
- Enter Outstanding balance ($)。
- Enter Annual rate (%)。
- Enter Monthly payment ($)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Months to payoff。
What is it
Student Loan Payoff Date — Enter Outstanding balance, Annual rate and Monthly payment to get Months to payoff — or leave any field blank to solve for it. Personal-finance calculators link income, spending and savings goals to answer "can I afford it", "how long will it take" and "how much should I set aside". The core question it answers is: Months to payoff. With Outstanding balance = 80,000 $, Annual rate = 5 % and Monthly payment = 1,200 $, Months to payoff is 79 months.
Formula
| Variable | Inputs | Unit |
|---|---|---|
principal | Outstanding balance | $ |
annualRate | Annual rate | % |
monthlyPayment | Monthly payment | $ |
monthsToPayoff | Months to payoff | months |
(function () { var r = annualRate / 100 / 12, bal = principal, m = 0; while (bal > 0.01 && m < 1200) { bal = bal * (1 + r) - monthlyPayment; m++; } return m; })()The relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Outstanding balance = 80000 $
- Annual rate = 5 %
- Monthly payment = 1200 $
Formula used: (function () { var r = annualRate / 100 / 12, bal = principal, m = 0; while (bal > 0.01 && m < 1200) { bal = bal * (1 + r) - monthlyPayment; m++; } return m; })()
Answer:
- Months to payoff = 79 months
Example 1 (default inputs):Suppose Outstanding balance = 80,000 $, Annual rate = 5 %, Monthly payment = 1,200 $; then giving Months to payoff = 79 months.
Example 2 (one input changed):If you change Outstanding balance to 120,000,giving Months to payoff = 130 months.
Additional information
Assumptions and limitations
- Results are only as good as your assumptions (inflation, return, horizon) and are sensitive to them. Run both a conservative and an optimistic set of inputs and read the range, not the point.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.