Find the exact number of days, months and years between any two dates.
The date difference calculator takes any two calendar dates and works out exactly how far apart they are. Instead of counting on your fingers or scrolling through a paper calendar, you get an instant, precise breakdown: the raw number of days between the dates, the same span expressed as years, months and days, the total in weeks and hours, and a separate count of weekdays only, useful for anything measured in working time rather than calendar time. Every calculation happens directly in your browser using plain JavaScript date arithmetic, so nothing you type is ever sent to a server.
Counting days between two dates sounds trivial until you try it by hand. Months have different lengths, leap years add an extra day in February, and the naive approach of just subtracting years and months breaks down whenever the day-of-month numbers don't line up cleanly. This tool resolves that by first computing the raw millisecond difference between the two dates (which is unambiguous) and separately deriving a human-friendly years/months/days breakdown by borrowing from the previous month exactly the way you would if you were counting by hand, so the two views always agree with each other.
People reach for a date difference calculator for very different reasons: contract and lease terms that run from one specific date to another, calculating someone's exact time in a job or relationship, figuring out how many days are left on a warranty, estimating gestational age, or simply settling an argument about how long ago something happened. Project managers use it to sanity-check timeline estimates, and HR teams use the weekdays-only figure to estimate paid time off accrual or notice periods that exclude weekends.
The big number at the top is the total number of calendar days between your two dates, always calculated as a positive number regardless of which date you entered first. Below it, the years/months/days row gives the same span in the format most people actually think in — for example 2 years, 3 months, 14 days. The weeks and hours figures are simple conversions of the total day count, while the weekday-only figure walks through every day in the range and skips Saturdays and Sundays, which is handy for anything tied to a working-day count rather than a calendar-day count.
The total is the number of days that have elapsed between the two dates, so if you enter the same date twice you'll correctly see zero days. Entering consecutive days (like the 1st and the 2nd) returns 1 day.
No. The calculator automatically figures out which of your two dates is earlier and treats it as the start, so you'll get the same result whether you enter them in chronological order or not.
Yes. Because the underlying calculation uses real calendar dates rather than assuming every year is 365 days, leap years (including February 29th) are automatically included wherever they fall inside your range.
It excludes every Saturday and Sunday in the range, counting only Monday through Friday. It does not exclude public holidays, since those vary by country and region — use the Business Days Calculator if you need to subtract specific holiday dates as well.
Yes, there's no upper limit — you can measure the difference between any two dates, whether they're a few days apart or several decades apart.