Tool Base

Calculators & Converters

Date Difference Calculator

Compare a start date and end date with calendar-aware years, months, and days. Optional inclusive mode adds one day to the total day count.

Loading calculator…

How Date Difference Works

  1. Step 1

    Enter start date

    Provide the values or units for this calculation.

  2. Step 2

    Enter end date

    The result updates as you change inputs.

  3. Step 3

    Review the difference

    Copy the result or reset to start again.

Date Calculation Details

  • Years, months, and days
  • Total days and weeks
  • Inclusive day-count option
  • Leap-year aware
  • Explicit date controls

Supported Modes

Input formats

  • Start date
  • End date

Output formats

  • Years/months/days
  • Total days

Supported formats

  • Dates

Examples

Same calendar month

Calendar subtraction between the two dates

Input

2024-01-01 to 2024-01-31

Output

0 years, 0 months, 30 days (30 total days exclusive)

Leap day span

2024 is a leap year, so Feb 29 is included in the day count.

Input

2024-02-28 to 2024-03-01

Output

0 years, 0 months, 2 days (2 total days)

Frequently Asked Questions

Does every month count as 30 days?

No. Years/months/days use calendar-aware subtraction that respects different month lengths and leap years.

What does inclusive mode do?

Inclusive mode adds one day to the total days count so both endpoints are counted in the span.

Explore related Tool Base utilities that pair well with Date Difference Calculator.

Browse all tools

Need another utility?

Browse related tools or explore the full Tool Base directory.