Design Drifter

Find a tool

All Tools

Date Difference

Calculate the number of years, months and days between two dates.

Time

Processed locally. Your input never leaves your browser.

Total Days

—

Years

—

Months

—

Days

—

About

Calculates the number of days, and the years/months/days breakdown, between two dates. "Include end date" counts the end date itself as part of the range.

Find the exact span between any two calendar dates without manual counting. This date difference calculator shows the total day count alongside a clean years, months, and days breakdown, accounting for leap years and varying month lengths automatically.

What you can do

  • Displays total days as well as a calendar years, months, and days breakdown.
  • Includes an optional toggle to count the end date inclusively.
  • Handles leap years and different month lengths accurately in your browser.

Common uses

  • Count the days until a project deadline, trip, or milestone event.
  • Calculate contract lengths, rental periods, or leave durations.
  • Find the exact age or tenure between two calendar dates.

Frequently asked questions

What does "Include end date" do?

Enabling this option adds 1 day to the total so both the start date and end date are counted, which is helpful for event lengths or vacation days.

Does the calculator account for leap years?

Yes. Calendar dates and February 29 in leap years are handled automatically when calculating both total days and the years/months/days breakdown.

Related Tools