The formula
Days = end date − start date (+1 if the end date is included)
Calendar difference: count whole years, then whole months, then remaining days
Weeks = ⌊days ÷ 7⌋ remainder days
Weekdays = days falling Monday to Friday
Worked example
- From 26 November 2026 to 1 January 2027:
- That's 36 days, or 1 month and 6 days, or 5 weeks and 1 day.
- Of those days, 26 are weekdays and 10 fall on weekends.
- Counting the end date as well gives 37 days.
Counting days between dates
Working out the number of days between two dates by hand is surprisingly error-prone: months have different lengths, leap years add a day every four years (with exceptions for century years not divisible by 400), and it's easy to be out by one depending on whether you count the start and end dates. This calculator counts exact calendar days and shows the result in several forms, so you can plan deadlines, countdowns, project timelines, notice periods, rental agreements and anniversaries with confidence.
Inclusive and exclusive counts
By default, the calculator gives the difference between the dates, the way you'd count nights in a hotel: from Monday to Wednesday is two days. Some situations count both the first and last day, for example a holiday from Monday to Wednesday is three days of leave, and many legal and contractual periods specify whether the end date is included. Choose "include the end date" to add one day. Always check the wording of a contract or official deadline, because "within 30 days" and "by the 30th day" can be interpreted differently.
Years, months and days
The years-months-days figure counts whole calendar years first, then whole months, then the remaining days, which matches how people describe ages and durations. Because months vary from 28 to 31 days, the same number of days can be a different number of months depending on the start date: 31 January to 28 February is 28 days but counts as 0 months and 28 days, while 1 February to 1 March is exactly one month. For ages, use our age calculator.
Weekdays and weekends
The calculator also splits the period into weekdays and weekend days. This is a quick way to estimate working time, though it doesn't remove public holidays. For working days that exclude holidays, or to find the date a set number of business days ahead, such as a delivery or payment deadline, use our business days calculator, which includes US, UK, Canadian and Australian public holidays and lets you add your own days off.
Countdowns and planning
Set the start date to today to count down to an event: a holiday, a wedding, a due date or the end of a contract. Our pregnancy due date calculator works out key pregnancy milestones, and the wedding budget calculator helps plan the costs. For financial periods, interest is often calculated on the exact number of days, so the total day count is useful with our simple interest calculator.
Quick reference: common periods
A standard year has 365 days, or 52 weeks and 1 day, and a leap year 366 days. An average Gregorian month is 30.44 days. Ninety days, a common notice or visa period, is just under three months, and 180 days is about six months. A quarter is about 91 days. If you need to know a date a set number of days ahead, enter today as the start, try an end date and adjust until the total matches, or use the business days calculator's add mode for working days.
Time zones and leap years
The calculator works with calendar dates in your local time, so daylight saving changes don't affect the day count. Leap years are handled automatically: 2028 is a leap year with 29 February, while 2100 will not be, because century years must be divisible by 400 to be leap years. For differences in hours across time zones, use our time zone converter, and to convert dates into other calendars, try the calendar converter.