Find your calculator

Use arrow keys, Enter to open, Escape to close.

Browse the full directory
Date & Time / Free online tool

Date Difference Calculator

Count days and weeks between two calendar dates.

Your inputs

More options & settings
Try a worked example

February 1 to March 1,2024 spans 29 days, excluding the end.

Calculated in your browser. Your inputs stay on this device.

Starting values are examples. First click or keyboard focus clears an example so you can enter yours. Reset restores the examples.

Your result

Enter your values to calculate.

Compare scenarios

Keep up to three results and their inputs during this visit. Reset clears the comparison.

Behind the answer

Calendar components use real month lengths; day count = UTC end − UTC start (+1 if inclusive).

How to use this calculator

Compare dates with calendar years, months, weeks and days, or add/subtract a calendar interval. Year/month offsets clamp to the target month’s last day, then week/day offsets apply. Working-day offsets skip your selected weekend and explicit holiday dates.

  1. Enter date task, start date, end date and review the remaining options.
  2. Select Calculate or change a value to update the result. Read the result label and units before copying.
  3. Use Reset to restore the worked starting values.

Formula and method

Calendar components use real month lengths; day count = UTC end − UTC start (+1 if inclusive).

Gregorian dates, years 0001–9999. Date-only UTC arithmetic. Optional US holiday pattern supports 2021–2099, projects current rules, and excludes DC-only Inauguration Day. Future law changes and employer-specific observances are not predicted. Working-day offsets are limited to 36,600 days.

Worked example

January 1 to February 1, 2024 is 31 days excluding the end date.

Questions about date difference calculator

Does inclusive counting change the result?

Yes. January 1 to January 2 has one elapsed calendar day. Including both dates counts two dates. The tool gives days and full weeks; it does not treat every month as a fixed number of days.

What assumptions should I check?

Gregorian dates, years 0001–9999. Date-only UTC arithmetic. Optional US holiday pattern supports 2021–2099, projects current rules, and excludes DC-only Inauguration Day. Future law changes and employer-specific observances are not predicted. Working-day offsets are limited to 36,600 days.

Are my inputs saved?

Calculations run in your browser. We store only tool IDs for favorites and recent tools. A calculation link contains your inputs only when you explicitly choose to copy one.