# PMT

The PMT function calculates the periodic payment amount for a loan based on a constant interest rate and fixed payment schedule. It determines how much needs to be paid in each period to repay the loan over time. This function is commonly used in financial planning, loan analysis, and investment calculations.

### Syntax

```javascript
PMT(rate:number, nper:number, pv:number, fv:number, type:number)
```

### Arguments

rate – The interest rate per period (Required).

nper – The total number of periods (Required).

pv – The present value or initial investment. Cash outflows are considered negative and cash inflows as positive (Required).

fv – The future or residual value. This is an optional argument and if omitted, it is considered to be zero.

type – Indicates when the payments are made. The type is zero if payments are made at the end of the period and non-zero if payments are made at the start of the period. This is an optional argument and when omitted, it is considered to be zero.

### Example

```
PMT(RateOfInterset,NumberOfPeriods,INITIAL)
```

In the example below, the *PMT\_Result* measure is created using the **PMT** function, which calculates the periodic payment amount based on the *RateOfInterest, NumberOfPeriods,* and *INITIAL* values.

<figure><img src="/files/5X5YArBArqPiRLHflq5O" alt=""><figcaption><p>Applying PMT Function</p></figcaption></figure>

### Excel equivalent

[PMT](https://support.microsoft.com/en-us/office/pmt-function-0214da64-9a63-4996-bc20-214433fa6441)


---

# 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://docs.inforiver.com/formula-syntax/math-functions/pmt.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.
