NPER Function
Calculates the number of periods for a loan or investment.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| rate | Interest rate per period. | Required |
| pmt | Payment made each period. | Required |
| pv | Present value or loan principal. | Required |
| fv | Future value (default 0). | Optional |
| type | 0 = end of period (default), 1 = beginning of period. | Optional |
Basic Example
Number of payments to pay off a loan
=NPER(0.06/12, -500, 10000)Paying $500 per month on a $10,000 loan at 6% annual interest takes about 22.43 months.
Advanced Examples
Example 1: Reach a savings goal
Savings planHow many months to reach $10,000 by saving $300 per month at 5%?
=NPER(0.05/12, -300, 0, 10000)How NPER Works
NPER solves for the number of periods in the time-value-of-money equation. It is the inverse of PMT.
Important Notes & Limitations
Payments must remain constant.
Returns a decimal; round up if you need a whole number of periods.
Requires consistent period units.
Common Errors & Fixes
#NUM! errorThe payment is too small to reach the future value at the given rate.Fix: Increase the payment, lower the rate, or reduce the target amount.
Decimal periodsResult is not a whole number.Fix: Use ROUNDUP or CEILING to get the next whole period.
Download Practice File
NPER
nperPractice NPER with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the NPER function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps