How to Use the NPER Function in Google Sheets

Use the NPER function in Google Sheets to calculate the number of periods (payment periods) for a loan or investment. Needless to say, the payment must be constant periodic and also the interest rate must be fixed.

That means, with the help of the NPER financial function, you can calculate the number of months/quarter/years required to pay off a loan in full or reach an investment goal.

To return the number of payment periods using the NPER function, you must input the following values in Google Sheets.

See the Syntax of the NPER function and its arguments to understand the said input values.

Syntax:

NPER(rate, payment_amount, present_value, [future_value, end_or_beginning])

Arguments:

  1. rate – The annual interest rate.
  2. payment_amount – The amount of each (periodic) payment (PMT) which includes principal payment (PPMT) and interest payment (IPMT).
  3. present_value – The present value (PV) (sum of all the payments).
  4. future_value – The future value (FV) or the cash balance that you want to attain after the final payment. This is optional and default to 0.
  5. end_or_beginning – payment is due at the end or beginning of each period. This is also optional. The default value is 0 (payment at the end of the period).

Now let’s see how to calculate the number of payment periods using the NPER function in Google Sheets.

Examples to the Use of NPER Function in Google Sheets

Please try to input the annual interest rate. We can use the annual interest rate as it is in the formula if you are making the payment on a yearly basis.

If the payment is made quarterly, then within the formula, divide the annual interest rate by 4 and for the monthly payments, divide the interest by 12.

In the below formula examples, I have included the detail. Let’s calculate the number of periods required to pay off a loan.

Calculate the Number of Periods Required to Pay Off a Loan in Google Sheets

NPER Yearly

Assume you are planning to get a loan amounting to $30,000.00. The annual interest rate is 4.5%. You are willing to pay $6,000.00 at the end of each year.

You can calculate the number of periods required to pay off the loan in full using the NPER function in Google Sheets. See that formula.

Payment is at the end of each year. So only included the first three arguments.

=NPER(4.5%,-6000,30000)
NPER function in Google Sheets in yearly payments

If you make the payment at the beginning of each year, modify the formula as below.

=NPER(4.5%,-6000,30000,0,1)

The 0 in the formula indicates the future value and 1 indicates the payment is made at the beginning of each period. Future value is set to 0 since you are paying off the loan.

Even if the future value is 0, when you want to specify the “end_or_beginning” argument as above, it must be included. Because future value is the fourth argument and “end_or_beginning” is the fifth.

The payment has shown as negative as it’s outgoing. Please see the “Tips” at the end of this post.

NPER Quarterly

When you want to pay off the loan in Quarterly basis, use the NPER formula as below.

Changes Required: Since you have the annual interest rate, you must divide it by 4 to get the quarterly rate.

I am willing to pay $2,000.00 every quarter to pay off a loan amount of $30,000.00. See the formula below that returns the number of quarterly payments to be made.

=nper(4.5%/4,-2000,30000)
Calculate the quarterly periods of an annuity

NPER Monthly

In monthly NPER calculation just divide the annual interest rate by 12. So I am skipping the example here.

Calculate the Number of Periods Required to Reach an Investment Goal in Google Sheets

Here we can include the future value (FV argument).

You can easily calculate how many months/quarter/year you need to pay to reach an investment goal @ 4.5% annual interest rate.

Suppose you would like to save (deposit) an amount of $500.00 at the beginning of every month. Your bank interest rate is 4.5% (annual) and your goal to reach is $20,000.

If so, you can calculate the total number of the period required to reach that goal using the NPER function in Google Sheets.

NPER function to calculate the period of investment goal

As per the formula, you need 37 months to reach that goal.

Tips:

In all my formulas above, I have shown the payments (PMT) as negative values. All the other parameters are positive in the formulas. But you may have seen some of the users showing positive values as payment (PMT) in the formula. In such cases, you must show the PV in negative as well as the FV value, if any, in negative.

Example:

In D7:

=nper(D2/12,D3,D4,D5,D6)

In H7:

=nper(H2/12,H3,H4,H5,H6)
NPER formula tips in Google Sheets

That’s all. Enjoy.

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

How to Create a Searchable Table in Excel Using the FILTER Function

Finding specific records, or rows containing the required information, is straightforward in Excel using...

Time Sequences in Excel by Minute, Hour, or Second Increments

Creating time sequences, whether by hour, minute, or second increments in Excel, can be...

Finding Most Frequent Text in Excel with Dynamic Array Formulas

Looking to identify the most frequently occurring text in Excel? You can do this...

Hierarchical Numbering Sequences in Excel

Creating hierarchical numbering sequences in an Excel spreadsheet can significantly improve the way you...

More like this

XMATCH Row by Row: Finding Values Across a Range in Google Sheets

Using the BYROW function with XMATCH in Google Sheets allows us to match values...

Limit Formula Expansion to a Specific Row in Google Sheets

In this tutorial, I’ll explain how to limit the expansion of an array formula...

3-D Referencing Structured Data Tables in Google Sheets

When you have several tables within a single sheet—not across multiple sheets in a...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.