Days Between Dates Calculator
Calculate duration, add or subtract days, or look up ISO week numbers — instantly.
Reverse: Which dates are in week N of year Y?
How Date Calculations Work
The calculator uses precise calendar arithmetic with JavaScript's Date objects, handling leap years, month-length variations, and timezone-safe date comparisons.
Calendar Days vs. Business Days
Calendar days count every day between two dates including weekends. Business days count only Monday through Friday, excluding any holidays you specify. For example, from Monday Jan 6 to Friday Jan 10 is 5 calendar days but also 5 business days (no weekends in between).
Inclusive vs. Exclusive Counting
Inclusive counting includes both the start and end dates (commonly used for project durations). Exclusive counting includes neither endpoint (used for measuring the gap between events). A range of Jan 1 to Jan 3 is 3 days inclusive, 1 day exclusive, or 2 days when counting just one endpoint.
Month-End Date Arithmetic
Adding months requires care at month boundaries. January 31 + 1 month would be February 31, which doesn't exist. The calculator clamps to the last valid day: February 28 (or 29 in leap years). This matches standard business and legal date conventions.
ISO Week Numbers
ISO 8601 defines week 1 as the week containing the year's first Thursday. Weeks run Monday to Sunday. Some years have 53 weeks. This system is used internationally for business planning and scheduling.