Skip to content
EASE+ ToolsEASE+ Tools

Date Difference Calculator

Find the days, weeks and months between two dates.

Inputs

Example
Count the end date as a full day

Result

Total days
30
Weeks and days
4 weeks, 2 days
Years, months and days
0 years, 0 months, 30 days

About this tool

Count the days between two dates for notice periods, contracts, invoices, project plans or ages. The result is shown as total days, as weeks and days, and as years, months and days, which is how contracts and ages are usually stated.

  1. Enter the start and end dates.
  2. Turn on 'Count the end date' if the last day should count, as for a booking that includes both days.
  3. Read the difference in days, weeks and calendar months.

Formula

Total days = end date − start date, plus one if the end date is counted. Weeks = total days ÷ 7, with the remainder in days. Years, months and days are counted on the calendar, borrowing the length of the previous month when needed.

Worked example

From 1 January 2027 to 31 January 2027, without counting the end date, is 30 days: 4 weeks and 2 days.

Assumptions and limits

  • Counts calendar days in UTC; time of day and time zones are ignored.
  • If the end date is before the start date, the result is negative and labelled as counting backwards.
  • Working days are not excluded; use the Working Days Calculator for that.

Questions

Should I count the end date?

Count it when both days are included, such as a hotel stay or a leave application covering both dates. Leave it off for elapsed time.

Why do months vary in length?

Calendar months have 28 to 31 days, so the years, months and days figure follows the actual calendar.

Does it handle leap years?

Yes. 29 February is counted in leap years.