Date Difference Calculator

Pick two dates to count the days between them, with years, months, weeks and weekdays, and an option to include the end date.

Time between the dates

–days

Choose a start date to see the difference.

Breakdown

Years, months, days
–
Months
–
Weeks
–
Hours
–
Minutes
–

Weekdays and weekends

Weekdays (Mon–Fri)
–
Weekend days
–
Starts on a
–
Ends on a
–

Weekdays don’t account for public holidays, which vary by country.

Orbit rings around a calendar icon with an arrow, suggesting the distance between two dates.

How the days are counted

The calculator counts from the start date up to the end date using real calendar dates, so month lengths and leap years are always right. Out of the box it gives the difference between the dates, which is how age, hotel stays and most deadlines are measured. From 1 January to 31 December 2026 is 364 days by this count: the gap between those two dates.

If you need to count every day in a range, including both ends, tick Include the end date. Then 1 January to 31 December 2026 becomes 365 days, the full calendar year.

When to include the end date

Whether to add the extra day depends on what you’re measuring:

  • Leave it off for ages, durations, “how long ago”, hotel nights and time until a deadline.
  • Include it for the number of calendar days an event covers, like a festival from the 3rd to the 5th (3 days), a holiday booked from Monday to Friday (5 days), or the days in a billing period that starts and ends on stated dates.

When a contract or form doesn’t say, it’s worth checking which one it means. The difference is always exactly one day.

Years, months and days between dates

Besides the total, the calculator breaks the gap into whole years, months and days, the same way an age is counted. For example, 1 January to 1 April 2026 is 3 months, even though it covers 90 days, because months have different lengths. When a date falls on the 31st and the target month is shorter, the month is complete on its last day, exactly as in our age calculator methodology.

Weekdays, weekends and working days

The Weekdays and weekends card counts Monday to Friday separately from Saturdays and Sundays across the range, and tells you which day of the week each date falls on. It’s a quick way to estimate working days for a project or notice period. Public holidays aren’t included, because they vary by country and region, so subtract the ones that apply to you.

Counting days by hand

For short spans, count the days left in the start month, add the full months in between, and add the days into the end month. Remembering month lengths is the hard part. The old rhyme helps: “Thirty days hath September, April, June and November”. All the rest have 31, except February with 28, or 29 in a leap year.

For long spans, add 365 for each full year plus one for every 29 February in between. In a spreadsheet you can simply subtract one date from the other; our guide to date and age formulas in Excel and Google Sheets shows how.

To count from a date of birth to today, the age in days calculator gives the same total along with milestones. To compare two birthdays, the age difference calculator shows who is older and by how much.

Last reviewed on by the Ageculator Team. See how we calculate.

Frequently asked questions

How many days are there between two dates?

Enter both dates above. By default the calculator counts the days from the start date up to the end date, the same way you’d count nights in a hotel: from Monday to Friday is 4 days. Tick Include the end date to count both dates, which makes Monday to Friday 5 days.

Does the calculator count the start date?

The difference is measured from the start date to the end date, so the start day itself isn’t added on top. If you need to count every calendar day in a range, including both the first and the last, tick Include the end date.

How do I count working days between two dates?

The Weekdays and weekends card counts Monday to Friday separately from weekends. It doesn’t know about public holidays, which differ between countries and regions, so subtract any holidays that fall in your range.

Can I count backwards, or use dates in the past?

Yes. Any two dates from the year 1 to 9999 work. If the end date is before the start date, the calculator simply counts the other way round and tells you it has done so.

How many weeks are there between two dates?

Divide the number of days by 7. The breakdown shows the whole weeks and the days left over, for example “43 weeks, 2 days”.