Days between two dates calculator
Enter two dates and we tell you how many days lie between them, broken down into weeks, spare days and hours.
Your figures
Result
- In weeks
- 52.00
- Whole weeks
- 52
- Spare days
- 0
- In hours
- 8,736
- The start date falls on a
- Thursday
- The end date falls on a
- Thursday
What we assume
- Calendar days are counted: weekends and public holidays are included.
- By default the end day is not counted. From 1 to 2 January there is 1 day.
- Everything is worked out in UTC, so daylight saving changes never shift the answer.
How it is calculated
The difference comes from converting both dates to absolute day numbers and subtracting. It is exact: leap years and months of different lengths are handled without any approximation.
The usual question is whether the end day counts. It depends what you need it for:
- Without the end day for deadlines and due dates: 1 to 2 January is 1 day.
- With the end day for holidays and stays: 1 to 2 January is 2 days.
If what you need is to skip weekends and public holidays, use the working days calculator.
An example
From 1 January 2026 to 31 December 2026 there are 364 days, exactly 52 weeks. Tick the box to count the end day and you get 365: the full year.
Frequently asked questions
Does the end day count?
Not by default. From 1 to 2 January it returns 1 day. Tick the box and it returns 2.
Does it handle leap years?
Yes. Between 1 January 2024 and 1 January 2025 there are 366 days, because 2024 was a leap year.
Can the end date be before the start date?
Yes. We return the difference as an absolute value and warn you that the dates are the wrong way round.
Keep calculating
All tools →- Difference between two dates in years, months and days Rather than counting loose days, this gives you the difference the way you would say it out loud: "2 years, 3 months and 5 days".
- Working days between two dates Count only the real working days between two dates: weekends come out, and public holidays too if you want them to.
- Add or subtract days from a date Give me a date and how many days to add or subtract. Count every day, or working days only.
- Exact age calculator Enter a date of birth and we work out the exact age in years, months and days, plus how long is left until the next birthday.
- Work hours calculator With your start time, finish time and break, we work out the effective day and what it adds up to over a week, a month and a year.
- Week number of the year Which week of the year a date falls in, under ISO 8601, which is the standard businesses use and does not always match what you would guess.
Updated on 2026-08-26. Calculations run in your browser; nothing you type is sent to a server.