NPER returns how many payments it takes to reach a target balance at a fixed rate. Saving $500 a month at 5% to reach $35,000 takes 61.55 months — measured, and note it is not a whole number.
| Argument | What it means |
|---|---|
| rate | Rate per period. |
| pmt | Payment per period, negative for money paid out. |
| pv | Starting balance / loan principal (positive when you receive the loan). |
| fv | Optional target balance. Defaults to 0 (loan fully repaid). |
| type | 0 = period end, 1 = period start. |
Each result was returned by the engine, not written by hand. Loan fixture: $250,000, 6.5% a year, 360 monthly payments.
| Formula | Result | Reading |
|---|---|---|
| =NPER(0.065/12,-1580.17,250000) | 360 | Recovers the 360-month term (tiny drift from rounded PMT) |
| =NPER(0.07/12,-500,0,609985.5) | 360.00000052 | Months to save $609,985.50 at 7% |
| =NPER(0.05/12,-500,0,35000) | 61.55 | Fractional answer: 61 full payments plus a partial one |
| =NPER(0,-500,0,30000) | 60 | Zero interest: 30000/500 = 60 exactly |
| =NPER(0.065/12,-100,250000) | #NUM! | Payment too small to ever repay — see below |
On this $250,000 loan at 6.5%, the first month's interest alone is $1,354.17 (measured with IPMT). A $100 payment does not cover it, so the balance grows every month and no finite number of payments ever clears the loan. NPER returns #NUM! because the equation has no solution. If you hit this, the fix is a larger payment or a lower rate — not a different formula.
Keep the payment fixed at $1,580.17 on $250,000 and raise the rate one point from 6.5% to 7.5%: the term goes from 360 months to 721.19 months — thirty years becomes sixty. Drop one point to 5.5% and it clears in 282.42 months. This is why a small rate change matters more than a small payment change.
| Annual rate | Formula | Measured result |
|---|---|---|
| 5.5% | =NPER(0.055/12,-1580.17,250000) | 282.42 |
| 6.5% | =NPER(0.065/12,-1580.17,250000) | 360.00 |
| 7.5% | =NPER(0.075/12,-1580.17,250000) | 721.19 |
All other inputs held constant. Measured, not modelled.
NPER is the term-solving sibling of PMT (payment), RATE (interest) and PV (principal). Given any three, the fourth is determined.
Because the target is reached part-way through a period. Measured: 61.55 months to save $35,000. Round up with ROUNDUP if you need a count of whole payments.
A payment that cannot cover the period's interest, so the balance never falls. On a $250,000 loan at 6.5% monthly, interest alone is $1,354.17, so =NPER(0.065/12,-100,250000) has no solution.
Yes. =NPER(0,-500,0,30000) returns 60 — simple division.
Wrap it in ROUNDUP. The measured 61.55 months becomes 62 scheduled payments, with the last one smaller than the rest.