# Google Sheets NPER Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/nper-function
- Author: Better Analyst

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

The NPER function calculates the number of periods required to pay off a loan or investment based on constant payments and a fixed interest rate.

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

Generate FormulaExplain Formula

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Describe the NPER you need in plain EnglishGenerate Formula

## Parameters

**`rate`**:\
The interest rate for each period.

**`payment_amount`**:\
The payment made each period; it cannot change over the life of the investment or loan.

**`present_value`**:\
The current value of the investment or loan, or the total amount that a series of future payments is worth now.

**`future_value`**:\
(Optional) The cash balance you want to attain after the last payment is made. If omitted, it is assumed to be 0.

**`end_or_beginning`**:\
(Optional) A number indicating when payments are due. Use 0 if payments are due at the end of the period and 1 if payments are due at the beginning of the period. If omitted, it is assumed to be 0.

## What is the NPER Function?

The *NPER* function in Google Sheets is a financial function used to calculate the number of periods required to pay off a loan or investment based on constant periodic payments and a constant interest rate. This function is particularly useful for individuals or businesses looking to understand how long it will take to repay a loan or reach a financial goal.

In simpler terms, NPER helps you determine how many months (or other time periods) it will take to pay off a loan or reach a specific investment target.

## A Practical Example

Imagine you are considering taking out a loan to buy a car, and you want to know how long it will take to pay it off.

### Loan Details:

- Loan Amount: $20,000
- Monthly Payment: $400
- Annual Interest Rate: 5%

## NPER Formula

To calculate the number of periods required to pay off the loan, you would use the NPER function as follows:

```
=NPER(5%/12, -400, 20000)
```

In this formula:

- `5%/12` is the monthly interest rate (annual rate divided by 12).
- `-400` is the monthly payment (negative because it represents an outgoing payment).
- `20000` is the present value or the total amount of the loan.

## Result of the Formula

When you apply the NPER formula, the output will give you the total number of months required to pay off the loan. In this case, the result would be approximately 54.5 months, meaning it will take about 55 months to fully repay the loan.

## Why Use NPER?

NPER is beneficial because it allows you to plan your finances effectively. By knowing how long it will take to pay off a loan or reach a savings goal, you can make informed decisions about budgeting and financial planning. It can also help you compare different loan options to find the best fit for your financial situation.

## Key Takeaways:

- **NPER**: A financial function that calculates the number of periods required to pay off a loan or investment.
- **Useful for Planning**: Helps in budgeting and financial planning by providing a clear timeline for repayment or savings goals.
- **Common Use Cases**: Ideal for loan calculations, investment planning, and any scenario where understanding the time frame for financial commitments is necessary.

NPER is an essential function for anyone dealing with loans or investments, providing valuable insights into the duration of financial obligations.

Happy calculating!

## Example use case

You have a loan repayment schedule in a table where Column A lists loan amounts and Column B lists monthly interest rates. You can use the NPER formula to calculate the number of months needed to pay off each loan, aiding in financial planning and budgeting.

## Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

[Create Free Account](https://betteranalyst.com/signup)[Try Formula Generator](https://betteranalyst.com/excel-ai)

## Google Sheets how-to guides

- [How To Multiply In Google Sheets](https://betteranalyst.com/google-sheets/how-to-multiply-in-google-sheets)
- [How To Password Protect An Google Sheets File](https://betteranalyst.com/google-sheets/how-to-password-protect-an-google-sheets-file)
- [How To Remove Blank Rows In Google Sheets](https://betteranalyst.com/google-sheets/how-to-remove-blank-rows-in-google-sheets)
- [How To Remove Duplicates In Google Sheets](https://betteranalyst.com/google-sheets/how-to-remove-duplicates-in-google-sheets)
- [How To Separate Names In Google Sheets](https://betteranalyst.com/google-sheets/how-to-separate-names-in-google-sheets)
- [How To Sort In Google Sheets](https://betteranalyst.com/google-sheets/how-to-sort-in-google-sheets)
- [How To Split Cells In Google Sheets](https://betteranalyst.com/google-sheets/how-to-split-cells-in-google-sheets)
- [How To Strikethrough In Google Sheets](https://betteranalyst.com/google-sheets/how-to-strikethrough-in-google-sheets)

## Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

## Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

1. [01ChatGPTOpen a balanced comparison prompt in ChatGPT.](https://chatgpt.com/?prompt=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
2. [02ClaudeOpen the same research prompt in Claude.](https://claude.ai/new?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
3. [03PerplexityResearch the comparison with linked web sources.](https://www.perplexity.ai/search?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.
