Date Difference Calculator
Count the days, weeks, months and years between two dates, including an exact working-day count that skips weekends.
Your details
Turn this on when counting something like days of leave, where both ends count.
Result
Total days
- 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_dateDates 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.
Related calculators
Mortgage Payment
Work out your monthly mortgage payment including taxes, insurance and PMI, then see exactly how much interest you will pay over the life of the loan.
Compound Interest
See what your savings grow into once interest starts earning interest, with regular contributions and any compounding frequency.
BMI
Work out your body mass index in metric or imperial units, see which WHO category it falls in, and find the weight range that would put you in the healthy band.
Percentage
Answer all four of the common percentage questions — what is X% of Y, X is what percent of Y, percentage increase or decrease, and the original value before a change.
Length
Convert between millimetres, centimetres, metres, kilometres, inches, feet, yards, miles and nautical miles using exact conversion factors.
Profit Margin
Turn cost and revenue into gross margin, markup and profit per unit — and work backwards from a target margin to the price you need to charge.