CyberCodeLab logo — neon green lab flask with terminal symbolCyberCodeLab

Days Between Dates Calculator

Free online days between dates calculator. Count the exact number of days, weeks and approximate months between any two dates, with an option to include the end date.

days-between.run

How are days between two dates counted?

The count is the number of calendar days from the start date up to — but by convention not including — the end date: 1 January to 3 January is 2 days. Hotel nights, loan interest and project durations use this exclusive convention; rentals and event planning often count inclusively, which the checkbox enables.

Month and year figures use the calendar averages of 30.44 days and 365.25 days, which stay accurate across leap years over long spans.

How to use

  1. 01Pick the start date and the end date.
  2. 02Optionally tick Include end date for inclusive counting.
  3. 03Click Calculate.
  4. 04See the difference in days, weeks, months and years.

Frequently asked questions

Does the count include both dates?
By default the end date is excluded (Jan 1 to Jan 3 = 2 days). Tick 'Include end date' to count it (= 3 days), which is common for booking and rental calculations.
How are months and years approximated?
Months use the average month length of 30.44 days and years use 365.25 days, which accounts for leap years over long spans.
Does it handle leap years?
Yes. The day count is computed from real calendar dates, so February 29 is counted correctly.

Related tools