Function · Financial

Excel NPER function

The Excel NPER function returns how many periods a rate and a deposit take to reach a goal. $8,000 plus $300 a month at 5% reaches $50,000 in 101.49 months.

All current Excel versions. Also in Excel for the web and Google Sheets.

Syntax =NPER(rate, pmt, pv, [fv], [type])

NPER
=NPER(0.05/12,-300,-8000,50000)

Arguments

NameRequiredWhat to pass
rateRequiredInterest rate per period.
pmtRequiredDeposit each period. Negative if you want a positive goal and a positive starting balance's opposite sign.
pvRequiredThe amount you already have. Negative when the deposits are negative and the goal is positive.
fvOptionalThe balance you want at the end. Default is 0, which is a loan paid off, not a savings goal.
typeOptional0, the default, deposits at the end of the period. 1 deposits at the beginning.

Examples

Months to reach $50,000

=NPER(0.05/12,-300,-8000,50000)

Result 101.49 months

=NPER(B2/12,-B3,-B1,B4)B5
Goal
AB
1Starting balance8000
2Annual rate5%
3Monthly deposit300
4Goal50000
5Months101.49
A picture of the sheet, not a live calculator. B2 is a percent. Deposits and the starting balance are negated inside NPER so the goal stays positive.

NPER runs the compound-interest question backward. How many months until the balance hits the goal? Starting from $8,000, adding $300 at the end of each month, at 5% a year compounded monthly, the $50,000 goal takes 101.49 months. That matches the FV page, which uses the same figures and shows the balance after 101 deposits is still about $49,752.

The result is a count of periods, and the fraction is a partial period. It is not a promise that month 101 lands on $50,000. Deposits at the beginning of the month, type 1, finish a little sooner. The rate has to be the rate per period. Divide the annual rate by 12 for a monthly deposit.