Google Sheets DURATION Function: Syntax, Examples & Tips

The DURATION function calculates the duration between two dates in a specified unit, returning the result as a decimal number.
Google Sheets
DURATION(settlement, maturity, rate, yield, frequency, [day_count_convention]) .

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

On this page
  1. Parameters
  2. What is the DURATION Function?
  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 bond is purchased or the investment is made.

maturity:
The date when the bond or investment matures and the principal is repaid.

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

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

frequency:
The number of coupon payments per year (e.g., 1 for annual, 2 for semi-annual, 4 for quarterly).

[day_count_convention]:
An optional parameter that specifies the day count convention to use for the calculation (e.g., 0 for US (NASD) 30/360, 1 for Actual/Actual, etc.).

What is the DURATION Function?

The DURATION function in Google Sheets is a useful tool for calculating the duration of a financial instrument, such as a bond, based on its cash flows and yield. It measures the sensitivity of the price of a bond to changes in interest rates, providing investors with insight into the bond's risk profile.

In simpler terms, DURATION helps you understand how much the price of a bond is likely to change when interest rates fluctuate.

A Practical Example

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

Bond Details:

Cash FlowYear
1001
1002
1003
1004
11005

You want to calculate the duration of this bond given a yield of 5%.

DURATION Formula

To achieve this, you would use the DURATION function as follows:

Google Sheets
=DURATION("2023-01-01", "2028-01-01", 0.05, 100, 0, 1)

In this formula:

  • "2023-01-01" is the settlement date.
  • "2028-01-01" is the maturity date of the bond.
  • 0.05 is the yield (5%).
  • 100 is the face value of the bond.
  • 0 indicates that the bond pays interest annually.
  • 1 specifies that the bond is a standard bond.

Result of the Formula

When you apply the DURATION formula, it will return a numeric value representing the duration of the bond. For example, the output might look like this:

Bond Duration
4.5

This indicates that the bond has a duration of 4.5 years, meaning that for a 1% change in interest rates, the bond's price would change approximately 4.5%.

Why Use DURATION?

DURATION is beneficial because it provides a quantitative measure of interest rate risk associated with a bond. It helps investors make informed decisions about their bond investments by understanding how sensitive their bond's price is to changes in interest rates. Additionally, it allows for better portfolio management by balancing the risk and return profile of fixed-income investments.

Key Takeaways:

  • DURATION: A financial function that calculates the sensitivity of a bond's price to changes in interest rates.
  • Risk Assessment: Helps investors assess the interest rate risk associated with their bond investments.
  • Portfolio Management: Aids in making informed decisions about balancing risk and return in fixed-income portfolios.
  • Common Use Cases: Ideal for bond analysis, portfolio management, and financial modeling.

DURATION is an essential function for anyone involved in bond investing, providing valuable insights into the dynamics of interest rate risk and helping to enhance investment strategies.

Happy investing!

Example use case

You have a table with start and end dates of projects in Columns A and B. Using the DURATION formula, you can calculate the total time spent on each project in days. This helps in tracking project timelines and managing resources effectively.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets 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.