Date Difference Calculator: Days Between

Calculated using standard mathematical and industry formulas.

To calculate the difference between two dates, measure the exact calendar span in milliseconds, accounting for 28 to 31-day months and leap years (366 days). There are exactly 86,400 seconds and 1,440 minutes in a standard day. This tool calculates total days, business days, weeks, and detailed hour breakdowns instantly.

How to use this calculator?

  1. Select the start date using the date picker.
  2. Select the end date using the date picker.
  3. Choose whether to include the end date in the total count.
  4. Read your total days, calendar breakdown (years, months, days), weeks, and hours.

Formula & calculation method

Exact Calendar Difference Method

Total Days = [ (End Date Epoch ms − Start Date Epoch ms) / (1000 × 60 × 60 × 24) ] + [1 if End Date Included, else 0]; Total Hours = Total Days × 24; Total Minutes = Total Days × 1,440; Total Seconds = Total Days × 86,400

Years, months, and days are computed by stepping through month lengths and leap years exactly.

Step-by-step calculation example

2026-01-01 to 2026-12-31 = 364 days (11 months, 30 days) or 365 days if inclusive.

Key insights to remember

How to interpret your results?

Calendar Days vs. Business Days

Calendar days count all 7 days of the week, while business (working) days exclude Saturdays, Sundays, and official statutory holidays. On average, a 30-day calendar month contains 21 to 22 business days.

Inclusive vs. Exclusive Boundary Counting

Exclusive calculation measures elapsed nights between dates (e.g., Friday to Monday = 3 days). Inclusive calculation counts both boundary days (Friday to Monday = 4 days), which is customary in legal and rental contracts.

Expert advice & guidance

💡 Project deadline tip: When planning construction, legal filings, or visa validity windows, always base delivery timelines on business working days rather than gross calendar days to avoid missed deadlines across weekend closures.

Frequently asked questions

How many seconds are in a day and how many minutes in a day?
There are exactly 86,400 seconds in a day (24 hours × 60 minutes × 60 seconds). There are 1,440 minutes in a standard day (24 hours × 60 minutes). A standard calendar year has 525,600 minutes and 31,536,000 seconds (leap years have 31,622,400 seconds).
How many seconds are in an hour and how many days is 72 hours?
There are exactly 3,600 seconds in one hour (60 minutes × 60 seconds). Exactly 72 hours equals 3 full calendar days (72 ÷ 24 = 3). Similarly, 48 hours equals 2 days, 96 hours equals 4 days, and 120 hours equals 5 days.
What is 30, 60, or 90 days from today?
To find a future date 30, 60, or 90 days ahead: add the target number of days directly to today's calendar date, accounting for varying month lengths (28, 30, or 31 days). For example, 30 days from today is approximately 1 month, 60 days is about 2 months, and 90 days is roughly one business quarter.
How many days are in each month and how many days in a year?
A standard year has 365 days, while leap years have 366 days. Months with 31 days: January, March, May, July, August, October, December (7 months). Months with 30 days: April, June, September, November (4 months). February has 28 days (29 days in leap years).
How many weeks and days are left in the year?
A full calendar year contains 52 weeks plus 1 day (or 2 days in leap years). To find remaining days or weeks left in the year, subtract the current day of the year (Day of Year 1–365) from 365. For example, if 200 days have passed, exactly 165 days (23 weeks and 4 days) remain.

Related calculators

See all other calculators · Explore all online calculators