# PMT Function

> Calculate the payment of a loan or annuity with the PMT formula function of TX Sheet Control: rate, periods, present and future value, payment timing.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > PMT Function
- **268 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/pmt/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/pmt/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/pmt/llms-full.txt

---

Calculate the payment per period of a loan or an annuity with constant payments and a constant interest rate. `rate` is the interest rate per period, `periods_or_payment` the number of periods, `present_value_or_payment` the present value, such as the loan amount, `future_value` the balance after the last payment (0 when omitted) and `type` when the payments are due: 0 at the end of each period (the default) or 1 at the beginning. A payment is returned as a negative number, money paid out. Zero periods return `#DIV/0!`.

### Syntax

```text
PMT(rate, periods_or_payment, present_value_or_payment, future_value, type)
```

Category: Financial. Minimum arguments: 3. Maximum arguments: 5.

Available for supported offline calculation.

### Examples

```text
=PMT(0.01,12,1000)
```

The formula returns -88.85, the monthly payment that repays a loan of 1,000 in 12 months at an interest rate of 1% a month.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [PIVOTBY Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/pivotby/llms-full.txt)
- **Next:** [POISSON Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/poisson/llms-full.txt)
