NPER function in Google Sheets
Calculates the number of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.
=NPER(rate, payment_amount, present_value, [future_value, end_or_beginning])NPER syntax and parameters
Five arguments, three required.
- ratenumberRequired
The interest rate.
- payment_amountnumberRequired
The amount of each payment made.
- present_valuenumberRequired
The current value of the annuity.
- future_valuenumberOptional
[ OPTIONAL ] - The future value remaining after the final payment has been made.
- end_or_beginningnumberOptional
[ OPTIONAL - 0 by default ] - Whether payments are due at the end (0) or beginning (1) of each period.
NPER examples
Formulas you'll actually reuse.
How many monthly payments of $350 clear an $18,000 loan at 6%:
=NPER(6%/12, -350, 18000)Result
59.6Years for a deposit to double at 4% with no further payments:
=NPER(4%, 0, -10000, 20000)Result
17.67
NPER in Excel
Same name — your formula ports as-is.
Try NPER in the playground
Edit the example — nothing to install.
Preloaded with the NPER formula from Example 1 — change anything and watch it respond.
NPER errors
What they mean — and the fixes.
#NUM!The payment can't cover the interest, so the balance never falls — raise the payment or check the signs (loan positive, payment negative).
Related functions
More ways Google Sheets gets this done.
- ACCRINTCalculates the accrued interest of a security that has periodic payments.FinancialExcel
- ACCRINTMCalculates the accrued interest of a security that pays interest at maturity.FinancialExcel
- AMORLINCReturns the depreciation for an accounting period, or the prorated depreciation if the asset was purchased in the middle of a period.FinancialExcel
- COUPDAYBSCalculates the number of days from the first coupon, or interest payment, until settlement.FinancialExcel
- COUPDAYSCalculates the number of days in the coupon, or interest payment, period that contains the specified settlement date.FinancialExcel
- COUPDAYSNCCalculates the number of days from the settlement date until the next coupon, or interest payment.FinancialExcel