DAYS360 Function
DAYS360 Function
The DAYS360 function in Google Sheets calculates the number of days between two dates based on an accounting and financial standard that treats a year as 360 days (30 days × 12 months). Different calculation rules apply compared to standard calendar day counts.
Syntax
=DAYS360(start_date, end_date, [method])
- start_date: The starting date for the calculation.
- end_date: The ending date for the calculation.
- method (optional): A boolean value specifying the day-count method.
FALSEor omitted: US (NASD) method. If the start date is the 31st of a month, it is treated as the 30th of the same month. If the end date is the 31st of a month and the start date is earlier than the 30th, the end date is treated as the 1st of the next month.TRUE: European method. If either the start date or the end date is the 31st of a month, it is treated as the 30th of the same month.
Note: Unlike the DAYS function, notice that the argument order is start_date → end_date.
Practical Examples with a Table
This example compares the US method and European method for a full year (Jan 1, 2026 – Dec 31, 2026) and a period spanning month-ends.
| A (Period Name) | B (Start Date) | C (End Date) | D (US Method: FALSE) | E (European Method: TRUE) | |
|---|---|---|---|---|---|
| 1 | Period Name | Start Date | End Date | US Method | European Method |
| 2 | Full Year 2026 | 2026/01/01 | 2026/12/31 | =DAYS360(B2, C2, FALSE) |
=DAYS360(B2, C2, TRUE) |
| 3 | Jan 30 – Mar 31 | 2026/01/30 | 2026/03/31 | =DAYS360(B3, C3, FALSE) |
=DAYS360(B3, C3, TRUE) |
- Result in D2:
360(The full year from 1/1 to 12/31 is calculated as exactly 360 days) - Result in E2:
359(Under the European method, 12/31 is treated as 12/30, resulting in 359 days) - Result in D3:
60(Under the US method, because the start date is the 30th, the end date 3/31 is treated as 3/30, returning60)
Common Errors and Precautions
- Easy to confuse argument order with the
DAYSfunction:DAYStakes(end_date, start_date), whereasDAYS360takes(start_date, end_date). Reversing them returns a negative value.
- When
#VALUE!errors occur:- Occurs if
start_dateorend_datecontains text that is not a valid date.
- Occurs if
- Do not use for standard calendar day counts:
- Using
DAYS360for standard daily prorated calculations (based on a 365- or 366-day year) will introduce discrepancies. Use theDAYSfunction when you need actual calendar days.
- Using
Frequently Asked Questions
Q. When should I use DAYS360 instead of the regular DAYS function?
A. Use it in financial and accounting contexts—such as bond yield calculations, loan interest calculations, or certain Western accounting systems—where a year is treated as 360 days with every month assumed to have 30 days.
Q. Should I choose the US method or the European method for the third argument 'method'?
A. Omit it (or specify FALSE for the US NASD method) for general financial calculations and default standards. Specify TRUE if you need to follow European accounting standards, which treat the 31st of any month as the 30th.