Days Between Dates Calculator

Count the days between two dates, with weeks, months, years, weekdays and hours. Free, runs in your browser.

Total days-
Weeks + days-
Y / M / D-
Weekdays-
Weekend days-
Hours-

How to count the days between two dates

  1. Pick the start date and the end date.
  2. Read the total in days, or in weeks, months and years.
  3. Tick Include end date if both the first and last day count.

Example: 1 January 2027 to 31 December 2027 is 364 days (365 if you include the end date), which is 52 weeks.

Common date gaps

FromToDays
1 Jan 20271 Feb 202731
1 Jan 20271 Apr 202790
1 Jan 20271 Jul 2027181
1 Jan 20271 Jan 2028365
1 Jan 20281 Jan 2029366 (leap year)
25 Dec 20261 Jan 20277

Days, weekdays and business days

Total days count every calendar day. Weekdays count Monday to Friday only, which is a good starting point for working days. Public holidays are not removed because they differ by country and region.

What people use it for

To add up hours instead of days, try the hours calculator.

Questions

How do I calculate the number of days between two dates? Subtract the earlier date from the later one. This calculator does it for you: enter a start date and an end date and it shows the total days, weeks, months, years and weekdays.

Does the calculator include the end date? By default no: Jan 1 to Jan 2 is 1 day. Tick 'Include end date' to count both the first and last day, so Jan 1 to Jan 2 becomes 2 days. Use that for things like hotel nights versus days of an event.

How many weekdays (business days) are between two dates? The calculator counts Monday to Friday only. It does not remove public holidays, because those differ by country, so subtract them yourself.

How many days are there from today to a date? Click 'Today' next to the start date, then enter the target date. The result updates immediately.

How are months and years between dates counted? As whole calendar months and years first, then the leftover days. Jan 31 to Mar 1 is 1 month and 1 day in this method. Different tools can handle month ends differently, so the total number of days is the exact figure.

Does it handle leap years? Yes. February 29 is counted in leap years such as 2028. 2027 is not a leap year, so it has 365 days.

How many days are in 2027? 365 days, 52 weeks and 1 day. 2027 starts on a Friday and ends on a Friday.

Can the end date be before the start date? Yes. The calculator shows the gap as a positive number and tells you the end date is earlier.

Is my data sent anywhere? No. All the maths runs in your browser. Nothing is uploaded or stored.