Days Between Dates

Pick two dates to get the exact number of days between them — plus the same span in weeks, months and years, and how many of those days are weekdays.

Free, no sign-upRuns in your browserUpdated November 2026
Quick ranges from the start date
Days between dates
—
Weeks + days
—
Months + days
—
Years, months, days
—
Weekdays (Mon–Fri)
—
Weekend days
—
Hours
—

How to use the Days Between Dates

  1. Choose a start date and an end date. Use Today to fill in the current date, or a quick-range chip such as “+90 days”.
  2. Tick Include the end date if both the first and last day should count — for example, the length of a holiday or a hotel booking in calendar days.
  3. Read the total in days, then the same span as weeks + days, months + days and years, months and days.
  4. Check the weekdays and weekend days split. For holidays or a Friday–Saturday weekend, use the business days calculator.
  5. Copy the result or share the page URL — both dates are saved in the link.

How the number of days between two dates is calculated

Counting days by hand is error-prone: months have 28 to 31 days, February gains a day in leap years, and it is easy to lose track of whether the first or last day is included. This calculator turns each date into a day number — the count of days since 1 January 1970 measured in UTC — and subtracts one from the other:

Days = day number(end) − day number(start) (+1 if the end date is included)

Because the arithmetic happens on whole UTC days rather than on local clock times, daylight saving time can never turn a day into 23 or 25 hours and throw the count off by one. That is a common bug in quick spreadsheet or script solutions that subtract two local timestamps and divide by 86,400,000.

Worked example

From 15 January 2026 to 10 November 2026:

  • Total: 299 days (300 if you include 10 November itself).
  • Weeks: 299 ÷ 7 = 42 weeks and 5 days.
  • Calendar months: 15 Jan → 15 Oct is 9 months, then 26 more days to 10 Nov, so 9 months 26 days.
  • Weekdays: 213 Monday-to-Friday days and 86 weekend days.

Should you include the end date?

By default the result is the difference between the dates: from Monday to Tuesday is 1 day. That matches how most people think about elapsed time, how age is counted, and how spreadsheets behave (=B1-A1).

Tick Include the end date when you are counting calendar days that are all “used”, such as:

  • the number of days on a trip that runs from 3 to 7 August (5 days, not 4);
  • a rental, leave request or prescription that covers both the first and last day;
  • contract or notice periods where the wording says “inclusive”.

When in doubt, check the wording of the document you are working with. Legal and financial deadlines often have their own counting rules, such as excluding the day of the event or rolling forward when the last day falls on a weekend.

Weeks, months and years — why they differ

Days and weeks are fixed lengths, so 299 days is always 42 weeks and 5 days. Months and years are not. This tool counts calendar months: it steps forward month by month from the start date and then counts the leftover days. When the start day does not exist in a shorter month (for example the 31st), the step lands on that month’s last day, which is the same convention used by most date libraries and by spreadsheet functions like EDATE.

UnitLength usedNotes
Week7 daysExact
Month28–31 daysCounted on the calendar, not averaged
Average month30.44 days365.2425 ÷ 12, for rough conversions only
Year365 or 366 daysLeap years: divisible by 4, except centuries not divisible by 400

Leap years and the 29th of February

The Gregorian calendar adds a 29 February in every year divisible by 4, except century years that are not divisible by 400. So 2024 and 2028 are leap years, 2100 is not, and 2000 was. From 28 February 2024 to 1 March 2024 is 2 days, while the same dates in 2026 are only 1 day apart. The calculator handles this automatically for any year from 0001 to 9999.

Weekdays vs weekend days

The weekday count is the number of Mondays to Fridays in the range, using the same include-the-end rule as the main total. It is a quick estimate of working days but does not know about public holidays. For a precise working-day count with your own holiday list, or for a Friday–Saturday or Sunday-only weekend, use the business days calculator.

Common uses and tips

  • Countdowns: set the start to today and the end to the event. For a live ticking clock, use the countdown timer.
  • Deadlines “in N days”: to find the date that is 45 days from now, use the date calculator instead of guessing an end date.
  • Age in days: enter a birth date and today, or use the age calculator for a full breakdown.
  • Going backwards: if the end date is earlier than the start date, the result is shown as a negative number of days, so you can still read the gap.

Frequently asked questions

How do I calculate the number of days between two dates?
Convert each date to a day number (for example days since 1 January 1970) and subtract the start from the end. Add 1 if both the start and end dates should count. This calculator does exactly that, in UTC, so daylight saving changes cannot skew the result.
Does the day count include the start and end date?
By default it counts the start date but not the end date, so Monday to Tuesday is 1 day — the same as subtracting dates in Excel or Google Sheets. Tick “Include the end date” to add the final day, so Monday to Tuesday becomes 2 days.
How many days are there between today and 31 December?
Open the page: the default range runs from today to 31 December of the current year, so the answer is shown immediately. On 10 November 2026, for example, there are 51 days until 31 December and 52 until New Year’s Day.
Are leap years taken into account?
Yes. February has 29 days in leap years (2024, 2028 …) and 28 otherwise, and century years are leap years only when divisible by 400. All calculations use the real Gregorian calendar.
How are months counted when the start is on the 31st?
The calculator steps forward one calendar month at a time. If a month has no 31st, the step lands on its last day instead (31 January + 1 month = 28 February in 2026). The remaining days are then counted individually.
Can I count only working days?
The weekday figure counts Monday to Friday. To exclude public holidays or use a different weekend, open the business days calculator, which lets you choose weekend days and paste a list of holiday dates.

Last reviewed November 2026. Results are estimates for information only — see our disclaimer.