Everyday tool · free · runs in your browser

Days Between Dates Calculator

Find how many days lie between two dates, or how many are left until an event. The result also shows weeks, a months-and-days breakdown and the number of weekdays.

Turn this on for durations such as hotel nights versus days of a trip, or a leave period that ends on the last day off.

What this days-between-dates calculator does

Give it two dates and it tells you how many days lie between them, how many full weeks that makes, the calendar breakdown in years, months and days, and how many of those days fall on weekdays (Monday to Friday) and weekends. Typical uses: counting down to a wedding or an exam, checking a notice period, working out the length of a contract or a stay, or finding how many working days a project has before its deadline.

How to count the days

  1. Pick a start date. Start today fills in today's date on your device.
  2. Pick an end date. The tool starts with 31 December of the current year as an example.
  3. Decide whether the end date should count. Leave the box clear for elapsed days; tick it to count both the first and the last day.
  4. Read the result, which updates as soon as either date changes.

Counting rules

Elapsed or inclusive

The default result is the elapsed number of days: the end date minus the start date. Monday to Friday of the same week is 4 days elapsed. With the inclusive option, both ends count and the same range gives 5. Which one you need depends on the question:

Weeks, months and years

Weeks are simply days divided by 7, with the remainder shown in days. The months figure is found by adding whole calendar months to the start date. When the start falls on a day that a shorter month lacks, the date is clamped to that month's last day. That is why 31 January to 1 March 2026 reads as 1 month and 1 day: 31 January plus one month is 28 February, and one more day reaches 1 March.

Weekdays

The weekday count includes every Monday to Friday within the counted days, using the same elapsed or inclusive choice. Public holidays are not removed, because they depend on your country, state and employer.

Leap years

The calculator follows the Gregorian calendar. A year is a leap year if it is divisible by 4, except century years, which must be divisible by 400. So 2000 was a leap year, 2100 will not be, and 2028 is the next one after 2024.

Worked examples

A full calendar year

1 January 2026 to 31 December 2026 is 364 days elapsed, or 365 counting both dates. The inclusive count holds 261 weekdays and 104 weekend days. 2026 starts on a Thursday, so it has 52 full weeks plus one extra Thursday.

Countdown to Christmas

From 26 November 2026 to 25 December 2026 is 29 days, which is 4 weeks and 1 day. Of the days counted, 21 are weekdays and 8 fall on a weekend.

A leap-day birthday

29 February 2024 to 28 February 2025 is 365 days and shows as exactly 1 year, because 29 February plus 12 months is clamped to 28 February in a common year.

Tips and common mistakes

Limits and privacy

The calculator works with calendar dates, not clock times, so daylight saving changes do not affect it and the hours figure is simply days × 24. It does not know about business calendars, school terms or holidays. The dates you enter stay in your browser and are not sent or stored.

Frequently asked questions

Does the calculator count the start date or the end date?

By default it gives the elapsed days, which counts one of the two. From Monday to Friday of the same week is 4 days. Tick the inclusive option to count both ends, which gives 5.

How many days are there between 1 January and 31 December?

In a non-leap year such as 2026 the elapsed count is 364 days, and 365 if you count both dates. In a leap year the figures are 365 and 366.

Are public holidays removed from the weekday count?

No. Holidays differ by country, region and employer, so the tool counts Monday to Friday only. Subtract the holidays that fall inside your range.

How are months counted when the start is the 31st?

The tool adds whole months to the start date and clamps to the last day of shorter months. From 31 January to 1 March 2026 is 1 month and 1 day, because 31 January plus one month lands on 28 February.

Can the end date be before the start date?

Yes. The tool still gives the number of days and says that the end date is earlier, which is handy for checking how long ago something happened.

Does daylight saving time affect the count?

No. The calculator works with whole calendar dates, not clock times, so a 23-hour or 25-hour day still counts as one day.

How far apart can the dates be?

Any dates the date picker accepts. Leap years follow the Gregorian rules: a year divisible by 4 is a leap year, except centuries that are not divisible by 400.