The PMT function is used extensively in finance and spreadsheet programs (Excel, Google Sheets, LibreOffice Calc) to calculate the periodic payment for a loan or investment based on constant payments and a constant interest rate. While the function itself is a single formula, it accepts several arguments that define exactly how the calculation works. Below is a detailed discussion of each parameter: rate, nper, pv, fv (optional), and type (optional).
rate is the interest rate applied to each payment period. It must be expressed as a decimal, not a percentage.
rate = 0.06/12 = 0.005.0.05).Important considerations:
rate means the loan has no interest; the calculation then reduces to pv / nper.nper is the total count of payment periods over the life of the loan or investment.
nper = 30 12 = 360.nper = 5 4 = 20.Both rate and nper must refer to the same period length. Mixing an annual rate with monthly periods will give an incorrect result.
pv is the lumpsum amount that is either borrowed or invested at the start of the series of payments.
pv is the amount you receive (positive cash inflow).Spreadsheets treat cash outflows as negative numbers and inflows as positive. Maintaining a consistent sign convention helps avoid sign errors in the final payment.
The optional fv argument specifies a cash balance you want to achieve after the last payment.
fv = 0 (the default).fv to that target (positive if you expect to receive it).Example: You invest $10,000 today, want to have $15,000 after 5 years, and make monthly deposits. In the PMT function you would use fv = 15000 and a negative pv because the initial deposit is an outflow.
The type argument determines when each payment is made within a period.
type = 0 Payments are made at the **end** of each period (the default).type = 1 Payments are made at the **beginning** of each period.Choosing type = 1 reduces the required payment because each payment earns interest for one additional period.
Loan amount: $250,000
Annual interest rate: 4.5%
Term: 30 years, monthly payments.
Note: pv is entered as a negative number because it represents a cash outflow (the amount borrowed).
You want $40,000 in 5 years to be used as a downpayment. You can earn 3% annually, compounded monthly, and you will make equal monthly deposits.
Here fv is entered as a negative number because it is the future amount you wish to receive (inflow).
nper leads to overstated payments.pv or fv negative when required flips the sign of the result.type when needed: For leases or rent where payment is due at the start of each month, remember to set type = 1.rate = 0, the formula simplifies to -(pv + fv) / nper. Some spreadsheet implementations may return a #DIV/0! error if nper is also zero.| Argument | Description | Typical Sign | Default (if omitted) |
|---|---|---|---|
rate | Interest per period (decimal) | Positive for cost of borrowing | |
nper | Number of periods | Positive integer | |
pv | Present value (principal) | Negative if cash outflow (loan), positive if inflow (investment) | |
fv | Future value desired after last payment | Positive for cash you want to receive, negative for cash you owe | 0 |
type | When payments occur (0 = end, 1 = beginning) | 0 or 1 | 0 |
The PMT function condenses a whole loan or investment schedule into a single payment amount, but it only works correctly when each argument accurately reflects the underlying cashflow timing and interest structure. Understanding rate, nper, pv, fv, and type helps you avoid common errors and makes the tool valuable for budgeting, mortgage analysis, retirement planning, and any scenario that involves regular payments.
