Name
Pmt Function
Class
Microsoft.VisualBasic.Financial
Syntax
Pmt(rate, nper, pv[, fv[, due]])-
rate Use: Required
Data Type: Double
The interest rate per period.
-
nper Use: Required
Data Type: Double
The total number of payment periods.
-
pv Use: Required
Data Type: Double
The present value of the series of future payments.
-
fv Use: Optional
Data Type: Double
The future value or cash balance after the final payment.
-
due Use: Optional
Data Type:
DueDateenumerationA value indicating when payments are due.
EndOfPeriod(0) indicates that payments are due at the end of the payment period;BegOfPeriod(1) indicates that payments are due at the beginning of the period. If omitted, the default value is 0.
Return Value
A Double representing the monthly payment
Description
Calculates the payment for an annuity based on periodic, fixed payments and a fixed interest rate. An annuity can be either a loan or an investment.
Rules at a Glance
rateis a percentage expressed as a decimal. For example, an interest rate of 1% per month is expressed as 0.01.If
fvis omitted, the default value of 0 (reflecting the complete repayment of a loan) is used.For
pvandfv, cash paid out is represented by negative numbers; cash received is represented by positive numbers.If
dueis omitted, the default value of 0 (reflecting payments at the beginning of each period) is used.
Example
See the example for the IPmt Function entry.
Programming Tips and Gotchas
rateandnpermust be calculated using payment periods expressed in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access