How to use the date difference calculator
- Pick a start date and an end date. The result appears as soon as both are filled in, or when you press Calculate or Enter.
- Tick Include the end date in the count if both the first and the last day should be counted.
- Use Use today as end date to count up to today, or Swap dates to reverse them.
If the start date is later than the end date, the calculator swaps them for the calculation and tells you, so the result is always a positive span of time.

What the results mean
- Years, months and days: the span written the way people normally say it, for example "1 year, 7 months, 22 days".
- Total days: the number of days from the start date to the end date.
- Weeks and days: the total days split into full weeks plus the days left over.
- Total full months: the number of complete calendar months in the span (years × 12 plus months).
- Working days: the number of Mondays to Fridays in the span. Public holidays are not removed, because they differ by country and region.
How months and days are counted
The calculator first counts whole calendar months from the start date, then counts the remaining days. A month is complete when the calendar reaches the same day number in a later month. When that day does not exist, because the month is shorter, the last day of that month is used. So:
- 31 January to 28 February 2023 is exactly 1 month, because February 2023 has no 29th, 30th or 31st.
- 31 January to 28 February 2024 is 28 days, because 2024 is a leap year and the one-month point is 29 February.
- 15 March 2025 to 6 November 2026 is 1 year, 7 months, 22 days, which is 601 days in total.
Leap years follow the Gregorian rules: a year divisible by 4 is a leap year, except century years, which must also be divisible by 400. That is why 2000 was a leap year but 1900 was not.
Including or excluding the end date
By default, the end date is not counted, so Monday to Tuesday is 1 day. This is the usual way to measure elapsed time, such as the length of a loan or the age of something. Tick the box when you need to count both ends, for example the number of days of a holiday or an event that runs from the 5th to the 16th. In that case, one extra day is added before the months, weeks and working days are worked out.
Example: from Monday 5 January 2026 to Friday 16 January 2026 is 11 days and 9 working days with the end date excluded (the Friday is not counted). With the end date included it is 12 days and 10 working days.
How working days are counted
Every block of seven consecutive days contains exactly five weekdays, so the calculator multiplies the number of full weeks by five and then checks only the few days left over. This gives the same answer as counting each day one by one, but instantly, even for spans of thousands of years.
Supported dates and limitations
Dates from the year 1 to the year 9999 are supported, using the Gregorian calendar extended backwards (the "proleptic" Gregorian calendar). Historical dates before a country switched from the Julian calendar, such as before 1582 in much of Europe or 1752 in Britain, may not match the dates written in old records. Times of day and time zones are not used: each date is treated as a whole calendar day, so daylight-saving changes do not affect the result. If your browser shows a message about an incomplete date, check that the year has four digits.
Runs in your browser
The calculation happens on your device and your dates are never sent anywhere. No account is needed.
Frequently asked questions
How do I find the number of days between two dates?
Enter both dates. The Total days box shows the number of days from the start date to the end date. Tick Include the end date in the count if you want both the first and the last day counted.
Should the end date be included?
It depends on what you are counting. Leave the box unticked to measure elapsed time, where Monday to Tuesday is 1 day. Tick it to count calendar days of an event, where Monday to Tuesday is 2 days.
How is 31 January to 28 February counted?
In a common year it is exactly 1 month, because the one-month point after 31 January is the last day of February. In a leap year it is 28 days, because the one-month point is 29 February.
Does it handle leap years?
Yes. The calculation uses the real Gregorian calendar, so 29 February is counted in leap years, including the century rule that made 2000 a leap year but not 1900.
Does it skip public holidays?
No. Working days only exclude Saturdays and Sundays. Subtract any public holidays that fall within your dates yourself.
What if the start date is after the end date?
The tool swaps them automatically for the calculation and shows a short message, so the result is always positive.
Which years can I use?
Any year from 1 to 9999. Very old dates use the Gregorian calendar extended backwards, which may differ from historical records written in the Julian calendar.