How to use this calculator
- Enter the two dates. Either can come first.
- Choose whether to count the last day. Choose yes when both the first and last days count, such as the days of a trip.
- Read your result. You’ll see the total days and the same gap in other units.
How the days are counted
The calculator counts each day from the first date up to the second, without counting the first date itself. So January 1 to January 2 is 1 day. If you also count the last day, it’s 2.
Worked example
From January 1, 2026 to March 15, 2026 is 30 days to January 31, then 28 in February, then 15 in March. That’s 73 days, or 2 months and 14 days.
Why months are shown separately
Months have between 28 and 31 days, so a day count can’t be turned into months by dividing. The years and months here are counted on the calendar, the same way you’d count them by hand.
What counts as a weekday?
Weekdays are Monday to Friday. This count doesn’t remove public holidays, so a business deadline may land later. To check holidays and week numbers, use our online calendar.
Reading the date difference calculator result
The big line shows the total number of days. Under it, a badge splits the same gap into years, months and days, counted on the calendar. The table then lists:
- From and To. The two dates in order, earliest first.
- Weeks. Whole weeks plus the days left over.
- Weekdays (Mon–Fri). How many of the counted days are Monday to Friday.
- Weekend days. The rest of the counted days.
- Hours. The days multiplied by 24.
For the January 1 to March 15, 2026 example above, the table shows 10 weeks and 3 days, 52 weekdays, 21 weekend days and 1,752 hours.
More worked examples
A month with and without the last day. From June 1 to June 30, 2026 is 29 days, made up of 21 weekdays and 8 weekend days. Change Count the last day too? to Yes and the result becomes 30 days, shown as 1 month and 0 days, with 22 weekdays and 8 weekend days. Use Yes when both dates are days you need, such as the first and last day of a vacation or a course.
A whole year. From January 1 to December 31, 2026, counting the last day, is 365 days. That is 1 year, or 52 weeks and 1 day, with 261 weekdays, 104 weekend days and 8,760 hours.
Dates entered backward. If you put March 1, 2026 first and January 1, 2026 second, the calculator swaps them and says so. The answer is the same 59 days, or 2 months and 0 days.
Month ends and leap years
Months don’t all have the same last day, so the months part of the answer needs a rule. The calculator steps forward one month at a time from your first date. When that day doesn’t exist in a shorter month, it lands on the month’s last day instead.
For example, January 31 to March 1, 2026 is 29 days. One month after January 31 lands on February 28, because 2026 has no February 29, and one more day reaches March 1. So the badge shows 1 month and 1 day. Other tools that count months differently can show a slightly different months figure, but the total days will match.
Leap years add a day to February. In the calendar used today, a year divisible by four is a leap year, except century years, which must also divide by 400.[2] The day count takes care of this for you, so a range that crosses February 29, 2028 is one day longer than the same range a year earlier.
Turning weekdays into working days
The weekday row counts Monday to Friday but does not know your holidays. To get working days, subtract any holidays that fall on a weekday in your range. The US federal government lists 11 holidays for 2026, from New Year’s Day on Thursday, January 1 to Christmas Day on Friday, December 25.[1] When a holiday lands on a Saturday, federal workers get the Friday before, and when it lands on a Sunday, they get the Monday after.[1]
In the June example, the federal list shows Juneteenth on Friday, June 19, 2026.[1] So the 22 weekdays of June become 21 working days for anyone who has that day off. State, school and company calendars can differ, so check the one that applies to you.
Common mistakes
- Forgetting the last day. A trip from the 1st to the 5th covers five days of your time, but the plain count is 4. Choose Yes, add 1 day when both ends count.
- Dividing days by 30 to get months. Months run from 28 to 31 days, so use the years, months and days badge instead.
- Treating weekdays as working days. Take off holidays and any days you don’t work.
To find the date a set number of days from now, use add days to date. To find your exact age, try the age calculator.
How we calculate this
The tool counts the days between two calendar dates. If the second date is earlier, it swaps them and tells you. By default the end date is not counted. If you choose to include it, the tool moves the end date forward one day, so the result is one day longer.
The years, months and days breakdown steps forward from the start date month by month. If the start day does not exist in a shorter month, it uses that month's last day. The remaining days are counted after the last whole month.
- Weeks: total days ÷ 7, with the remainder.
- Weekdays: Monday to Friday days in the range.
- Weekend days: total days minus weekdays.
- Hours: days × 24.
What next
Use this often? Add Date Differe to your Home screen.
Frequently asked questions
How many days are between two dates?
Enter both dates above. The calculator counts the days from the first date to the second, and you can choose whether to include the last day.
Does this count weekends and holidays?
The main result counts every day. The table also splits out weekdays and weekend days, but it doesn’t remove public holidays.
Can I find the days until a future date?
Yes. Use today as the first date and the future date as the second.
How many days are there from June 1 to June 30?
In 2026 it is 29 days if you don’t count June 30, or 30 days if you do. Counting both days gives 22 weekdays and 8 weekend days.
How does the date difference calculator count months?
It steps forward one calendar month at a time from the first date. If that day doesn’t exist in a shorter month, it uses the month’s last day, then counts the days left over.
How many working days are between two dates?
Read the Weekdays (Mon–Fri) row, then subtract any holidays that fall on a weekday in your range. The calculator doesn’t know which holidays you get.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.