# NPer

The **NPer** function returns the number of periods for a loan or investment based on known amount, interest rate, and periodic payment amount.

### Syntax

```
NPER(rate, pmt, pv, [fv], [type])
```

The **NPer** function has the following arguments:

<table><thead><tr><th width="258"></th><th></th></tr></thead><tbody><tr><td>rate</td><td>Required.<br>The interest rate per period.</td></tr><tr><td>pmt</td><td>Required<br>The payment for each period.</td></tr><tr><td>pv</td><td>Required<br>The present value, or total value of all payments made as of the current date.</td></tr><tr><td>fv</td><td>Optional<br>The future value, or a cash balance after the last payment.<br>Defaults to 0.</td></tr><tr><td>type</td><td>Optional.<br>Due date of the payment.<br>0<br>End of the period<br>1<br>Beginning of the period<br>Default is 0</td></tr></tbody></table>

### Examples

```
NPer(0.07/12, 1000, 100000)
```

The number of months it takes to pay off a loan of $100,000 if the interest rate is 7% and the regular payments are $1,000 each month is 79, or 6 years and 7 months.

```
NPer(0.07/4, 3000, 100000)
```

The number of quarters it takes to pay off a loan of $100,000 if the interest rate is 7% and the regular payments are $3,000 each quarter is 26.49, or about 6 years and 7.5 months.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.meetuma.ai/uma-knowledgebase/data-and-reporting/analytics-pro/functions/financial-functions/nper.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
