The DURATION function calculates the Macaulay duration of a security, which provides a measure of the weighted average time it takes for an investment to recover its price through the received cash flows, including periodic interest payments and the repayment of principal.


=DURATION(Settlement, Maturity, Rate, Yield, Redemption, [Frequency], [Basis])

Settlement The security's settlement date.
Maturity The security's maturity date.
Rate The security's annual coupon rate.
Yield The security's annual yield.
Redemption The security's redemption value at maturity.
Frequency (Optional) The number of coupon payments per year. Defaults to 1 (annual) if omitted.
Basis (Optional) The day-count basis to use. Defaults to 0 if omitted.


When engaging in financial analysis and aiming to grasp the dynamics of fixed-income investments, rely on the DURATION function in Excel. It emerges as a pivotal tool for determining the duration of a bond, supplying crucial insights into the time frame for recovering the investment amount through cash flows, considering both interest payments and principal repayment. This metric aids in evaluating the price sensitivity of the security to changes in interest rates and assessing the associated risks and returns effectively.

To leverage the prowess of the DURATION function, input pertinent details about the security being analyzed. This includes specifying the settlement and maturity dates, the coupon rate, annual yield, and redemption value at maturity. Additionally, define the frequency of coupon payments per year and the chosen day-count basis for interest calculations.

DURATION flourishes in its versatility, offering customization through the optional parameters. You have the freedom to tailor the calculation based on the specific attributes of the security, ensuring precision in assessing its duration and risk profile. Whether examining bonds, debentures, or other fixed-income securities, DURATION equips you with a reliable method for quantifying the investment's time horizon for recovering its value.

In essence, DURATION serves as an indispensable ally in Excel for evaluating the duration of fixed-income securities, guiding you through the intricate web of interest payments and principal redemption, and empowering informed decision-making in the realm of investments.


Consider a bond with a maturity date of June 30, 2025, a settlement date of January 1, 2022, an annual coupon rate of 4%, an annual yield of 3.5%, a redemption value of $1,000, and semi-annual coupon payments. To calculate the Macaulay duration using the DURATION function, use this formula:

=DURATION("01/01/2022", "06/30/2025", 0.04, 0.035, 1000, 2)

Suppose you hold a debenture with a maturity date of December 15, 2030, a settlement date of May 1, 2022, a semi-annual coupon rate of 5%, an annual yield of 4.5%, a face value of $5,000, and semi-annual coupon payments. Calculate the Macaulay duration with the DURATION function:

=DURATION("05/01/2022", "12/15/2030", 0.05, 0.045, 5000, 2, 0)


What does the Macaulay duration calculated by the DURATION function represent?

The Macaulay duration computed by the DURATION function signifies the weighted average time it takes for an investment in a security to be repaid through the received cash flows, considering both interest payments and principal redemption. It aids in assessing the price sensitivity of the security to interest rate fluctuations.

Can the DURATION function handle securities with irregular coupon payment dates?

No, the DURATION function assumes regular coupon payments at consistent intervals and is tailored for securities with a predictable payment schedule. It's crucial to provide accurate data on coupon frequency and dates for precise duration calculation.

Is customization possible with the DURATION function's parameters for specific security attributes?

Yes, the DURATION function offers flexibility through optional arguments such as Frequency and Basis. You can adjust these parameters to match the exact characteristics of the security being evaluated, thus tailoring the duration calculation to specific investment scenarios.

What insights can be gained by analyzing the Macaulay duration of a security with the DURATION function?

By examining the Macaulay duration using the DURATION function, investors can gain valuable insights into the relationship between a security's price and interest rate changes. Understanding the duration helps in evaluating the investment's risk exposure and suitability in different market conditions.

Related functions