Free Online ToolsMFXGJ

Date Difference Calculator

How long between a start and an end date — for a project, a lease, or a countdown? Enter both dates to get the span as years, months and days, plus total days, weeks, and the number of weekdays in between.

How to use the Date Difference Calculator

  1. Enter the start date.
  2. Enter the end date (order does not matter).
  3. Optionally include the end date itself in the day count, then calculate.

Formula and method

The breakdown subtracts calendar years, then months, then days, borrowing month lengths from the real calendar. Total days is the exact difference between the two dates at midnight.

Example

From 1 January 2026 to 31 December 2026 is 364 days (365 if you include the end date). Use the “Load example” button above to try it with the sample inputs.

Frequently asked questions

Why is the total one less than I expected?

A difference counts the steps between dates, not the dates themselves. Turn on “include end date” to count both endpoints, as many countdowns do.

How are weekdays counted?

Weekdays (Mon–Fri) strictly between the start and end dates, which suits leave and deadline planning.

Related tools