Formualizer Docs

PMT

Calculates the constant payment amount for a fixed-rate annuity or loan.

Use this to solve for periodic payment size when rate, term, and present/future value targets are known.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=PMT(rate, nper, pv, [fv], [type])

Arguments

ArgumentTypeRequiredDefault
ratenumberRequired—
npernumberRequired—
pvnumberRequired—
fvnumberOptional—
typenumberOptional—

Remarks

  • rate is the interest rate per payment period (for example, annual rate / 12 for monthly payments).
  • Cash-flow sign convention: cash paid out is negative and cash received is positive.
  • type = 0 means end-of-period payments; type != 0 means beginning-of-period payments.
  • Propagates argument conversion and underlying value errors.

Error cases

  • Returns #NUM! when nper is zero.

Examples

Calculate the end-of-month payment for a two-year loan.

Formula =PMT(0.05/12,24,5000)

Expected result -219.356948670343

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Calculate the payment when it is due at the start of each month.

Formula =PMT(0.05/12,24,5000,0,1)

Expected result -218.446753862582

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

At zero interest the principal is divided evenly between payments.

Formula =PMT(0,24,4800)

Expected result -200

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

A zero-length schedule cannot amortize a nonzero principal.

Formula =PMT(0.05/12,0,5000)

Expected result #NUM!

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Calculate the monthly payment on a 300,000 30-year mortgage at 6% annual interest.

Formula =PMT(0.06/12, 360, 300000)

Expected result -1798.65157545827

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Find the deposit due at the start of each quarter to offset a 10,000 opening outlay.

Formula =PMT(0.05/4, 20, -10000, 0, 1)

Expected result 561.189033400539

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

FAQ

Why is PMT usually negative for a loan?

TVM sign convention treats cash you pay as negative; with positive pv, payment outputs are typically negative.

Implementation

Engine source

On this page