Free online date difference calculator
This calculator tells you exactly how many days, weeks, months, or business days sit between two dates.
How to use
- Enter a start date and an end date.
- Use “Through today” or “Through year end” for common scenarios.
- Read the results — years, months, days, total days, business days, hours, and minutes.
- Press “Share with my numbers” to copy a URL with your dates.
How dates are calculated
Total days: The number of 24-hour periods between midnight on the start date and midnight on the end date. Uses UTC internally to avoid daylight-saving-time artifacts.
Years, months, days: Calendar subtraction — subtract full years, then remaining months, then remaining days, borrowing from the larger unit when necessary.
Business days: A loop counting Monday–Friday days between the two dates (exclusive of the end date, per common convention).
Hours and minutes: total days × 24 and × 1,440 respectively.
Worked example
From January 1, 2025 to June 30, 2025:
- Calendar: 5 months, 30 days (or 0 years, 5 months, 29 days by strict subtraction)
- Total days: 180
- Business days: 129 (Jan–Jun 2025, Mon–Fri)
- Total hours: 4,320
Notes
- The calculator uses UTC date math to avoid incorrect results during daylight-saving-time clock changes.
- Business days exclude weekends only. Add or subtract your region’s public holidays manually.
Frequently asked
How are years, months, and days calculated?
How are business days counted?
Why might the months shown differ from dividing total days by 30?
Can I calculate dates in the past or future?
What are the quick preset buttons for?
Related calculators
- Age calculator
Exact age in years, months, and days from any birth date.
- Pregnancy due date calculator
Estimate due date from last menstrual period or conception date.
- Tip calculator
Calculate tip amount and per-person split for any party size.
- Percentage calculator
Five common percentage calculations — of, change, increase, decrease.