Date Difference Calculator
Work out exactly how far apart two dates are. Pick a start and end date to see the total days and weeks, the number of business days, and the gap broken down into years, months and days.
How to calculate the difference between two dates
- Choose the start date.
- Choose the end date.
- Read the total days, weeks, business days and the years, months and days breakdown.
Examples
A full calendar year
Start 2024-01-01, end 2024-12-31
365 days, 52 weeks, 0 years 11 months 30 days
One working week
Start 2024-01-01, end 2024-01-08
7 days, 1 week, 6 business days
Frequently asked questions
Does the total count the start date, the end date, or both?
The total days figure is exclusive: it counts the gap between the two dates, so the same date entered twice is zero days. Business days work differently and count inclusively (see below), so they include both ends.
How are business days counted?
Business days are Monday to Friday, counted inclusively across both the start and end dates. Weekends are skipped. Public holidays are not removed, so adjust manually if your calendar observes them.
Why does the months figure sometimes look off?
Months and years are calendar based, and months have different lengths. The breakdown subtracts whole years and whole months first, then shows the leftover days, so a span like 31 days can read as one month or as one month and a few days depending on which months it crosses.
Does it handle leap years correctly?
Yes. The calculator uses real calendar dates, so February 29 in a leap year is included and a leap year is treated as 366 days. The day count between two dates reflects any leap days in between.
Does the order of the dates matter?
No. The earlier date is always treated as the start, so swapping the start and end gives the same totals. Every result is reported as a positive number.
Is my data sent anywhere?
No. The calculation runs entirely in your browser. The dates you enter never leave your device.
Related tools
Age Calculator
Calculate your exact age in years, months and days from your date of birth. See your age in total days, weeks and months too. Free and private.
Business Days Calculator
Count working days between two dates or add business days to a date. Skips weekends and any holidays you list. Inclusive counting, instant results.
Countdown Timer
Free live countdown timer to any date and time. Set a target and watch the days, hours, minutes and seconds tick down in real time.
Date Add/Subtract Calculator
Add or subtract years, months, weeks and days from any date. Get the exact result date and weekday, with smart end-of-month clamping.
Days Until Date Calculator
Count the days until any date. Enter a target date to see how many days, weeks, months and business days are left, with a from date that defaults to today.
Epoch Batch Converter
Convert many Unix epoch timestamps to UTC dates, or dates to epochs, in one paste. Handles seconds and milliseconds, flags bad lines, exports CSV.