CalcGrid
100% Private — Processed locally in your browser

Days Between Dates Calculator

Find the exact span in days, weeks, months, and weekdays between two dates.

Total Duration

—

Weeks + Days —
Months (est.) —
Mon–Fri Days —
Weekend Days —

Date Difference Formula

Calendar spans convert both dates to UTC midnight timestamps (Date.UTC(y, m, d)) and divide by 86,400,000 ms. Using UTC midnight eliminates Daylight Saving 23-hour or 25-hour day distortions.

Common Calendar Spans

Span Days Weeks + Days
2 Weeks14 days2w 0d
30 Days30 days4w 2d
Quarter (90d)90 days12w 6d
Standard Year365 days52w 1d

Frequently Asked Questions

Does the day count include the end date?

By default, standard date subtraction counts the nights or full 24-hour intervals between two dates (end minus start). Enable the "Include end date (+1 day)" toggle when counting inclusive calendar days.

How are Mon–Fri weekdays counted?

Every calendar day inside the selected range is inspected in local time, separating Monday–Friday weekdays from Saturday–Sunday weekend days.

What happens if the start date is after the end date?

The calculator uses the absolute calendar span so you still get positive day, week, and weekday totals—or click Swap Dates to order them chronologically.

Why does approximate months use 30.44 days?

Because months vary between 28 and 31 days, dividing total days by the Gregorian average month length (365.2425 / 12 ≈ 30.4369 days) gives a consistent decimal month estimate.

More Tools in This Hub