Date calculator

Find the number of days between two dates, or the date a given number of days before or after a date. For example, 1 January to 31 December 2026 is 364 days, or 365 days if the end date is included.

Enter the details (current step)

What do you want to calculate?

Result

Please complete the details. The result will appear here.

How it is calculated

  1. Days are counted on the Gregorian calendar. February has 28 days, or 29 days in a leap year. A year is a leap year if it can be divided by 4 but not by 100, or if it can be divided by 400.
  2. Days between the dates = end date − start date, so the start date itself is not counted. If both dates are counted, 1 day is added.
  3. In years, months and days, full months are counted first. If a month does not have the same day, the last day of that month is used; for example, one month after 31 January is 28 February. Full months are then shown as years and months, and the rest as days.
  4. Monday to Friday excludes only Saturdays and Sundays. Public holidays are not deducted.
  5. When adding or subtracting days, 1 day after a date is the next day, and 1 day before a date is the previous day.
  6. All calculations are done in your browser. The details you enter are not sent to any server.

Worked examples

Number of days in 2026, counting both dates

Details
From January 1, 2026 to December 31, 2026, counting both dates.
Result
365 days, of which 261 are Monday to Friday

28 February to 1 March in a leap year

Details
From February 28, 2028 to March 1, 2028, not counting the start date.
Result
2 days, of which 2 are Monday to Friday

100 days after 26 October 2026

Details
100 days after October 26, 2026.
Result
Wednesday, February 3, 2027