Days Between Dates Calculator

Count the calendar days between two dates and see the same gap in weeks, months, years and hours. Choose whether the end date counts, and use Today to find the days until a date. It runs in your browser.

Dates

How to use the days between dates calculator

  1. Pick a start date and an end date, or press Today to use the current date.
  2. Tick the box if the end date should count as a full day too.
  3. Read the gap in days, weeks, months, years, hours and weekdays.
  4. For days until a date, set the start to Today and the end to the date you are waiting for.

Formulas and worked examples

Days between = end date − start date, counting real calendar days, with 1 added when the end date is included. Weeks = days ÷ 7, and hours = days × 24. Years, months and days count whole calendar months first and then the days left over.

Worked examples of days between dates
DatesDaysWith end date
January 1 to January 31, 20273031
January 1 to March 1, 20275960
January 1 to March 1, 2028 (leap year)6061
January 1 to December 31, 2027364365

Related tools

To count working days only, use the business days calculator. For hours and minutes between two times, use the time duration calculator.

See also

Frequently Asked Questions (FAQ)

How many days are there between two dates?

Subtract the earlier date from the later one. From January 1 to January 31 is 30 days. Turn on "include the end date" to count both ends, which gives 31 days.

Should I include the end date?

It depends on how you count. Leave it off for the elapsed time between two dates, such as days until a deadline. Turn it on when both the first and last day count, such as a 7-day trip that starts on the 1st and ends on the 7th.

How do I find the days until a date?

Use the Today button next to the start date, then enter the target date as the end date. The result is the number of days from today until then.

How are the years, months and days worked out?

The calculator counts whole calendar months from the start date and then the days left over. When the start day does not exist in a month, such as January 31 plus one month, it uses the last day of that month. The decimal months and years use averages of 30.44 and 365.25 days.

Does the calculator handle leap years?

Yes. It counts real calendar days, so February 29 is included in leap years. From January 1, 2028 to January 1, 2029 is 366 days.

Why are the hours exactly days times 24?

The calculator counts whole dates, not clock times. Daylight saving changes can make a real day 23 or 25 hours long, which this estimate ignores. For hours and minutes between two times, use the time duration calculator.

Does it skip weekends and holidays?

The main result counts every calendar day. A weekdays figure (Monday to Friday) is shown too, but it does not remove holidays. To skip weekends and holidays you choose, use the business days calculator.

Can I use the result for notice periods, leave or deadlines?

Use it as a quick count. Notice periods, leave, interest and legal deadlines often follow their own counting rules, such as whether the first day counts. Check your contract or local rules before relying on a figure.