DURATION Function
Calculate the Macaulay duration of a security that pays periodic interest, in years. settlement and maturity are the settlement and maturity dates, coupon the annual coupon rate, yield the annual yield and frequency the number of coupon payments per year: 1 (annual), 2 (semiannual) or 4 (quarterly). basis selects the day count convention as in ACCRINT, with US 30/360 as the default. A settlement date on or after the maturity date, a negative coupon or yield, another frequency or an unknown basis returns #NUM!.
Syntax
DURATION(settlement, maturity, coupon, yield, frequency, basis)
Category: Financial. Minimum arguments: 5. Maximum arguments: 6.
Available for supported offline calculation.
Examples
=DURATION(DATE(2026,1,1),DATE(2028,1,1),0.05,0.06,2)
The formula returns 1.9272: the cash flows of a two-year bond with a 5% semiannual coupon at a yield of 6% are due on average after about 1.93 years.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.