Date Difference Calculator
Calculate the exact difference between two dates in years, months, and days.
How the Date Difference Calculator works
Use the Date Difference Calculator to find the duration between any two dates. You can determine the number of days, months, and years that separate them.
First, enter the 'Start date'. This is the earlier of the two dates you want to compare. Use the calendar picker to select the day, month, and year.
Next, enter the 'End date'. This is the later date. Again, use the calendar picker to select the specific day, month, and year.
The calculator will then display the total number of days between the two dates. It will also show the duration broken down into years, months, and remaining days.
Formula used
difference = end date − start date (calendar-accurate)
| Symbol | Meaning |
|---|---|
| start date | the earlier date |
| end date | the later date |
Returns both the calendar breakdown and the raw day count. Handy for notice periods, project timelines, visa stay calculations and interest-day counting.
Inputs used: Start date, End date.
Worked example
Here is an example using specific dates to calculate the difference.
- You want to find the duration between January 15, 2023, and March 10, 2024.
- Enter '2023-01-15' into the 'Start date' field.
- Enter '2024-03-10' into the 'End date' field. The calculator shows a difference of 1 year, 1 month, and 25 days, totaling 420 days.
Result:
- Total days: 366
- Years: 1
- Months: 0
- Days: 0
Frequently asked questions
- How do you calculate the number of days between two dates?
- This tool calculates the exact number of calendar days between your chosen start and end dates. It accounts for leap years automatically.
- Can this calculator find age?
- Yes, you can use this tool to calculate age by entering a birth date as the 'Start date' and the current date as the 'End date'.
- Does the date difference calculator include the end date?
- The calculator determines the number of full days between the two selected dates. It counts the days up to, but not including, the end date itself.
- What formula does the Date Difference Calculator use?
- It uses difference = end date − start date (calendar-accurate), where start date is the the earlier date; end date is the the later date.
- How do I read the result?
- Returns both the calendar breakdown and the raw day count. Handy for notice periods, project timelines, visa stay calculations and interest-day counting.