Skip to content
CalcMyWay

Date Difference Calculator

Count the days, weeks, months and years between two dates, including an exact working-day count that skips weekends.

Last reviewed

Your details

Turn this on when counting something like days of leave, where both ends count.

Result

Total days

365
Working days (Mon–Fri)
261
Calendar breakdown
1 year
Weeks
52.14
Whole months
12
Whole years
1
  • The working-day count excludes Saturdays and Sundays but not public holidays, which vary by country.

The formula

days = end_date − start_date

Dates are compared at calendar-day granularity in UTC, so daylight-saving transitions cannot shift a result by a day. Leap years are handled by the calendar arithmetic itself rather than by assuming 365-day years. 'Whole months' counts completed calendar months, so 31 January to 1 March is one whole month, not two.

Frequently asked questions

Should I count both the start and end date?

It depends what you are counting. For 'how many days until' an event, count only one end — from 1 March to 3 March is 2 days away. For something like booked leave or a hotel stay where both days are consumed, count both, giving 3 days. The toggle above switches between the two.

Are public holidays excluded from the working-day count?

No. The count excludes only Saturdays and Sundays, because public holidays differ by country, state and sometimes by employer. If you need an exact figure for a contractual deadline, subtract the holidays that fall inside the range yourself.

How are leap years handled?

Automatically and exactly. The calculation uses real calendar arithmetic rather than multiplying by 365, so any 29 February inside the range is counted. This is why a 'one year' difference is sometimes 365 days and sometimes 366.