TH
ToolHub Pro
Time & Date Tools

Days Between Dates Calculator

Pick two dates to calculate the exact difference in days, weeks, hours, months, and years.

By ToolHub Pro, Editorial Team·Updated 2026-06-01

Total Days

0

Total Weeks

0

Total Hours

0

Years + Months

0y 0m

Both dates are the same day.

How the Day Count Works

The number of days between two dates is calculated by subtracting the earlier date from the later one. counting every calendar day in between, including weekends. The result is a simple integer: if you pick June 1 and June 19, the difference is 18 days. Whether you include the start date, the end date, or both depends on context. Legally, contract terms usually count from the day after signing ("day 1" is tomorrow). This calculator follows the standard mathematical definition: June 1 to June 19 = 18 days (not 19).

Leap years are handled automatically. A year is a leap year if it is divisible by 4, except for century years, which must be divisible by 400. So 2000 was a leap year, but 1900 was not. This matters for long date ranges that cross a February 29.

Expressing the Difference in Other Units

Once you have a day count, converting to other units is straightforward:

  • Weeks: divide by 7 (e.g. 100 days = 14 weeks and 2 days)
  • Hours: multiply by 24 (100 days = 2,400 hours)
  • Minutes: multiply by 1,440 (100 days = 144,000 minutes)
  • Months: approximate as days ÷ 30.4375 (average month length)

Example: from January 15 to October 31 is 289 days, which is 41 weeks and 2 days, or approximately 9.5 months.

Common Reasons to Count Days

Contract and legal deadlines are the most common use: statutes of limitations, notice periods, payment terms (Net 30, Net 60), and lease expirations all depend on exact day counts. A Net 30 invoice issued on June 5 is due July 5. 30 days later.

Project planning uses day counts to work backward from a deadline. If a product launch is September 1 and today is June 19, there are 74 days to work with. Divide by sprint length to see how many development cycles remain. Event countdowns. weddings, vacations, exams. are another everyday use. For personal milestones, counting days since a significant date (sobriety, a health journey, starting a habit) provides a concrete sense of progress that "X months" can obscure.

Sources & Further Reading

Frequently Asked Questions

How do I calculate the number of days between two dates?
Subtract the earlier date from the later date. In most date arithmetic, each day equals 86,400 seconds (24 × 60 × 60). This calculator converts both dates to timestamps and divides the difference by the milliseconds in a day to give an exact count.
Does the calculator count both the start and end dates?
By default this calculator counts the days between (exclusive of both endpoints). To count inclusive of both dates — for example, if an event runs from Monday to Friday and you want 5 days — add 1 to the result. Project planning conventions vary, so check which method your context requires.
How do leap years affect the day count?
Leap years add an extra day (February 29) every 4 years, with century-year exceptions. The calculator handles this automatically. If your date range spans a leap day, the count will include that extra day. February 29, 2024 and February 29, 2028 are the next occurrences.
What is the difference between calendar days and business days?
Calendar days count every day including weekends and public holidays. Business days count only Monday through Friday, excluding weekends. Some definitions also exclude public holidays. Use the Business Days Calculator on this site if you need to exclude weekends from your count.