# PMT in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/pmt/

PMT returns the fixed payment for a loan or an annuity, given the rate per period, the number of payments and the amount. The rate and the period count must use the same unit: monthly payments need a monthly rate.

## Syntax

```
PMT(rate, number_of_periods, present_value, [future_value], [end_or_beginning])
```

## Arguments

- `rate` (number, required: yes): The interest rate per period. For a yearly rate and monthly payments, divide by 12.
- `number_of_periods` (number, required: yes): How many payments in total. For years and monthly payments, multiply by 12.
- `present_value` (number, required: yes): The amount borrowed today. Enter it as negative to get a positive payment.
- `future_value` (number, required: no): The balance you want after the last payment. Default 0.
- `end_or_beginning` (number, required: no): 0 (default): payments at the end of each period. 1: at the start.

## Examples

The examples use this table, starting in A1:

| Loan | Annual rate | Years |
|---|---|---|
| 120000 | 0.045 | 20 |

```
=ROUND(PMT(B2/12, C2*12, -A2), 2)
```

Result: `$759.18`

Monthly payment on a 20-year loan at 4.5% a year. The loan is negative, so the payment comes out positive. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ROUND(PMT(B2/12, C2*12, A2), 2)
```

Result: `-$759.18`

The loan as a positive number gives a negative payment: money going out. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ROUND(PMT(B2/12, C2*12, -A2, 0, 1), 2)
```

Result: `$756.34`

Payments at the start of each period are a little smaller. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ROUND(PMT(B2/12, C2*12, -A2) * C2*12 - A2, 2)
```

Result: `$62,203.02`

Total interest over the whole loan: all payments minus the amount borrowed. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=PMT(0, 12, -1200)
```

Result: `$100.00`

A zero rate just splits the amount evenly: 100 a month. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- Match the units. A 4.5% yearly rate with 240 monthly payments must become 4.5%/12 per month. Passing the yearly rate directly gives an inflated payment.
- The sign matters. A loan entered as positive gives a negative payment, the money going out. Put a minus before the loan to see a positive payment.
- Zero periods returns #NUM!, and a text rate returns #VALUE!.
- The cell is formatted as currency by itself, using the locale's currency. PMT is the whole payment, interest plus principal: split it with IPMT and PPMT.

## Compared with Excel

Same syntax and sign convention as Excel PMT.

## Related functions

- [FV](https://goingstellar.ro/reference/sheets/fv/)
- [NPV](https://goingstellar.ro/reference/sheets/npv/)

## Sources

- [PMT (Docs Editors Help)](https://support.google.com/docs/answer/3093185)

