Skip to content
PocketDesk
Your files are processed on your device, never uploaded

Date difference calculator

Days, weeks, months and working days between any two dates.

  • Runs in your browser
  • No sign-up

How to find the difference between two dates

  1. Enter the start date and the end date as YYYY-MM-DD.
  2. Tick Include the end date if the last day should count as a full day.
  3. Read the total days, the weeks and days, the years, months and days, and the business days.

What the results mean

  • Difference is the number of days from the start to the end. With the end date included, it is one more.
  • Years, months, days counts whole calendar months first, then leftover days, so it reads like a human would say it.
  • Weeks divides the days by 7 and shows the remainder.
  • Business days (Mon-Fri) removes every Saturday and Sunday in the range.
  • Hours is days × 24.

Worked example

How long is it from 1 January 2026 to 25 December 2026?

  • Total days: 358 (359 with the end date included).
  • Weeks: 51 weeks and 1 day.
  • Calendar: 11 months and 24 days.
  • Business days: 256 weekdays, so 102 weekend days.

You can check the days by adding up month lengths: 31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 30 = 334 days to 1 December, plus 24 to reach 25 December, which gives 358.

Counting tips

  • Elapsed versus inclusive. A project that starts on Monday and ends on Friday of the same week has 4 elapsed days but covers 5 working days.
  • Notice periods and warranties usually count elapsed days from the day after the event.
  • Month ends. From 31 January to 28 February is exactly 1 month by this calendar rule.

To work forward from a date, use add days to date. To find someone’s age in years, months and days, try the age calculator. For short spans, the hours to days converter helps. Everything is computed locally in your browser.

Questions

How many days are there between two dates?

The tool subtracts the day count of the start date from the end date. 1 January to 25 December 2026 is 358 days, or 359 if you include the end date.

Should I include the end date?

Include it when both the first and last day count, such as a hotel stay of 1 to 3 March being 3 days of dates but 2 nights. Leave it off for elapsed time.

How are business days counted?

Monday to Friday are counted and Saturdays and Sundays are skipped. Public holidays are not known, so subtract them yourself.

What if the start date is after the end date?

The two dates are swapped and a note tells you, so the answer is never negative.

Does it handle leap years?

Yes. The calendar logic knows that 2024 and 2028 have 29 February, and that 2100 does not.

More calculators tools