Start Submit a site

Date Difference Calculator

Study & Math

Count the days, weekdays, weeks, months and years between two dates, with the exact gap broken down.

Your inputs

Browse all tools

The end date itself is not counted, so 1 January to 1 January is zero days.

Result

Days between —
  • Weekdays (Mon–Fri) —
  • Weeks —
  • Whole years —
  • Whole months after the years —
  • Days after the months —

Change any input and the result updates instantly.

Formula and rules

  • Days = end date − start date, counted in whole days without the end date itself
  • Weekdays count Monday to Friday only; public holidays are not excluded
  • Whole years and months are taken first and the remaining days come last, so 31 January to 1 March is one month and one day
  • Weeks = days ÷ 7

Worked examples

A whole calendar year

Input Start 1 January 2026, end 31 December 2026.

Result 364 days, 260 weekdays, 52.00 weeks, or 0 years 11 months 30 days.

A leap day to the next 28 February

Input Start 29 February 2024, end 28 February 2025.

Result 365 days and 261 weekdays, counted as 1 year 0 months 0 days because a 29 February start is clamped to 28 February in the next year.

One month, 1–31 October

Input Start 1 October 2026, end 31 October 2026.

Result 30 days, 22 weekdays, 4.29 weeks and 0 years 0 months 30 days.

FAQ

Is the end date included in the count?

No. The result is the time elapsed between the two dates, so the end date is excluded: 1 January to 2 January is one day. Add one yourself if you need an inclusive count, for example when counting hotel nights versus days.

Why are the weekdays not simply days × 5 ÷ 7?

Because the start and end fall on different weekdays, the leftover days after the full weeks are not evenly distributed. The calculator counts each residue day by its actual weekday, so a 30-day span can hold 21, 22 or 23 weekdays.

Do time zones or daylight saving change the result?

No. Dates are compared as plain calendar dates without a time of day, so a daylight saving shift of one hour cannot add or remove a day.

Disclaimer: Results follow the formula shown on this page and are for reference only. Real-world quantities vary with materials, technique and conditions, so allow a margin before ordering.