Skip to content

Date Duration Calculator

Count the exact number of days between any two dates, then see the same gap as weeks, calendar months, business days and weekend days. May 20 to September 25, 2026, for example, is 128 days.

Maintained by Jairo TunisseLast updated Editorial policy

Enter your details

Include end day
Count

How we calculated this

We convert both dates to a day number, subtract to get the raw gap, and then express it as calendar months and days. Business-day counts remove Saturdays and Sundays across the range.

duration = end_date − start_date business_days = total − weekends

Worked example (default inputs)

May 20, 2026 → September 25, 2026 (end day not counted) 128 days = 18 weeks, 2 days = 4 months, 5 days 92 weekdays + 36 weekend days counting the end day as well = 129 days

Day counts settle real questions: a contract deadline, a notice period, how many nights a booking covers, how long is left on a visa. Two details decide the answer, and people disagree about both — whether the final day counts, and whether weekends do. This calculator reports both readings at once, so you can match whichever convention your agreement uses. For an exact age from a date of birth, use the age calculator; to price the drive you are counting down to, the fuel cost calculator.

A worked example: May 20 to September 25, 2026

Take the calculator's own default range. From May 20 to September 25, 2026 the raw count is 128 days. The same span reads as 18 weeks and 2 days, or as 4 months and 5 days on the calendar — three different descriptions of one identical gap. Of those 128 days, 92 fall on weekdays and 36 on weekends. Counting the end day as well makes it 129 days rather than 128. Every figure on this page comes from the same function the calculator above runs, so you can reproduce each one by entering the dates yourself.

Date to date example: January 1 to July 4, 2026

Enter January 1, 2026 as the start date and July 4, 2026 as the end date, with Include end day set to No. The calculator returns 184 days. You can check it by hand: January through June add 31 + 28 + 31 + 30 + 31 + 30 = 181 days, which brings you to July 1, and July 1 to 3 add 3 more. The same gap is 26 weeks and 2 days, 6 months and 3 days on the calendar, or 4,416 hours.

Of those 184 days, 132 are weekdays and 52 fall on a Saturday or Sunday. The weekday count still includes New Year's Day, because public holidays are not removed automatically.

Set Include end day to Yes and the total becomes 185 days. The business-day count stays at 132, because July 4, 2026 is a Saturday: the extra day is a weekend day, so weekend days rise to 53.

Days versus calendar duration

There are two natural ways to express a gap between dates. The raw day count is a single number — useful for deadlines, interest, and shipping windows. The calendar duration expresses the same gap as months and days, which reads more naturally for describing how long something lasted. Both describe the identical span; they just group the days differently. Calendar months are the slippery one, because they are not equal in length: the 128 days above span four months and five days, but the same 128 days starting in a different season would land on a different month-and-day figure. Our calculator shows each so you can pick whichever fits your situation.

Counting business days

For contracts, payroll, and project planning, weekends usually do not count. We tally only Monday through Friday across your range, which is why the business-day total is smaller than the calendar total — 92 weekdays out of 128 days in the example above, a little over 70%. Keep in mind that public holidays are not removed automatically, since they vary by state and country; subtract any that fall inside your range for a true working-day figure. For a US range, that usually means subtracting between one and three federal holidays per quarter.

Whether to include the end day

Some counts are inclusive and some are exclusive. Booking a hotel from the 20th to the 25th is usually five nights, not six, because the checkout day does not count. A rental or subscription might count both endpoints. The difference is always exactly one day — 128 against 129 in the example above — which sounds trivial until it decides whether a filing lands inside a 30-day window. The include-end-day toggle lets you switch between these conventions so your total matches the way your particular agreement defines the period. To find an exact age from a date of birth, use the age calculator.

Frequently asked questions

How do I calculate the days between two dates?

Subtract the start date from the end date. By hand, add up the days month by month: from January 1 to July 4, 2026, January through June contribute 31 + 28 + 31 + 30 + 31 + 30 = 181 days and July adds 3 more, for 184 days. The calculator does the same subtraction instantly and, unless you set Include end day to Yes, counts the start date but not the end date.

What is a date to date calculator?

It is another name for a days-between-dates calculator: you enter a start date and an end date and it returns the gap between them. This one shows the total in days, weeks, calendar months, business days, weekend days and hours. If the end date is earlier than the start date, it swaps the two and still returns the span.

What does a date duration calculator show?

The length of time between two dates, expressed two ways: a single count of days and a calendar span in years, months and days. January 1 to July 4, 2026 is 184 days, or 6 months and 3 days. The month-and-day figure depends on which months the range covers, because months differ in length.

What is the difference between business days and calendar days?

Calendar days count every day in the range, weekends included. Business days count only Monday through Friday. January 1 to July 4, 2026 is 184 calendar days, of which 132 are business days and 52 fall on weekends.

Are public holidays excluded?

No. Because holidays differ by location, they are not removed automatically. Subtract any that fall within your range for a precise working-day count.

Should I include the end date?

It depends on your use case, and it changes the total by exactly one day — 128 or 129 in the example above. Use the include-end-day toggle to count both endpoints or only the days in between, such as hotel nights.

Last updated:

Sources

Date calculations are for general planning and do not account for regional public holidays unless you subtract them manually.