Date Difference Calculator

Find out exactly how much time is between two dates — in days, weeks, calendar-aware months, and years.

Why “how many days” isn't always the number you think it is

The gap between two dates can be counted two ways — inclusive (counting both the start and end date) or exclusive (counting only the days between them) — and which one you want depends entirely on what you're using the answer for. Booking accommodation for “5 nights” is a different count than “5 days” between check-in and check-out. Leap years add another wrinkle: February having an extra day in some years means the same two calendar dates can be a day apart in duration depending on the year.

This calculator counts the days that pass from the From date up to the To date, so the To date itself isn’t counted. 1 January to 6 January is 5 days, which is also 5 nights if you’re counting a stay. If you want to count both the first and the last day, add 1 to the result.

Examples

  • 1 Jan 2026 to 1 Mar 2026: 59 days, which is 8 weeks 3 days, or exactly 2 months.
  • 28 Feb to 1 Mar: 2 days in 2016, 1 day in 2017, because 2016 was a leap year.
  • 31 Jan to 1 Mar 2027: 29 days, shown as 1 month 1 day. The month count stops at 28 Feb (the last day available in February), then adds 1 more day.
  • Monday 5 Oct to Monday 12 Oct 2026: 7 days, 5 weekdays and 2 weekend days.

Frequently asked questions

How do I find the difference between two dates?

Pick a From date and a To date. The result updates straight away: total days first, then weeks, months, years and a weekday/weekend split. If the To date is earlier, the tool shows the gap as a positive number and tells you.

Does the date difference include the end date?

No. The To date isn’t counted, so 1 Jan to 6 Jan is 5 days. Add 1 to include both dates.

How are months worked out when the start date is the 31st?

The tool adds whole months to the From date, using the last day of the month when the target month is shorter, then counts the leftover days. 31 Jan 2027 to 1 Mar 2027 comes out as 1 month, 1 day.

Does the weekday count skip public holidays?

No. Weekdays are Monday to Friday and weekends are Saturday and Sunday. Holidays aren’t considered, and the To date isn’t counted, the same as the total.

How are leap years handled?

The tool counts the actual calendar days, including 29 February when it falls between your dates.

More from Dates & Time

View all →
Days Until Calculator Count down to Christmas, your next birthday, or any custom date. Time Zone Converter Compare times across cities at a glance, and find a window that works for everyone. Age Calculator Find exact age in years, months, and days.

Enjoyed this? Share it with a friend

Email