Date Difference Calculator
Pick a start date and an end date to see how many days lie between them, shown as days, as weeks and days, and as years, months and days.
How to use this calculator
- Enter the Start date and the End date.
- Check Include end date (+1 day) to count both the start and end days. Leave it unchecked for the plain gap between the two dates.
- Read the total in days, the weeks and remaining days, and the years, months and days breakdown.
If the end date is earlier than the start date, the calculator shows the absolute difference and adds a note.
How it works
Both dates are converted to a day count and subtracted. The weeks figure is the total divided by 7, rounded down, and the remaining days are the leftover. The years, months and days breakdown adds whole months to the start date, with the day capped at the last day of the month when needed.
Total days = end date − start date (add 1 if Include end date is ticked)
Weeks = total days ÷ 7, rounded down. Remaining days = total days − (weeks × 7)
Example: January 1 to December 25, 2026 is 358 days, or 51 weeks and 1 day. The breakdown is 11 months and 24 days. Checking Include end date makes it 359 days.
Need only weekdays? The Working Days Calculator skips weekends and can subtract holidays.
FAQ
Does the result include the start date?
By default the result is the plain gap between the two dates. For January 1 to January 2, that is 1 day. Check Include end date to count both days, which gives 2.
What happens if the end date is before the start date?
The calculator still shows a positive result, the absolute difference, and adds a note explaining that the end date is before the start date.
How do I count only working days?
Use the Working Days Calculator. It counts Monday to Friday only and can subtract a number of holidays you enter.