How to Use the Date Duration Calculator

Use this date duration calculator to measure the time between two calendar dates. Enter a start date and an end date, then select Calculate. The calculator reports the elapsed number of calendar days, the inclusive number of dates in the range, the equivalent number of weeks, and the equivalent number of hours. It works for dates in the past or future and does not require you to enter a time of day.
For example, the dates November 1, 2026 and November 4, 2026 are three elapsed days apart. If you count both November 1 and November 4 as days included in a schedule, the inclusive count is four calendar days. The two results answer different questions, so choose the one that matches your purpose.
What Does Date Duration Mean?
Date duration is the amount of calendar time separating two dates. It is commonly used to measure project timelines, vacation lengths, notice periods, delivery windows, subscription periods, event countdowns, and the time between milestones. A date-only duration is based on calendar dates rather than exact timestamps. It therefore treats each date as a whole-day boundary and does not account for the hour at which an event began or ended.
There are two common ways to count a date range. Elapsed duration measures the difference between the dates and excludes the starting date as a completed day. Inclusive duration counts both the first and last dates. For example, Monday through Friday is five dates inclusively, even though the elapsed difference from Monday to Friday is four days.
How the Calculator Works
The calculator converts the two selected dates to a consistent day count and takes the absolute difference. This means the duration is shown as a positive value even if the dates are entered in reverse order. The inclusive count adds one to the elapsed day difference because both endpoint dates are included.
Weeks are calculated by dividing elapsed days by seven. Hours are calculated by multiplying elapsed days by 24. These are equivalent-duration conversions, not a count of business hours or working days. The calculator does not remove weekends or public holidays.
Date Duration Formulas
Elapsed days = absolute value of (end date − start date)
Inclusive calendar days = elapsed days + 1
Elapsed weeks = elapsed days ÷ 7
Elapsed hours = elapsed days × 24
The elapsed-day calculation is based on the difference between calendar dates. Inclusive counting is appropriate when both endpoints are part of the period being counted, such as a multi-day event schedule. For a simple countdown or age-like elapsed duration, the elapsed-day result is usually the relevant figure.
Worked Examples
| Start date | End date | Elapsed days | Inclusive days |
|---|---|---|---|
| November 1, 2026 | November 4, 2026 | 3 | 4 |
| January 1, 2026 | January 31, 2026 | 30 | 31 |
| March 10, 2026 | March 10, 2026 | 0 | 1 |
| December 29, 2026 | January 2, 2027 | 4 | 5 |
In the first example, three full date boundaries separate the two dates. The inclusive count is four because November 1, 2, 3, and 4 are all included. In the same example, three elapsed days equal approximately 0.4286 weeks or 72 hours.
Elapsed Days Versus Inclusive Days
Elapsed days answer, “How many days separate these dates?” Inclusive days answer, “How many calendar dates are covered when I include both endpoints?” The distinction matters for booking periods, school attendance, event schedules, billing policies, and administrative deadlines. A hotel stay from Monday to Friday is often described as four nights, while the calendar dates touched by the stay number five. A course running Monday through Friday includes five calendar dates.
Always check the counting convention used by the organization or document you are working with. Some policies count the first day, some exclude it, and some define deadlines using a specific cutoff time. This calculator provides both common date counts but does not determine which rule applies to a particular contract, law, or policy.
Calendar Days, Business Days, and Working Days
Calendar days include every day of the week, including Saturdays, Sundays, and holidays. Business-day calculations usually exclude weekends and may also exclude public or company holidays. Working days can follow a custom schedule, such as a four-day workweek or rotating shifts. Those calculations require a work calendar and, often, a location-specific holiday list.
This calculator reports calendar duration only. Do not interpret its elapsed days or hours as business days, billable hours, or staffed working time. If you need a deadline based on business days, confirm the applicable weekend and holiday rules and use a dedicated business-day calculation.
Leap Years and Dates Across Years
A leap year has 366 calendar days because February contains 29 days. The calculator uses the actual calendar difference between the selected dates, so February 29 is included when it falls within the range. A duration spanning December and January is also calculated across the year boundary without treating the year change as a special extra day.
For example, December 29, 2026 to January 2, 2027 is four elapsed days. The calendar changes from one year to the next, but the date difference remains a straightforward count of four days. You do not need to manually add the days in each month.
Assumptions and Limitations
- The inputs are calendar dates without a time of day or time zone.
- Elapsed duration is the absolute difference between the two dates.
- Inclusive duration counts both endpoint dates and therefore equals elapsed days plus one.
- Weeks and hours are conversions of elapsed calendar days; one week is seven days and one day is 24 hours.
- Weekends and public holidays are included; no business-day adjustment is made.
- The calculator does not determine legal, contractual, payroll, or jurisdiction-specific deadline rules.
- For the same start and end date, elapsed duration is zero days and inclusive duration is one calendar day.
Common Date Duration Mistakes
A frequent mistake is confusing elapsed days with the number of dates included in a schedule. Another is assuming that a five-date range always represents five full 24-hour periods. Date-only calculations cannot confirm exact elapsed hours when start and end times are unknown. If exact time matters, use timestamps with the correct time zone.
People also sometimes subtract month numbers or year numbers manually and overlook the different lengths of months and leap years. Let the calendar-date calculation handle those transitions. Finally, do not use calendar-day totals as business-day totals unless weekends and holidays are intentionally included in your rule.
Frequently Asked Questions
How Do I Calculate the Number of Days Between Two Dates?
Subtract the earlier calendar date from the later one. The result is the elapsed number of days between the dates. This calculator handles either input order.
Why Is the Inclusive Day Count One Day Higher?
Inclusive counting includes both the start date and end date. When the dates are the same, the elapsed difference is zero but the range contains one calendar date.
Does the Calculator Include Weekends?
Yes. It counts calendar days, so Saturdays and Sundays are included. Public holidays are included too.
Does It Calculate Business Days?
No. Business-day totals depend on weekend rules and holiday calendars. Use a business-day calculator when those exclusions matter.
How Many Weeks Are in the Duration?
Divide elapsed days by seven. The calculator displays the equivalent duration in weeks, including a decimal for partial weeks.
How Many Hours Are Between the Dates?
The calculator converts each elapsed calendar day to 24 hours. Because no time of day is entered, this is a date-based equivalent rather than an exact timestamp difference.
Can I Enter Dates in Reverse Order?
Yes. The duration is displayed as a positive value regardless of which date is earlier. The labels remain start date and end date to help you organize the inputs.
Are Leap Days Included?
Yes. The calendar difference includes February 29 whenever it falls between the selected dates.
What If Both Dates Are the Same?
The elapsed duration is zero days, while the inclusive count is one calendar day.
Can I Use This for a Legal Deadline?
Use caution. Laws, contracts, and official policies may specify whether the first day, last day, weekends, holidays, or cutoff times count. Check the governing rule rather than relying on a general date-duration result.