NPER tells you how many payments it takes to clear a loan — and what happens when you pay extra each month. Bumping the payment up cuts the term dramatically, and NPER quantifies exactly how much.
The example
A $25,000 loan at 6%: the standard payment vs paying $100 extra.
| A | B | |
|---|---|---|
| 1 | Monthly payment | Months to payoff |
| 2 | $483.32 (standard) | 60 |
| 3 | $583.32 (+$100) | ~47 |
| 4 | $683.32 (+$200) | ~39 |
The formula
Months to pay off at a given payment:
How it works
NPER solves for the number of periods:
- Inputs mirror PMT: the monthly rate (
B1/12), the payment (negative — cash out), and the current balance. - NPER returns how many monthly payments reach a zero balance.
- Increase the payment and NPER falls fast — extra principal each month compounds into big time savings.
- Divide by 12 for years: a 60-month loan becomes ~47 months (under 4 years) with just $100 extra per month.
Interest saved: compare payments × payment for each scenario. Paying extra means fewer payments — the difference in total paid is the interest you avoided. NPER turns “should I pay extra?” into a concrete number.
Try it: interactive demo
$25,000 at 6%. Add extra to the $483 payment.
Variations
In years
Divide the result by 12:
Payment to finish by a date
Flip it — solve for the payment given the periods:
With a remaining balloon
Pay down to a future value, not zero:
Pitfalls & errors
Payment too small. If the payment doesn’t cover the monthly interest, the balance never falls and NPER returns an error. The payment must exceed balance × rate.
Sign convention. Enter the payment as negative (cash out) with a positive balance, or NPER returns a nonsensical result.
NPER returns a fraction. 46.8 months means the loan clears partway through month 47 — round up for a whole-payment count.
Practice workbook
Frequently asked questions
How do I calculate how long it takes to pay off a loan in Excel?
How much faster will extra payments pay off my loan?
Why does NPER return an error?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class