Date Difference Calculator
Enter two dates and get the calendar difference in years, months and days, together with total days, weeks and the number of weekdays.
Processed locally in your browser· Your data stays in your browser.
What is Date Difference Calculator?
The difference between two calendar dates can be expressed in two ways: as a calendar span (years, months, days) or as a plain number of days. This calculator gives both, along with weeks plus remaining days and the count of Monday to Friday weekdays.
The calendar span is computed by adding whole months to the earlier date, clamping to the end of a shorter month, then counting the remaining days: from 31 January 2024 to 1 March 2025 it is 1 year, 1 month and 1 day. Any time-of-day in the input is ignored, and an option counts the end date too.
How does it work?
- Enter the start date and the end date, for example 2024-01-31 and 2025-03-01.
- Set the numeric date order if you use dates like 03/04/2024.
- Tick "inclusive" to count the end date as a full day, and keep the weekday count enabled if you need working days.
- Read the years/months/days, total days, weeks and weekdays.
Common use cases
- Calculating the length of a contract, a project or a notice period in days.
- Working out age or seniority in years, months and days.
- Estimating the number of Monday-to-Friday days available before a deadline.
- Counting days between two invoices or between an order and a delivery.
Examples
Try this input in the tool above:
2024-01-31 --- 2025-03-01
1 year, 1 month, and 1 day (395)
Privacy
Date Difference Calculator runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.
Limitations
Weekdays are Monday to Friday only: public holidays and regional weekends are not considered, and month lengths follow the Gregorian calendar.
Frequently asked questions
How are months counted when the start day is the 31st?
Whole months are added to the start date and clamped to the last day of the target month. From 31 January, one month reaches 29 February 2024 (or 28 in other years), and remaining days are counted from there.
What does the inclusive option change?
It counts the end date as a full day, so the totals grow by one day. It suits contract periods where both first and last day are included.
Does it use the time of day?
No, only the date part is used. For exact hours and minutes use the time difference calculator.
Related tools
Time Difference Calculator
Enter a start and an end date-time and get the exact elapsed time, broken down into days, hours, minutes and seconds and as totals.
Date & Time
Add or Subtract Days from a Date
Pick a start date, choose add or subtract, an amount and a unit, and get the resulting date with its weekday.
Date & Time
Duration Converter
Type a duration in whatever style you have and see it in every unit, as an ISO 8601 duration and as a readable sentence.
Date & Time
Date to Timestamp Converter
Type a date in almost any common format, choose the zone it is written in, and get the Unix timestamp in seconds and milliseconds.
Date & Time
Unix Timestamp Converter
Paste an epoch value or a date and get every common representation at once: seconds, milliseconds, ISO 8601, RFC 2822, local time and relative time.
Date & Time
Timestamp to Date Converter
Paste a column of epoch values from a log or a database export and get one readable date per line, plus a table with the detected unit.
Date & Time
Subtract Days from Date
Enter a date and an amount to find the earlier date: 30 days ago, 6 weeks before a deadline, or 10 business days back.
Date & Time