# PMT formula generator

> Describe what you need and get a PMT formula for Excel and Google Sheets, run on real data before you copy it. Plus 5 tested PMT examples.

Source: https://spreadsheetpractice.com/tools/formula-generator/pmt · Updated October 29, 2026 · Formulas and results on this page were run by the Spreadsheet Practice formula engine on November 20, 2026

PMT calculates the fixed payment for a loan or a savings plan, based on a constant interest rate and number of payments.

Describe the task at [PMT formula generator](https://spreadsheetpractice.com/tools/formula-generator/pmt) and get a PMT formula for Excel and Google Sheets, tested on real data.

## Tested PMT examples

### Calculate a loan payment

`=PMT(B3/12,B4*12,-B2)`

Excel. Result on the sample sheet: $489.15. [See it and try it](https://spreadsheetpractice.com/formulas/calculate-a-loan-payment)

### How much to save each month to reach a goal

`=-PMT(B4/12,B3*12,-B5,B2)`

Excel. Result on the sample sheet: $520.92. [See it and try it](https://spreadsheetpractice.com/formulas/monthly-savings-to-reach-a-goal)

### Calculate a monthly mortgage payment

`=PMT(B4/12,B5*12,-B2*(1-B3))`

Excel. Result on the sample sheet: $2,068.81. [See it and try it](https://spreadsheetpractice.com/formulas/calculate-a-monthly-mortgage-payment)

## Questions

### What does the PMT formula generator do?

You describe the task in plain English, and it writes the formula, using PMT where that's the right tool, for your table or a sample one. The formula is run in our engine in Excel and Google Sheets mode before you see it, so you get its result, not just a guess.

### What does PMT do?

PMT calculates the fixed payment for a loan or a savings plan, based on a constant interest rate and number of payments.

### Can I learn to write PMT formulas myself?

Yes. Each example below opens a page where you try the formula in a live grid and it's checked as you go, and the PMT function page has a practice exercise.

---

Spreadsheet Practice (https://spreadsheetpractice.com) teaches spreadsheet formulas by practice: every exercise is graded in a live grid and re-checked on changed data.
