Understanding the Days Between Dates Calculator
This calculator finds the number of days between two calendar dates using standard date arithmetic. Enter a start date and an end date; the tool converts each to a UTC midnight timestamp so the count is not thrown off by daylight saving time, then reports the difference in four useful forms: total days, weeks and days, weekdays only, and a years/months/days breakdown.
The core formula
- Total days = |End date − Start date|, counted as whole calendar days.
- Exclusive counting (the default) counts the days that elapse between the two dates — like counting nights of a hotel stay.
- Inclusive counting adds 1 to also count both the start date and the end date as full days — useful for questions like "how many days is my trip, including both the day I leave and the day I return?"
Business days and calendar breakdowns
The weekday count applies the standard convention of Monday through Friday only, treating Saturday and Sunday as non-business days. It does not remove public holidays, since those vary by country, region, and organization. The years/months/days figure is calculated using real calendar arithmetic — borrowing days from the previous month and months from the previous year exactly the way a calendar works — so it correctly handles months of different lengths and leap years.
Common uses
- Project deadlines and milestone planning
- Legal and contractual date calculations (90-day cure periods, notice windows)
- Trip length, countdowns, and anniversary or elapsed-time tracking
- Payroll, billing, and other cycles counted in business days
Precision note
If a calculation has legal or contractual significance, confirm which counting convention applies — some agreements count the first day, some count only the last, and business-day deadlines often use their own holiday calendar that this general-purpose tool does not know about.