# How to Use NPER Function in Google Sheets

The NPER function in Google Sheets is useful if you want to calculate the number of payment periods for a loan or investment, where the periodic payment and interest rate are constant.

The `NPER` function does this simply by supplying the given details such as the rate, payment amount, present value, future value, and determining whether payments are due at the end (‘0’) or beginning (‘1’) of each period.

Let’s take an example to understand how the NPER function works.

Say we are planning to get a loan amounting to \$50,000. The annual interest rate is 5%. We are willing to pay \$10,000 at the end of each year.

So how do we do that?

Easy. We can use our `NPER` function to calculate how many payment periods are needed. We will list down the given details for easier substitution. The rate is 5%, we are willing to pay \$10,000, and the total loan amount is \$50,000. As we work on the formula, we will now substitute it with the numbers given. The `NPER` function will provide us with a result of 5.89631286. Since we are talking about the number of years, we will then round it off to get an answer of 6 years.

See how easy that is?

Let’s dive right into real-business examples where we will deal with actual values and textual strings and how we can write our NPER function in Google Sheets to compute those data.

## The Anatomy of the NPER Function

So the syntax (or the way we write) the `NPER` function is as follows:

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

It can be overwhelming at this point, but let’s break it down to pieces to understand better what each term mean:

• `=` the equal sign is just how we start any function in Google Sheets
• `NPER()` this is our `NPER` function which we enclose with all the corresponding attributes,  `rate`, `payment_amount`, `present_value`, `future_value` and `end_or_beginning` within parenthesis.
• `rate` is the annual/yearly interest rate.
• `payment_amount` is the amount of each (periodic) payment (PMT).
• `present_value` is the present value (PV) (sum of all the payments).
• `future_value` is the future value (FV) or the cash balance that you want to attain after the final payment. This is optional and defaults to 0.
• `end_or_beginning` is whether the 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). If beginning, we use 1.

### ⚠️ Now a few notes before using the NPER Function in Google Sheets.

1. The rate that we will supply in the formula should be the annual or yearly `rate`. If the required `NPER` is quarterly, then simply divide the `rate` by 4 to get the quarterly `rate`. If the required `NPER` is annually, but the `rate` given is quarterly, just multiply it by 4 to get an annual `rate`. The same when we are dealing with monthly calculations, replace 4 to 12. 1. The `payment_amount` must be shown as negative because it’s outgoing.

Now it may look confusing, but rest assured, we will go through every step and subsequently practice applying it.

## A Real Example of Using NPER Function

Take a look at our example below to see how the NPER function is used in Google Sheets. As you can see in our example above, we used the `NPER` function to find how many payment periods does John need for a \$50,000 loan with 5% interest. We got an answer of 5.89631286, and we rounded it off to get 6. The function is as follows:

`=NPER(5%,-10000,50000,0)`

Here’s what this example does:

• We have actively selected cell B11, and we want to use the `NPER` function to calculate the payment periods.
• Then, we identified all the given details: \$50,000 is the loan, 5% is the interest, and \$10,000 is the payment.
• Using the pop-up message as a guide, we supplied the needed values as identified in the previous step.
• Lastly, we closed our formula and hit on the Enter key.

Another example that the `NPER` function is handy is when we make an investment, and we want to know the total number of periods required to reach that specific goal: As you can see in our example above, we used the NPER function to calculate the total number of the period required for John to reach his goal. We got an answer of 23.73716556, and we rounded it off to get 24. The function is as follows:

`=NPER(5%/12,-2000,0,50000,1)`

Here’s what this example does:

• We have actively selected cell B12, and we want to use the `NPER` function to calculate the number of periods.
• Then, we identified all the given details: \$50,000 is future value, 5% is the interest, and \$2,000 is the payment.
• Using the pop-up message as a guide, we supplied the needed values as identified in the previous step.
• Lastly, we closed our formula and hit on the Enter key.

Easy.

You may make a copy of the spreadsheet using the link I have attached below:

You can try it out by yourself.

Let’s begin writing our own NPER function in Google Sheets.

## How to Use NPER Function in Google Sheets

In this segment, we will use the NPER function to calculate the number of payments needed in a loan.

1. Simply click on any cell to make it active. This is where we will write our formula. For this guide, we will select cell B11. 1. Next, we will start our formula with an equal sign ‘=‘, followed by our `NPER `function, then an open parenthesis ‘( ‘. Wait for the pop-up message. This will serve as your extra guide in writing the NPER function in Google Sheets. 1. Since we’ve already enumerated all the given values, we just have to select the cells according to the proper sequence of the syntax: Interest, Payment, Loan Amount, and Future Value. That is, B7, B8, B6, and 0. 1. Lastly, close the formula with a close parenthesis ‘)‘ then hit on the Enter key to get the final result. ### Bonus Tip

In cell B12, we showed you the rounded-off value. To round-off the answer, you can simply click on the ‘Decrease decimal places‘ icon found beside the percentage icon. Click it until you see your desired decimal place. That’s pretty much it. You can now use the NPER functions together with the other numerous Google Sheets formulas to create even more powerful formulas that can make your life much easier. 🙂 Our goal this year is to create lots of rich, bite-sized tutorials for Google Sheets users like you. If you liked this one, you'll love what we are working on! Readers receive ✨ early access ✨ to new content.

##### You May Also Like ## How to Overflow Text in Google Sheets

In this article, you will learn how to unwrap a text in Google Sheets using the Overflow wrapping… ## How to Use Wildcard Characters in Google Sheets Functions

Knowing how to use wildcard characters in Google Sheets is useful when you want to represent or replace… ## How to Sum Every N Cells to the Right or Bottom in Google Sheets

The circumstances of adding up every n cells in Google Sheets are countless. We may obsessively use the… There are several methods available that allow you to remove trailing and leading spaces in Google Sheets. Leading…
{"ft_lang_label":"__label__en","ft_lang_prob":0.88190484,"math_prob":0.94772714,"size":6029,"snap":"2022-05-2022-21","text_gpt3_token_len":1443,"char_repetition_ratio":0.13327801,"word_repetition_ratio":0.13615024,"special_character_ratio":0.24249461,"punctuation_ratio":0.1217742,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98760045,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32],"im_url_duplicate_count":[null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,null,null,1,null,3,null,8,null,1,null,5,null,7,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-21T12:33:56Z\",\"WARC-Record-ID\":\"<urn:uuid:f550ab7a-fcba-41b9-93ec-b06b2a6e247e>\",\"Content-Length\":\"123531\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d4402f2c-054f-48bf-a5e9-97081bbd7596>\",\"WARC-Concurrent-To\":\"<urn:uuid:b1fce508-e73d-4a33-8274-a594cd63f43a>\",\"WARC-IP-Address\":\"104.21.61.76\",\"WARC-Target-URI\":\"https://www.sheetaki.com/nper-function-in-google-sheets/\",\"WARC-Payload-Digest\":\"sha1:IHREN7BRPT3YB2QLM4DHGUGPTWENTE33\",\"WARC-Block-Digest\":\"sha1:7GEYHXPNSFC2OGNZJT2M2R3OC2QHVBAM\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662539101.40_warc_CC-MAIN-20220521112022-20220521142022-00707.warc.gz\"}"}