Excel DURATION Function: Syntax, Examples & Tips

The DURATION formula calculates a bond's Macaulay duration using settlement, maturity, coupon, yield, frequency, and basis as inputs.
Excel
=DURATION(settlement, maturity, coupon, yield, frequency, [basis])

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Need more than a single DURATION formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.

On this page
  1. Parameters
  2. What is a DURATION Formula in Excel?
  3. A Practical Example
  4. DURATION Formula
  5. Result of the Formula
  6. Why Use DURATION?
  7. Key Takeaways:
  8. Example use case

Parameters

settlement:
The date when the security is purchased or the investment is made.

maturity:
The date when the security will mature or the investment will be returned.

coupon:
The annual coupon rate of the security expressed as a decimal.

yield:
The annual yield of the security expressed as a decimal.

frequency:
The number of coupon payments per year. This can be 1 (annual), 2 (semiannual), or 4 (quarterly).

[basis]:
The type of day count basis to use, which can be omitted. It defines how the number of days is calculated. Possible values include 0 (US (NASD) 30/360), 1 (Actual/actual), 2 (Actual/360), 3 (Actual/365), 4 (European 30/360).

What is a DURATION Formula in Excel?

The DURATION function in Excel is a financial tool that calculates the Macaulay duration of a bond, which is a measure of the bond's sensitivity to changes in interest rates. It considers the present value of the bond's cash flows, which include periodic coupon payments and the final principal repayment. The DURATION function helps investors understand how long it will take to recover their investment in a bond, factoring in the time value of money.

In simpler terms, the DURATION function provides insights into the interest rate risk associated with a bond, allowing investors to make informed decisions.

A Practical Example

Imagine you are analyzing a bond investment with the following details:

Bond Data Table:

Face ValueAnnual Coupon RateYears to MaturityYield to Maturity
10005%104%

You want to calculate the duration of this bond to assess its interest rate risk.

DURATION Formula

To calculate the duration of the bond, you would use the DURATION formula as follows:

Excel
=DURATION("2023-01-01", "2033-01-01", 0.05, 0.04, 1)

Breakdown of the Formula:

  • "2023-01-01": This is the settlement date of the bond.
  • "2033-01-01": This is the maturity date of the bond.
  • 0.05: This is the annual coupon rate (5%).
  • 0.04: This is the yield to maturity (4%).
  • 1: This indicates that the bond pays interest annually.

Result of the Formula

When you apply the formula, it calculates the duration of the bond. The output would be:

Duration (Years)
8.75

Here, the duration indicates that it will take approximately 8.75 years to recover the investment in the bond, considering the present value of future cash flows.

Why Use DURATION?

The DURATION function is particularly useful for bond investors who want to assess the interest rate risk of their investments. By understanding the duration, investors can make strategic decisions about their bond portfolios, especially in fluctuating interest rate environments.

Key Takeaways:

  • DURATION: Calculates the Macaulay duration of a bond, indicating its sensitivity to interest rate changes.
  • Interest Rate Risk Assessment: Helps investors gauge how long it will take to recover their investment in a bond.
  • Common Use Cases: Ideal for bond portfolio management, investment analysis, and risk assessment in fixed-income securities.

Understanding how to use the DURATION function can significantly enhance your financial analysis capabilities in Excel, enabling you to make informed investment decisions in the bond market.

Happy investing!

Example use case

You have a table where Column A contains bond names, Column B contains their respective coupon rates, Column C contains the years to maturity, and Column D contains the yield to maturity. You can use the DURATION function to calculate the Macaulay duration of each bond, which helps in assessing the interest rate risk associated with the bonds. This allows for better portfolio management and investment decisions without needing to delve into more complex financial calculations.

Beyond the DURATION function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.

Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.

Need more help with Excel formulas?

Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.

Explore all Excel formulas

Browse our complete library of Excel formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.

DURATION Function in Excel - Better Analyst