Date Difference Calculator
Count the days between two dates, or add and subtract days, weeks, months and years
About the Date Difference Calculator
How many days until a deadline, how long a contract has run, how many working days are in a notice period — this date calculator answers all of them. Enter two dates to get the exact gap in years, months and days, the total number of days, weeks, hours and minutes, and how many of those days are weekdays or weekend days. Switch to Add / subtract to find the date a set number of days, weeks, months or years before or after any date, such as a due date 90 days from today.
Common Uses
- Days until a birthday, exam, holiday or event
- Notice periods, contract lengths and project timelines
- Payment due dates (e.g. 30, 60 or 90 days from an invoice)
- Working days available to finish a task
- How long ago something happened
How the Count Works
The total is the number of midnights between the two dates, so 1 March to 2 March is 1 day. Tick “Include end date” to count both days (2 days). Leap days are included automatically. Working days count Monday to Friday; public holidays are not removed because they differ by country and region.
Frequently Asked Questions
How do I count the days between two dates?
Enter a start date and an end date. The calculator counts every calendar day between them, including leap days. Tick “Include end date” if you want to count both the first and last day, for example when counting days of a holiday or contract.
How are working days calculated?
Working days are Monday to Friday. Saturdays and Sundays are excluded. Public holidays vary by country and are not removed, so subtract any holidays that fall in the period.
How are months counted when months have different lengths?
Full months are counted from the start day to the same day in later months. Any remaining days are shown separately. For example, 31 January to 28 February is 28 days rather than one full month, because there is no 31 February.
What happens when I add a month to 31 January?
There is no 31 February, so the result is moved back to the last day of February (28th, or 29th in a leap year). This matches how most banks and contracts handle month-end dates.
How many days are there in a year?
A common year has 365 days and a leap year has 366. Leap years are divisible by 4, except century years, which must be divisible by 400 (so 2000 was a leap year but 1900 was not).