# PPMT Function

> Calculate the principal part of a loan payment in a period with PPMT in TX Sheet Control: rate, period, number of periods, values, timing and #NUM!.

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

---

Calculate the principal part of a loan payment in a given period, for constant payments and a constant interest rate. `rate` is the interest rate per period, `per` the period, from 1 to `nper`, `nper` the number of periods, `pv` the present value, `fv` the balance after the last payment (0 when omitted) and `type` 0 for payments at the end of each period (the default) or 1 for the beginning. A `per` less than 1 or greater than `nper` returns `#NUM!`.

### Syntax

```text
PPMT(rate, per, nper, pv, fv, type)
```

Category: Financial. Minimum arguments: 4. Maximum arguments: 6.

Available for supported offline calculation.

### Examples

```text
=PPMT(0.01,1,12,1000)
```

The formula returns -78.85: of the first monthly payment of 88.85, 10 is interest and 78.85 repays the loan of 1,000.

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:** [POWER Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/power/llms-full.txt)
- **Next:** [PRICE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/price/llms-full.txt)
