Calculate the exact number of days, weeks, months, and years between any two dates. Includes business days, weekend days, total hours, minutes, and seconds. Perfect for project planning, legal deadlines, event countdowns, age calculations, and contract periods.
Quick presets
Tuesday, March 17, 2026
Thursday, April 16, 2026
→ In the future
Total Difference
30
30 calendar days
0
Years
0
Months
4
Weeks
2
Days
= 4 wk + 2 days
All Units
Total Days
30
Total Weeks
4
Business Days
22
Weekend Days
8
Total Hours
720
Total Minutes
43,200
Start: TuesdayEnd: ThursdaySeconds: 2,592,000
What Is a Date Difference Calculator?
A date difference calculator computes the exact span of time between two calendar dates — expressed in years, months, weeks, days, hours, minutes, and seconds. It's an indispensable tool for project planning, legal deadlines, age calculations, event countdowns, and any situation where you need to know precisely how much time separates two dates.
📋
Project Deadlines
Count working days remaining in a sprint, milestone, or contract period.
Calculate someone's exact age, days until a birthday, or time since a wedding.
🏋️
Health & Fitness
Track how many days into a training programme, diet, or medication course.
📈
Finance
Bond duration, loan periods, accrual periods, and countdown to maturity dates.
✈️
Travel Planning
Days until a trip, visa validity windows, or how long ago you visited a country.
Did you know? Lawyers and courts typically use calendar days for deadlines unless "business days" is explicitly stated. Always confirm which convention applies before acting on a deadline.
How to Use This Calculator
1
Set your Start Date
Click the Start Date field and pick a date from the calendar picker, or type it in YYYY-MM-DD format. Press 'Today' to instantly fill in today's date.
2
Set your End Date
Do the same for the End Date. The end date can be before the start date — the calculator will automatically flag it as 'In the past'.
3
Use a quick preset
Jump instantly to common ranges: End of Month, End of Year, +100 Days, +1 Year, 30 Years Ago, or Next Birthday.
4
Read the breakdown
The hero card shows total days. Below it, the Years/Months/Weeks/Days grid gives a human-readable breakdown, like '1 yr + 3 mo + 2 wk + 5 days'.
5
Check business days
The All Units panel also shows Business Days (Mon–Fri) and Weekend Days, useful for scheduling meetings, counting work-hours, or estimating delivery windows.
How It Works
📅
Total Days
Total Days = |endDate − startDate|
(measured in whole calendar days)
The absolute difference between the two dates in days, always non-negative. Leap years are included because we subtract actual timestamps, not assumed 365-day years.
🗓️
Y / M / W / D Breakdown
From 'from' date, add the largest whole
years that fit → then months → then
floor(remaining/7) weeks → remaining days
Works like counting on a real calendar. Adding '1 year' moves the date to the same day next year, correctly handling February and month-length differences.
💼
Business Days
fullWeeks = floor(total / 7)
bizDays = fullWeeks × 5
+ count Mon–Fri in remainder days
Counts Mondays through Fridays only. Public holidays are not subtracted since they vary by country and region. For precise work-day deadlines, subtract your local holidays manually.
Converts calendar days to smaller time units assuming exactly 24 hours per day. DST transitions are not included — for time-zone-sensitive work, use a dedicated timezone calculator.