Days Between Dates Calculator

Calculate the duration between two dates in days, weeks, months, years, and business days.

Days Between Two Dates

0 Total Days
Weeks
0
Months
0
Years
0
Business Days
0

Human-Readable Duration

Add or Subtract Days From a Date

Resulting Date

How to Calculate Days Between Dates

Calculating the number of days between two dates is useful for project planning, contract deadlines, pregnancy tracking, age calculation, and many other scenarios. This calculator counts the total days, breaks them into weeks, months, and years, and also counts business days (Monday through Friday).

How the Calculation Works

  • Total Days: The absolute difference in calendar days between the two dates.
  • Weeks: Total days divided by 7.
  • Months & Years: Calculated by comparing calendar month and year boundaries between the dates.
  • Business Days: Total days excluding Saturdays and Sundays.
  • Human-Readable Duration: Expressed as "X years, Y months, Z days" for intuitive understanding.

Date Addition and Subtraction

To add days to a date, simply add the number of days to the starting date. To subtract, enter a negative number. This is useful for calculating deadlines, due dates, and project milestones. For example, adding 30 days to January 1 gives January 31.

Business Days vs. Calendar Days

Business days (or working days) exclude weekends — Saturday and Sunday. This calculator counts Monday through Friday as business days. Note that public holidays are not excluded, as they vary by country and region. For precise working day calculations, subtract any holidays that fall within your date range.

Inclusive vs. Exclusive Counting

This calculator reports the difference between two dates, which is an exclusive count. From January 1 to January 2 is 1 day, not 2, because it counts the gap between the dates. If you need an inclusive count — for example, counting every day of a trip including both the departure and return dates — add 1 to the result. This distinction matters in scheduling, billing, and attendance tracking. A hotel stay from the 10th to the 13th is 3 nights (the exclusive difference) but 4 calendar days (the inclusive count). Knowing which convention your context uses prevents off-by-one errors.

Practical Examples

Here are some common scenarios that show how the calculator handles real date ranges:

  • Project timeline: A project runs from March 1 to May 15 — a span of 75 calendar days, or about 53 business days excluding weekends.
  • Contract deadline: A 90-day notice period starting January 1 ends on April 1 (31 days in January, 28 in February, 31 in March).
  • Pregnancy tracking: The typical 280-day gestation period from the last menstrual period to the due date is about 40 weeks.
  • Age calculation: Someone born on June 15, 1990, is 34 years and however many months and days old today, expressed in the human-readable format.
  • Invoice terms: Net-30 payment terms from an invoice dated the 5th means payment is due on the 5th of the following month.

Accounting for Leap Years

Leap years add an extra day to February, which affects any date range that crosses February 29. A year is a leap year if it is divisible by 4, except for century years which must be divisible by 400. For example, 2024 is a leap year but 1900 was not. The calculator handles leap years automatically when computing total days, so a range from January 1 to December 31 in a leap year returns 366 days rather than 365. This matters for annualized calculations such as daily interest accrual or per-day cost allocations, where the extra day changes the denominator.

Counting Working Days Accurately

The business day count excludes only Saturdays and Sundays. Public holidays are not removed because they vary by country, state, and even organization. For an exact working day count, identify the holidays that fall on weekdays within your range and subtract them from the business day total. For example, a range spanning the US Thanksgiving holiday (the fourth Thursday of November) would have one fewer working day. If your project spans multiple countries, account for each region's holidays separately. For long ranges, a rough estimate is that business days make up about 71% of calendar days (5 out of 7), which is useful for quick mental checks before running the exact calculation.

Frequently Asked Questions

Does the calculator include both the start and end dates?+

The calculator counts the number of days between the two dates. For example, from January 1 to January 2, the result is 1 day (the difference). If you need inclusive counting (both start and end dates), add 1 to the result.

Are holidays excluded from the business day count?+

No. The business days count excludes only weekends (Saturday and Sunday). Public holidays are not automatically excluded because they vary by country, state, and organization. Subtract any holidays manually for an exact working day count.

Can I subtract days from a date?+

Yes. Use the "Add or Subtract Days" section and enter a negative number to subtract days. For example, entering -30 will calculate the date 30 days before your starting date.

How are months and years calculated?+

Months and years are calculated by comparing calendar boundaries. For example, from January 15 to April 20 is 3 months and 5 days. This gives a human-readable duration that accounts for varying month lengths.