Time Duration Calculator
Find the exact time between two dates and times, including weekdays.
What is a Time Duration Calculator?
A time duration calculator works out the exact elapsed time between a start date-and-time and an end date-and-time. Instead of manually counting days and hours on a calendar, enter both points and get the gap instantly, split into days, hours, minutes and seconds, and also as a single running total in each unit.
This version also counts the weekdays that fall within the span, which is useful for leave requests, payroll periods and project timelines where only working days matter.
How It Works
The calculator reads both date-and-time values exactly as entered, in your device's local time and settings, and converts the gap between them into days, hours, minutes and seconds. It also walks through each calendar date from the start date to the end date and counts how many of them are Monday through Friday.
How to Use It
- Enter the start date and time.
- Enter the end date and time. For a span that crosses midnight, make sure you select the later calendar date, not just a later time on the same date.
- Click Calculate Duration to see the split duration, the weekday count, and the totals.
Worked Examples
| Scenario | Start | End | Duration | Weekdays spanned |
|---|---|---|---|---|
| Multi-day event | 1 Jan 2026, 10:00 AM | 3 Jan 2026, 2:30 PM | 2 days, 4 hours, 30 minutes | 2 |
| Night shift | 10 Feb 2026, 10:00 PM | 11 Feb 2026, 6:00 AM | 8 hours | 2 |
| Overnight flight | 5 Mar 2026, 11:45 PM | 6 Mar 2026, 6:20 AM | 6 hours, 35 minutes | 2 |
| Full work week | Mon 5 Jan 2026, 9:00 AM | Fri 9 Jan 2026, 6:00 PM | 4 days, 9 hours | 5 |
| Friday evening to Monday morning | Fri 9 Jan 2026, 6:00 PM | Mon 12 Jan 2026, 9:00 AM | 2 days, 15 hours | 2 |
In the last row, the gap runs through Saturday and Sunday, but the weekday count only shows Friday and Monday, because those are the only two weekday calendar dates in the span.
What "Weekdays Spanned" Means
This figure counts calendar dates, not worked hours. It looks at every calendar date from the start date to the end date, inclusive, and counts how many are a Monday, Tuesday, Wednesday, Thursday or Friday. It does not check whether you actually worked a full day on the first or last date, and it does not know about public holidays.
For a precise leave or payroll calculation, treat this as a starting point and adjust for partial days and holidays using your organisation's own rules.
Calculating an Overnight or Multi-Day Shift
For a shift or event that crosses midnight, always set the end date to the correct later calendar date. A shift from 10:00 PM to 6:00 AM lasts 8 hours only if the end date is the day after the start date; if both dates are left the same, the calculator will show an error because the end time would come before the start time on the same date.
Total Units vs. Split Units
The days, hours, minutes and seconds in the first rows split one duration into separate units, the way you would read a stopwatch. The total hours, total minutes and total seconds fields express that same length of time as one number in that unit. A gap of 30 hours is "1 day, 6 hours" in the split fields and "30" in total hours; both describe the same duration.
Where This Is Used
- Payroll and shifts: work out hours on a timesheet, including overnight and weekend shifts.
- Leave planning: estimate weekdays covered by a leave request before applying your organisation's holiday calendar.
- Travel: total flight or journey time, including an overnight layover.
- Projects and deadlines: elapsed time from a start milestone to a deadline.
- Study and exams: time remaining or time spent between two sessions.
Duration vs. Time Difference
Time difference describes the gap between two points in time. Duration describes how long something lasts. For most everyday purposes, including this calculator, the two are used interchangeably to mean the elapsed time from the start point to the end point.
Common Mistakes to Avoid
- Leaving the end date the same as the start date for an overnight span, which gives an error or an understated duration.
- Mixing time zones without converting both values to the same zone first.
- Treating "Weekdays Spanned" as worked hours. It is a count of calendar dates, not a payroll calculation.
- Forgetting public holidays when using the weekday count for leave or billing purposes.
Important Note
The result depends on the exact date, time and time-zone settings of your device and browser at the moment you enter the values. For payroll, billing or legal purposes, confirm the result against your organisation's own records and rules.
Content last reviewed: October 2026.
Frequently Asked Questions
What is a time duration calculator?
It finds the exact elapsed time between a start date-and-time and an end date-and-time, shown as days, hours, minutes and seconds, as well as the total in each single unit.
How many weekdays does the calculator count?
The "Weekdays" figure counts the calendar dates from the start date to the end date, inclusive, that fall on a Monday through Friday. It counts calendar days, not partial hours, so a shift that starts late on a Friday and ends early on a Monday still counts both Friday and Monday as weekdays.
How do I calculate an overnight shift?
Choose the shift's actual start date and time, then select the following calendar date for the end time. For example, 10:00 PM on one day to 6:00 AM the next day is an 8-hour shift. If you leave the end date the same as the start date, the result will be wrong.
What is the difference between the days/hours/minutes result and the total hours result?
The days, hours, minutes and seconds fields split one elapsed duration into separate units, the way a clock would show it. The total fields express that same duration as a single number. A gap of 30 hours is shown as "1 day, 6 hours" in the split fields and as "30" in total hours; both describe the same length of time.
Can I calculate time across a weekend?
Yes. Enter the start date and time on one day and the end date and time on a later day. For example, Friday 6:00 PM to the following Monday 9:00 AM is 2 days and 15 hours, and the calculator counts 2 weekdays (Friday and Monday) in that span.
Does the calculator account for time zones?
The calculator uses the date and time exactly as you enter them, read in your device's local time zone and settings. If the start and end are meant to be in different time zones, convert both to the same zone before entering them, or the result will be wrong.
Can I calculate time duration in seconds?
Yes. The result shows seconds as part of the split duration and as a running total in the Total Seconds field.
Why does the calculator show an error for my dates?
The end date and time must be after the start date and time. If you are calculating an overnight or multi-day span, check that the end date is set to the correct later calendar date, not the same date as the start.
Is the BestCalculator Time Duration Calculator free?
Yes. It is free to use, works on both desktop and mobile, and does not require sign-up.