DAYS360 Function

Excel Functions › Date & Time

All versions

The Excel DAYS360 function counts the days between two dates on the 30/360 convention — the accounting fiction that every month has 30 days and every year has 360. Bonds, loan schedules, and lease accruals are often quoted this way because it makes a month’s interest the same regardless of whether it is February or July. For real calendar days, use DAYS; DAYS360 is specifically for when the contract says 30/360.


Quick answer: 30/360 days between a start date in A2 and an end date in B2:
=DAYS360(A2, B2)
That is the US (NASD) method. Add TRUE as a third argument for the European method: =DAYS360(A2, B2, TRUE).

Syntax

=DAYS360(start_date, end_date, [method])
ArgumentDescription
start_dateRequiredThe beginning of the period. (Start first — unlike DAYS.)
end_dateRequiredThe end of the period. If earlier than the start, the result is negative.
methodOptionalFALSE or omitted = US (NASD) method · TRUE = European method. The two differ only in how they handle dates falling on the 31st (and month-end February dates, in the US method).

Available in: every version of Excel. The 30/360 day count is also the default basis of YEARFRAC=YEARFRAC(A2,B2) is essentially =DAYS360(A2,B2)/360.

30/360 counting in action

Three date pairs, counted three ways — notice how the 30-day-month fiction bends the numbers:

ABCDE
1StartEndUS 30/360EuropeanActual days
201/15/202603/31/2026767575
301/31/202607/31/2026180180181
401/01/202612/31/2026360359364
=DAYS360(A2, B2) // US method: 76
=DAYS360(A2, B2, TRUE) // European method: 75
=B2 - A2 // actual calendar days: 75

Row 3 is the convention’s whole point: January 31 to July 31 is exactly six 30-day months — 180 days — even though 181 real days passed. A bond paying interest on the 31st earns the same per month as one paying on the 30th.

The classic application — simple interest accrued on a 30/360 loan:

=principal * annual_rate * DAYS360(A2, B2) / 360 // interest for the period

Try it: interactive DAYS360 demo

Live demo

Pick two dates and compare the US method, the European method, and the actual day count side by side. Dates on the 31st are where the fun is.

US (NASD) vs. European: what actually differs

Both methods turn the calendar into twelve 30-day months; they only disagree about dates that land on the 31st:

  • European (TRUE): simple — any start or end date on the 31st is treated as the 30th. Done.
  • US / NASD (FALSE or omitted): a start date on the 31st (or the last day of February) becomes the 30th. An end date on the 31st becomes the 30th only if the start date was on the 30th or 31st; otherwise it rolls forward to the 1st of the next month — which is why US counts sometimes come out one day higher than European ones.
=DAYS360(DATE(2026,1,15), DATE(2026,3,31)) // US: end rolls to Apr 1, result 76
=DAYS360(DATE(2026,1,15), DATE(2026,3,31), TRUE) // European: end becomes Mar 30, result 75

Which one do I use? Whichever the contract or bond prospectus specifies — this is a legal convention, not a math preference. US 30/360 dominates American corporate bonds and agency securities; 30E/360 (the European method) is common in Eurobond markets.

Errors & common pitfalls

Pitfall: using DAYS360 for real-world day counts. It is off by up to a few days from the calendar by design. Ages, deadlines, days-until-launch — anything human-facing — should use DAYS or plain subtraction. DAYS360 belongs in financial documents that name the 30/360 convention.

Pitfall: forgetting which method you are on. The default is the US method, and the silent one-day differences around month-ends are exactly the kind of discrepancy that makes two analysts’ accrual schedules disagree by a few dollars. State the method explicitly — write FALSE or TRUE rather than omitting the argument.

#VALUE! — an argument isn’t a recognizable date. Text masquerading as a date is the usual culprit. Build dates with DATE or verify with ISNUMBER.

Pitfall: February is weird in both methods. February 28 to March 31 spans 31 real days but can count as 33 under 30/360 (Feb 28 + 2 phantom days). The convention smooths months at the cost of odd individual periods — expected behavior, not a bug.

Practice workbook

📊
Download the free DAYS360 practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

What is the 30/360 day count convention?
An accounting convention that treats every month as 30 days and every year as 360. It makes interest accrue at the same rate every month, which simplifies bond and loan math. DAYS360 is Excel’s implementation of that count.
What's the difference between the US and European methods?
Only the treatment of dates on the 31st. European (method = TRUE) always pulls a 31st back to the 30th. US/NASD (the default) pulls the start date back but may roll an end date on the 31st forward to the 1st of the next month, occasionally producing a count one day higher.
When should I use DAYS360 instead of DAYS?
Only when a contract, bond, lease, or accounting policy explicitly uses the 30/360 convention. For actual elapsed days — deadlines, ages, durations — use DAYS or simple subtraction; DAYS360 will be slightly wrong on purpose.
How do I turn a DAYS360 result into a fraction of a year?
Divide by 360 — or skip the division and use =YEARFRAC(start, end, 0), whose default basis 0 is the same US 30/360 count. Basis 4 of YEARFRAC matches the European method.
Why does DAYS360 give 360 for a full year instead of 365?
That is the convention working as designed: twelve 30-day months. Annual interest formulas divide by 360, so the year length and the divisor cancel out exactly.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: YEARFRAC · DAYS · DATEDIF · DATE · NETWORKDAYS