📅

Date Difference Calculator

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.
⚖️
Legal & Contracts
Statute of limitations, notice periods, lease durations — exact day-counts matter.
🎂
Age & Anniversaries
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. 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. 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. 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. 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. 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.

⏱️

Hours / Minutes / Seconds

Hours = totalDays × 24 Minutes = Hours × 60 Seconds = Minutes × 60

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.

Worked Examples

Example 1 — Simple 30-Day Span

Jan 1, 2025 → Jan 31, 2025
  1. Total days = 31 − 1 = 30
  2. 0 years, 0 months, 4 weeks, 2 days
  3. Business days ≈ 22 (Mon–Fri only)
  4. Hours = 30 × 24 = 720
30 days · 22 business days · 720 hrs

Example 2 — Cross-Year Span

Sep 15, 2024 → Mar 15, 2025
  1. Spans Sep, Oct, Nov, Dec, Jan, Feb, Mar
  2. 0 full years
  3. 6 calendar months exactly
  4. 181 days (includes Sep 30-day, Feb 28-day)
181 days · 0 yr 6 mo 0 wk 0 day

Example 3 — Age Calculation

Jun 10, 1990 → Jun 10, 2025
  1. 35 full years (same month + day)
  2. 0 remaining months
  3. 0 remaining days
  4. 12,775 total days (includes 9 leap days)
12,775 days · 35 yr 0 mo 0 wk 0 day

Example 4 — Event Countdown

Today → Dec 25, 2025
  1. Future date → 'In the future' label
  2. Exact days remaining shown prominently
  3. Business days = shopping/working days left
  4. Hours gives urgency for tight deadlines
Varies by today's date · future direction

Frequently Asked Questions

Related Tools

Explore This Tool in Context

Date Difference Calculator is part of the Time & Date collection. If you want a broader view of similar workflows, open the Time & Date category page or browse all QuickTools categories.

Common next steps after this tool include Time Zone Converter, Time Duration Calculator and Age Difference Calculator.

More in Time & Date

View category hub →