Calculators

Days Between Dates Calculator

Count calendar days, weeks, and calendar components between two dates.

Your result
2 calendar days

0 whole weeks and 2 days ·2 days
End: ISO week 9, ISO week-year 2024

Open date in calendar ↗
  • Calendar days; no time zone
  • End date excluded
How this was calculated
Step / dateCalculation
Calendar componentsYears, then months, then remaining days from start to end.

Friday

Free browser tool · No account required · Updated

How to use this calculator

The days between dates calculator counts the distance between two calendar dates. Enter a start and end, then decide whether to include the end date. The default difference answers how many midnight-to-midnight date steps separate them. Including the end instead counts a forward date range as a set of calendar dates, which is useful for attendance spans or inclusive event schedules.

Read the calendar components separately from the day total. A result expressed in years, months, and days follows the calendar; a month is not assumed to contain 30 days. This page does not select a time zone or time of day. If you need working dates, holidays, or real elapsed hours, use the corresponding business-days or dated-hours tool.

Formula and calculation method

Calendar difference = end date − start date. Inclusive forward count = calendar difference + 1.

Decide what the endpoints mean

A difference from Monday to Tuesday is one day because there is one step between those dates. An event covering both Monday and Tuesday occupies two calendar dates. Choose the endpoint rule before copying the answer into a report. Most disagreements about short date ranges come from different inclusion conventions rather than an arithmetic error.

Keep calendar components distinct

The calendar breakdown measures whole years, then months, then remaining days from the starting date. Its components depend on the actual month lengths and leap years encountered. Do not reconstruct the day total by multiplying the months by 30 or the years by 365; the displayed total already counts the correct calendar dates.

Worked examples

Crossing leap day

From February 28, 2024 to March 1, 2024 is two days: the steps are February 29 and March 1. Including the end gives three calendar dates in the inclusive range. In 2023 the same month and day endpoints are separated by only one day because February has 28 days.

A one-week interval

From April 1 to April 8 is seven days, equivalent to one complete week. If an event includes both April 1 and April 8, select the inclusive option and the count becomes eight dates. The choice should follow how the event is defined, not which number is more convenient for the report.

Same date and reversed dates

A date compared with itself has a difference of zero; including the end gives one date. Reversing a seven-day interval produces minus seven in the ordinary difference mode. An inclusive count needs a forward interval, so swap the inputs before using that option for a reversed range.

Edge cases and practical checks

Leap years and valid inputs

The tool uses Gregorian dates between 1900 and 2100. Invalid dates such as February 30 are rejected rather than silently moved into March. Leap years affect February, and century years have an additional divisibility rule. Enter dates through the date control or in the unambiguous year-month-day format.

Calendar days are not working days or 24-hour promises

Saturday and Sunday count like any other calendar dates here. A holiday does too. Nor does a count of one calendar day prove that exactly 24 elapsed hours passed in a particular location. Use Business Days Calculator for a work schedule or dated hours for a span involving local clock changes.

Frequently asked questions

Does the answer include the end date?

Only when you select the include-end option. The ordinary difference counts the steps between the dates, so consecutive dates differ by one. An inclusive forward range counts both endpoint dates and adds one to that difference. The option is explicit so you can match your own counting convention.

Are weekends counted?

Yes. This calculator counts calendar days, including Saturdays, Sundays, and holidays. To exclude nonworking days, open Business Days Calculator and set the working weekdays and any closure dates. There is no universal holiday calendar silently applied to either tool.

Can I calculate weeks between dates?

The day total can be divided by seven to express a duration in weeks. Seven days make one complete week, and ten days make one week plus three days. An ISO week number shown for a date is a calendar label, not the number of weeks elapsed.

Why are calendar months not a fixed number of days?

Months have different lengths, and February also changes in leap years. A one-month step from a particular date therefore cannot always be expressed using a constant number of days. Use the calendar breakdown when your question is about anniversaries or month-based intervals.

Does daylight saving change the day count?

No. This page compares calendar dates without time zones. A spring or autumn clock transition does not remove or add a date. It can change elapsed hours between local timestamps, which is a separate calculation requiring the location and time of day.

Can I use the result for a deadline?

You can use it to check date arithmetic, but first establish the deadline’s counting rule. A process might exclude the start, include the finish, or use only working dates. Enter those assumptions deliberately; this calculator does not infer rules from the name of an event.

Published by TrueHour. Calculation methodology and sources · Report a correction · Time and date guides

Keep working with time

What would you like to work out?