How do you count the days between two dates?
Convert each date to a day number and subtract. The start date is not counted unless you tick "Count the end date too", which adds one day (as in a hotel stay counted by days rather than nights).
Worked example
1 January 2026 to 31 December 2026: 364 days. Counting both ends: 365 days, which is the full length of 2026. That is 52 weeks and 0 days, or 8,736 hours.
How long is a span in other units?
| Unit | 1 January 2026 to 31 December 2026 |
|---|---|
| Days | 364 |
| Days, both ends counted | 365 |
| Weeks and days | 52 weeks 0 days |
| Years, months, days | 0 y 11 m 30 d |
| Hours | 8,736 |
| Minutes | 524,160 |
What assumptions does it make?
- Whole calendar days; clock times and daylight-saving changes are not part of the count.
- If the end date is before the start date the result is negative. For business days only, use the working days calculator.
Questions people ask
How many days are there from 1 January 2026 to 31 December 2026?
364 days, or 365 if both the first and the last day are counted.
Do the days between dates include the start or end date?
By default neither end is added: the count is end minus start. Tick the option to count the end date as well, which adds one day.
How do I find the number of weeks between two dates?
Divide the days by 7. 364 days is 52 weeks and 0 days (52 weeks).
Does it handle leap years?
Yes. 29 February is a normal calendar day in the count, so spans across a leap day include it.
What if the second date is earlier?
The calculator returns a negative number of days, meaning the end date is before the start date.
Sources
Related calculators
- Age calculator: Exact age in years, months and days, and days to the next birthday
- Date calculator: add or subtract: Add or subtract days, weeks, months or years from a date
- Days until calculator: How many days until a date or an annual event
- Countdown calculator: A live countdown to a date and time
- Working days calculator: Business days between two dates, with your weekend and holidays
- Week number calculator: ISO week number, day of the year and week dates
- Time duration calculator: Hours and minutes between two times, or add times together
- Hours calculator (timesheet): Weekly hours, overtime and pay from your start and end times
Published by wiseowlcalc · Last updated · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy).
Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.