Skip to main content

Calculators

Date Difference Calculator

Calculate the number of days between two dates. Free online calculator — no sign-up required.

See how to use this tool

Date Difference Calculator

Elapsed days = end date - start date in UTC calendar days.

Result

Total days

364

Weeks and days52w 0d
Inclusive days365
Start dateJanuary 1, 2026
End dateDecember 31, 2026

About Date Difference Calculator

The date difference calculator returns the exact span between two calendar dates: total days, plus a breakdown into years, months, and days, and the count of weekdays and weekend days in the interval. Enter a start and end date and every figure updates at once.

It is the tool for project planning ('how many days from kickoff to launch?'), contract durations, age-of-invoice tracking, and any situation where 'about three months' isn't precise enough.

Formula

Δdays = End date − Start date (in calendar days, inclusive optional)

Convert both dates to a day count from a fixed epoch (the proleptic Gregorian convention) and subtract. The years/months/days breakdown performs a calendar-aware subtraction that borrows months when the end day is earlier than the start day.

How to use it

  1. 1Enter the start date.
  2. 2Enter the end date.
  3. 3Toggle 'include end date' if you want an inclusive count.
  4. 4Read total days, the year/month/day breakdown, and weekday/weekend counts.

When to use it

  • ✓Counting days between project kickoff and launch.
  • ✓Measuring contract or warranty duration precisely.
  • ✓Tracking invoice aging in days.
  • ✓Planning a trip and counting weekdays vs weekend days.

Features

  • •Returns total days plus year/month/day breakdown.
  • •Counts weekdays and weekend days in the interval.
  • •Optional inclusive end-date counting.

Related tools

FAQ

How many days are between two dates?

Subtract the earlier date from the later date. The number of calendar days is the difference; add 1 if you want to count both endpoints.

Does the count include the start and end dates?

By default it counts the elapsed days between the two dates (exclusive of the end date). Toggle 'include end date' to add the final day back.

How are weekdays and weekends counted?

Each calendar day in the interval is classified by its day of week: Monday–Friday count as weekdays, Saturday and Sunday as weekend days, then summed.

Does it handle leap years and month lengths?

Yes. The calculation uses the real Gregorian calendar, so February has 28 or 29 days and months have their true lengths.

Can the start date be after the end date?

Yes. The tool swaps them internally and still reports a positive span, so order doesn't matter for the result.