COUPDAYSNC in Google Sheets: Days to Next Coupon

How-to basics · Updated November 23, 2026

The COUPDAYSNC function in Google Sheets calculates the number of days from a settlement date to the next coupon (interest) payment for a bond or other security that pays periodic interest. Its syntax is COUPDAYSNC(settlement, maturity, frequency, [day_count_convention]). For example, =COUPDAYSNC(DATE(2025,1,15), DATE(2030,1,15), 2) returns the days between January 15, 2025, and the next semiannual coupon date, which is July 15, 2025 — 181 days.

What COUPDAYSNC Actually Does

In finance, a bond’s coupon schedule is fixed at issuance. The settlement date is when the buyer takes ownership, and the maturity date is when the principal is repaid. Between those dates, coupons are paid at regular intervals — annually, semiannually, or quarterly. COUPDAYSNC tells you how many days remain until the very next coupon payment after the settlement date. This is distinct from COUPDAYS (the total days in the coupon period) and COUPDAYBS (days from the start of the coupon period to settlement). Together, these three functions help price bonds and calculate accrued interest.

Breaking Down the Arguments

  • settlement (required): The date the security is traded or delivered. Must be a valid date in Google Sheets (e.g., DATE(2025,3,1) or a cell reference).
  • maturity (required): The date the bond’s principal is repaid. Must be after settlement.
  • frequency (required): Number of coupon payments per year. Use 1 for annual, 2 for semiannual, 4 for quarterly.
  • day_count_convention (optional): Specifies how days are counted. If omitted, defaults to 0 (US (NASD) 30/360). Other common values: 1 = Actual/actual, 2 = Actual/360, 3 = Actual/365, 4 = European 30/360.

All dates should be entered with the DATE() function or as cell references containing dates, not as text strings, to avoid errors.

How to Use It: Step-by-Step

  1. Open Google Sheets and click a cell where you want the result.
  2. Type =COUPDAYSNC(.
  3. Enter the settlement date (e.g., DATE(2025,3,15)).
  4. Add a comma, then the maturity date (e.g., DATE(2030,3,15)).
  5. Add a comma, then the frequency (e.g., 2 for semiannual).
  6. Optionally, add a comma and a day-count convention number (e.g., 1 for actual/actual).
  7. Close the parenthesis and press Enter.

Example: With settlement in A1 (2025-03-15) and maturity in B1 (2030-03-15), frequency 2 in C1, the formula =COUPDAYSNC(A1, B1, C1) returns 184 days (since March 15 to September 15, 2025, under actual/actual).

Choosing the Right Day-Count Convention

The day-count convention determines how interest accrues. The default US (NASD) 30/360 assumes each month has 30 days and a year has 360, which simplifies calculations for corporate bonds. Actual/actual uses the real number of days in each period, common for US Treasury bonds. Actual/360 and Actual/365 are used in money markets. If you’re modeling a specific bond, match the convention stated in its prospectus. For general use, the default is fine, but be aware it can produce slightly different results than actual days.

Common Errors and How to Fix Them

  • #VALUE!: Occurs if dates are text, not real date values. Use DATE() or DATEVALUE().
  • #NUM!: Happens when settlement is after maturity, frequency is not 1, 2, or 4, or the day-count convention is invalid (not 0-4).
  • #N/A: Rare, but can appear if the function can’t compute due to invalid arguments.
  • Wrong result due to convention: If you expect 365 days for a year but get 360, check the day-count convention — the default 30/360 will give 360.

COUPDAYSNC vs. Other Coupon Functions

Google Sheets offers a family of coupon-related functions. COUPDAYS returns the total number of days in the coupon period that contains the settlement date. COUPDAYBS returns days from the beginning of that period to settlement. COUPNCD gives the next coupon date after settlement, and COUPNUM counts the total coupons payable. COUPDAYSNC is the one you need when calculating how many days of accrued interest remain before the next payment — essential for pricing bonds in secondary markets.

Practical Example: Pricing a Bond

Suppose you buy a corporate bond on March 1, 2025, with maturity on March 1, 2030, paying semiannual coupons. To find days to next coupon:

=COUPDAYSNC(DATE(2025,3,1), DATE(2030,3,1), 2)

This returns 184 days (under actual/actual, since March 1 to September 1, 2025, has 184 days). If you use the default 30/360, it returns 180 days. This difference matters when calculating accrued interest, which is typically days_to_next_coupon / total_days_in_period * coupon_payment.

Frequently Asked Questions

Q: What if my settlement date is exactly on a coupon date?
The function treats the next coupon as the following period’s payment. So if settlement is on the coupon date, COUPDAYSNC returns the full length of the next coupon period (e.g., 182 days for semiannual).

Q: Can I use COUPDAYSNC for bonds with irregular first or last periods?
Yes, but the function assumes regular periods between settlement and maturity. For bonds with short first or long last periods, results may not match the actual schedule; you’d need to manually adjust or use a different model.

Q: Does COUPDAYSNC work with dates stored as text?
No. You must use real date values. If your dates are text, wrap them with DATEVALUE() or use DATE().

Q: Why do I get #NUM! when I use frequency 12?
Frequency must be 1, 2, or 4 in Google Sheets. Monthly coupons are not supported by this function; you’d need to use a custom formula or a different financial model.

Q: Is COUPDAYSNC available in Excel?
Yes, Excel has the same function with identical syntax. However, Excel’s default day-count convention may differ slightly in some versions, so always specify the convention if you need consistency.

Important Notes on Financial Accuracy

COUPDAYSNC is a calculation tool, not financial advice. Bond pricing also depends on yield, accrued interest, and market conditions. Always verify your inputs against the bond’s official terms (prospectus or trade confirmation). For real investment decisions, consult a qualified financial professional.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.