COUPDAYBS function

The COUPDAYBS function in Excel is used to calculate the number of days from the beginning of a coupon period to a specified settlement date. It is particularly useful when working with financial instruments that have periodic interest payments, such as bonds. This function helps you determine how many days remain until the next coupon payment.


COUPDAYBS(settlement, maturity, frequency, [basis])


settlementThe date on which the security is purchased or settled. It’s the date when the coupon period begins.
maturityThe date when the security or bond matures.
frequencyThe number of times interest payments are made per year (e.g., 1 for annual, 2 for semi-annual).
[basis](Optional) An optional argument that specifies the day count basis to use. If omitted, it defaults to 0 (or US NASD 30/360).

How to Use

The COUPDAYBS function is quite straightforward. You can use it by following this general format:

Here are some examples of how to use this function:

Example 1:

Suppose you have a bond with a settlement date of 01/15/2023, a maturity date of 01/15/2028, and a semi-annual coupon frequency. To find the number of days until the next coupon payment, you would use the formula:

This formula would return the number of days between the settlement date and the next coupon date.

Example 2:

If you want to specify a different day count basis (for example, Actual/360), you can use the optional “basis” argument:

In this case, you are using Actual/360 as the day count basis.

It’s important to note that the settlement and maturity dates should be valid Excel date values. The result will be the number of days between the settlement date and the next coupon payment based on the specified parameters.

Additional Information

The COUPDAYBS function is useful for financial analysts, investors, and anyone dealing with bonds or other fixed-income securities. It helps in calculating the timing of interest payments and can be combined with other financial functions to perform more complex financial analysis in Excel.