COUPDAYS Google Sheet Formula
Generate Google Sheet COUPDAYS Formulas in seconds
Interactive Formula Generator
Formula Generator
Create complex Google Sheets formulas with natural language. Simply describe what you want to calculate.
Upgrade to Sheet Alchemy Pro
Get advanced formulas, batch processing, and priority support
Input
Result
Your formula will be displayed here:
Your formula will appear here
Describe what you want to calculate and click Generate
Pro Features Available
Sheet Alchemy Pro includes additional advanced features to enhance your formula generation.
Advanced Formulas
Complex array formulas and dynamic ranges
Batch Processing
Generate multiple formulas at once
Unlimited History
Save and organize all your formulas
COUPDAYS Formula Syntax
Example Use Case
Calculating the number of days in the coupon period containing the settlement date
Understanding the COUPDAYS Formula
The COUPDAYS function in Excel calculates the total number of days in the coupon period containing the settlement date. It's a bond analysis tool for calculating accrued interest—like determining the full period length for prorating interest payments.
COUPDAYS("2022-04-15", "2023-04-15", 2, 0) calculates the total days in the current coupon period for a bond with semiannual payments. It takes settlement, maturity, frequency, basis arguments, counting days per the specified day count convention—essential for accurate bond pricing and interest calculations.
Why Use COUPDAYS?
COUPDAYS determines period lengths—think bond pricing or interest accrual. Its day counting using industry-standard conventions makes it valuable for fixed-income analysis, yield calculations, or any scenario requiring precise interest proration over standard periods.
Example with Sample Data
| Parameters | Formula | Result |
|---|---|---|
| Settlement: 3/15/2022 Maturity: 12/15/2023 Frequency: 2 (semiannual) Basis: 0 (30/360) | =COUPDAYS("3/15/2022", "12/15/2023", 2, 0) | 180 |
| Settlement: 3/15/2022 Maturity: 12/15/2023 Frequency: 4 (quarterly) Basis: 0 (30/360) | =COUPDAYS("3/15/2022", "12/15/2023", 4, 0) | 90 |
| Settlement: 3/15/2022 Maturity: 12/15/2023 Frequency: 2 (semiannual) Basis: 1 (Actual/actual) | =COUPDAYS("3/15/2022", "12/15/2023", 2, 1) | 181 |
COUPDAYS measures full periods: 180 days in a semiannual period (30/360 basis), 90 days for quarterly payments. It's a coupon period measurer.
Explore More Google Sheet Formulas
PI
Inserting the value of π for circular or trigonometric calculations
Learn moreTANH
Calculating the hyperbolic tangent for bounded exponential modeling
Learn moreODD
Rounding a number up to the nearest odd integer for specific alignments
Learn moreQUARTILE
Finding quartile values in a range for distribution analysis
Learn moreAVERAGEIF
Finding the mean of numbers meeting a single condition
Learn moreCOUNTIF
Counting cells meeting a single condition for selective tallies
Learn moreFACT
Calculating the factorial of a number for permutations or probability
Learn moreAVERAGEA
Finding the mean including text and logical values for broader averaging
Learn moreUnlock the Full Power of Sheet Alchemy
Get access to all our formula generators, script generators, and conversion tools with a free Sheet Alchemy account.
