Date Difference Calculator

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

Save

Inputs

Your values stay on this device.

Results

Total Days
Total Weeks4 wks, 2 days
Y / M / D Breakdown0y 1m 0d

Report

Export and share

Document

Copy and share

Assumptions

  • The calculator uses Gregorian calendar dates and includes leap-year effects automatically.
  • The total-day result measures the time between dates, not an inclusive count of both endpoints.
  • When the end date is earlier than the start date, the tool returns a negative day span with limited detail output.

Sensitivity preview

No numeric sensitivity scenarios are available.

Related Tools

View All

About this Date Difference

Whether you are counting down to a vacation, tracking a project deadline, or calculating how long you've been working at a job, this calculator finds the exact time span between two calendar dates.

Who this calculator is for

  • Anyone measuring time between two calendar dates for planning, reporting, or personal milestones.
  • Users who need both a simple day count and a more human-friendly year-month-day breakdown.
  • People checking deadlines, anniversaries, waiting periods, or elapsed time since an event.

When to use it

  • Calculate total days between two dates for contracts, countdowns, and eligibility periods.
  • Break a long span into years, months, and days for resumes, anniversaries, or tenure tracking.
  • Compare date ranges before moving on to business-day, age, or add-date calculations.

How to use this calculator

  1. Enter the Start Date.
  2. Enter the End Date.
  3. The result shows the duration in Total Days, Weeks, and a Year/Month/Day breakdown.

Key assumptions

  • The calculator uses Gregorian calendar dates and includes leap-year effects automatically.
  • The total-day result measures the time between dates, not an inclusive count of both endpoints.
  • When the end date is earlier than the start date, the tool returns a negative day span with limited detail output.

Accuracy and testing

Review formula sources, default test cases, assumptions, unit handling, rounding rules, and changelog for this calculator.

View accuracy page

How this calculator works

The calculator computes the difference in milliseconds between the two dates and converts it into standard time units. It accounts for varying days in months and leap years.

Inputs explained

Start Date

The beginning of the period.

End Date

The end of the period. If this is before the Start Date, the result will indicate a negative duration.

Understanding your results

Total Days shows the straight day difference between the start date and end date. Y/M/D Breakdown gives a more human-readable view of that same elapsed span.

Example scenarios

Project Timeline

Start: Jan 1. End: March 1. Duration: 59 Days (or 8 weeks, 3 days).

One Year

Jan 1, 2023 to Jan 1, 2024. Duration: 365 Days (1 Year).

Key Features

  • Total Day Count
  • Week Breakdown
  • Full Date Detail

Tips & Best Practices

  • Use this to check 90-day probationary periods or warranty expirations.
  • If you need to count both the start date and end date as full included days, add 1 to the total-days result.

Glossary of Terms

Duration
The length of time that something continues.
Gregorian Calendar
The calendar system used by most of the world today.

Frequently Asked Questions

Is the end date included in the count?
Standard date difference calculations measure the time *between* dates. For example, Jan 1 to Jan 2 is 1 day. If you want to include both days (e.g., for leave requests), add 1 to the result.
How are leap years handled?
The calculator correctly identifies Feb 29th in leap years and includes it in the day count.
Can I calculate time between historical dates?
Yes, you can enter dates from past centuries, though accuracy depends on the calendar system used historically (Julian vs Gregorian switch).