Definition
What the difference between two dates means
A date difference is the elapsed calendar time between two dates. It can be expressed as a total number of days or as calendar years, months and days. A count of dates in the range may be one day longer if it includes both endpoints.
- Elapsed days
- Counts date boundaries crossed
- Include both endpoints
- Adds the last day to the date count
- Weekday count
- Includes Monday to Friday before holidays
Three ways to read the same gap
The headline gives the exact number of days. Underneath you will see the same gap as weeks and days, and as years, months and days on the calendar, which is useful for contracts, notice periods and anniversaries.
The weekday count is handy for estimating working time, delivery windows and project schedules.
Counting rules that cause confusion
Different fields count differently. Legal deadlines often exclude the first day and include the last. Hotels count nights, which is the number of days without the end date. Project plans commonly count both ends.
If you are unsure, check the rule that applies to your case, and use the end-date option to match it.
Everyday uses
Counting down to a holiday, working out how long a loan or subscription has run, planning a pregnancy or treatment schedule with your doctor, measuring how long you have been in a job, or finding the length of a trip.
A worked example
From 1 January to 31 December 2026 is 364 days, or 365 if you count the final day as well. The interval contains 260 weekdays with the final day excluded or 261 with both dates included, before subtracting any public holidays. Counting from a start date to today works the same way: leave the end date empty and the calculator uses today’s date.
Common uses and examples
People use it to count down to holidays and exams, to work out how long they have been in a job or a relationship, to measure the length of a tenancy or a hire period, and to check deadlines in contracts. From 15 October to 25 December 2026 is 71 days, and from 10 March 2024 to 15 October 2026 is 2 years, 7 months and 5 days, which is 949 days.
If you are counting working days, remember that weekdays include public holidays, which vary by country and year. The weekday count here is a Monday-to-Friday figure and is best used as an estimate.
Leap years and the length of months
A normal year has 365 days and a leap year 366. A year is a leap year if it is divisible by 4, except for century years, which must be divisible by 400: 2000 and 2024 were leap years, 1900 and 2100 are not. Months run from 28 (or 29) to 31 days, which is why the difference in months and days is counted on the calendar, not by dividing by 30.
The calculator uses the standard calendar, with no adjustments for daylight saving, time zones or historical calendar changes such as the 1752 switch in Britain and its colonies.
Step-by-step example
Count the dates from 1 January through 31 December 2026 with and without including 31 December.
| Step | Result |
|---|---|
| Elapsed calendar days | 364 |
| Calendar days including the final day | 365 |
| Weekdays excluding the final day | 260 |
| Weekdays including the final day | 261 |
| Weekend days | 104 |
Formulas used
Days = Date₂ − Date₁ (calendar days; add 1 to include both ends)
- Date₁
- earlier date
- Date₂
- later date
Example: 15 October 2026 to 25 December 2026 is 71 days.
Subtract year, month and day separately,
borrowing days from the previous month when needed
Example: 15 Oct 2026 to 25 Dec 2026 is 2 months and 10 days. 10 March 2024 to 15 October 2026 is 2 years, 7 months, 5 days (949 days).
Weekdays = Monday to Friday days in the period
Example: Between 15 October and 25 December 2026, counting both ends, there are 52 weekdays. Public holidays are not removed.
When the answer can mislead
- A calendar month can span different numbers of days depending on where the period starts.
- A weekday count can overstate staffing days when the period includes closures.
- For a duration across time zones, use timestamps with offsets if the hour matters.
Questions
How many days until or since a date?
Put today’s date as the start date and the future date as the end date to count the days until it, such as a holiday, exam or deadline. To count the days since something happened, put that date first and today second. The result also shows the gap in weeks and months and how many of the days are weekdays.
How are the days between two dates counted?
By subtracting one calendar date from the other. From 1 January to 31 January is 30 days. Choose “Count the end date too” if you want both the first and last day included, which gives 31.
Should I include the end date?
It depends on the question. For how long until an event, do not include it. For how many days an event or a booking covers, such as a hotel stay counted by days or a project that runs through a final day, include it.
How are weekdays counted?
Monday to Friday are counted and Saturday and Sunday are not. Public holidays are not removed, because they differ by country and year. Subtract them yourself if you need working days.
Does it handle leap years?
Yes. All counting uses real calendar dates, so 29 February is included when it falls in the range.
Can I count back from a later date to an earlier one?
Yes. If the end date is before the start date the calculator measures the same gap and tells you the dates are in reverse order.
Embed this calculator
Cite this calculator
Days Between Dates Calculator. CalculatorLab. https://calculatorlab.site/calculators/days-between-dates-calculator/. Last updated . Accessed .