Counting the days between two dates
The calculator turns each date into a day number and subtracts one from the other. With the end day left out, the answer is the number of midnights crossed: Monday to Wednesday is 2 days. That is the right count for nights in a hotel or a notice period ending on a given date (for an age, use the age calculator). With the end day counted, one day is added, so Monday to Wednesday becomes 3 days, which suits a holiday or an event that spans both dates.
Leap years are handled by the calendar itself: any span that crosses 29 February 2028 is one day longer than the same span a year earlier. Clock changes for summer time are ignored, because only dates are compared, never times of day.
days = end date − start date (+ 1 when the end day is counted)
Weeks, months and years
Weeks and days is the total divided by seven, with the remainder shown as days. Years, months and days counts whole calendar months on from the start date, then the days left over. Months run from 28 to 31 days, so the same number of days can be a month and a bit at one time of year and just under a month at another. Where the start day doesn't exist in a month, as with 31 January in February, that month's anniversary is taken as its last day, so 31 January to 1 March 2026 comes out as 1 month and 1 day.
Weekdays and public holidays
The weekday count includes every Monday to Friday in the period and skips Saturdays and Sundays. It does not know about public holidays, which differ by country, state and year, so take those off yourself: a period containing Christmas Day and New Year's Day on weekdays has two working days fewer.
Some legal deadlines count business days or leave out the day of the event, so if money or a deadline depends on the count, read the exact wording of the rule. To find the date a given number of days after another, use the date calculator.
Worked examples
Example 1
From 2 March to 18 December 2026
Counting month by month, 2 March to 2 December is 9 months, and 2 to 18 December adds 16 days, so the calendar answer is 9 months and 16 days. In plain days it is the 29 days left in March, 244 days for April to November (30 + 31 + 30 + 31 + 31 + 30 + 31 + 30) and 18 in December: 291 days in all, or 41 weeks and 4 days.
2 March 2026 is a Monday, so the 41 full weeks contain 205 weekdays and the four days left over, Monday to Thursday, add 4 more. That makes 209 weekdays before any public holidays are taken off.
Example 2
A holiday from 10 to 24 July 2026, both days counted
Without the end day, 10 to 24 July is 14 days. A holiday that starts on the 10th and ends on the 24th uses both, so set the end day to be counted and the answer becomes 15 days: 2 weeks and 1 day. 10 July 2026 is a Friday, so those 15 days contain 11 weekdays, which is the number of days of leave to book if you work Monday to Friday and no public holiday falls in that fortnight.
Questions people ask
Why does someone else get a different number?
Almost always because one count includes the end day and the other doesn't. Decide whether both the first and last days should count: hotel stays don't count the morning you leave, but days of annual leave usually include the first and the last.
How many days are there in a year?
365 in a common year and 366 in a leap year. A year is a leap year if it divides by 4, except century years, which must also divide by 400: 2000 was a leap year and 2100 will not be. Over the full 400-year cycle the average year is 365.2425 days long.
Does it work for historical dates?
It uses the Gregorian calendar for every date, including dates before a country adopted it. Britain and its colonies switched in 1752, for example, so dates written down before then may be 11 days out from the calendar used here.