DURATION

Calculates the number of compounding periods required for an investment of a specified present value appreciating at a given rate to reach a target value. Learn more

Video field
Financial

The DURATION function in Google Sheets calculates the Macaulay duration for an investment that pays periodic interest at a fixed rate. The function takes six arguments:

Settlement: The date when the investment was purchased or sold.

Maturity: The date when the investment will reach maturity.

Rate: The annual interest rate of the investment.

Yield: The annual yield of the investment.

Frequency: The number of times per year that the interest is paid.

Daycountconvention (optional): The day count convention used to calculate the fractional periods between settlement and maturity. If omitted, it defaults to 0 (30/360).

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!