Example 1 (simple): 9:15 to 17:40
- 17:40 − 9:15 = 8 hours 25 minutes (8:25:00)
- Decimal hours = 505 ÷ 60 = 8.4167
- Total minutes = 505
These are the calculator's default inputs.
Enter a start and end time, with dates if you need them, to get the elapsed time in hours, minutes and seconds, decimal hours and total minutes.
Elapsed time is the end time minus the start time. From 9:15 to 17:40 it is 8 hours 25 minutes, or 8.42 decimal hours. If the end clock time is earlier than the start, the interval crossed midnight, so add 24 hours to the end first. Add dates for intervals longer than a day.
Enter a start time and an end time for each interval. Dates are optional: leave both empty for a same-day or overnight interval, or fill both in for an interval that spans several days. Use "Add interval" to sum several intervals, such as the morning and afternoon of a working day.
Each row shows its own elapsed time; the total at the bottom of the table adds the rows. Clock times are treated as one continuous timeline with no daylight-saving changes. Use the work hours calculator when you also need to take off an unpaid break.
elapsed = end − start (add 24 hours to end if end < start and no dates are given)
with dates: elapsed = (end date + end time) − (start date + start time)
decimal hours = seconds ÷ 3600 total minutes = seconds ÷ 60
All arithmetic is done in whole seconds, so there is no rounding until the numbers are displayed. When intervals are added, the totals are the sum of the seconds of each row.
Each example uses numbers you can load into the calculator above; the results match the tool exactly.
These are the calculator's default inputs.
The end is earlier than the start, so the interval crosses midnight. From 22:30 to midnight is 1 hour 30 minutes; from midnight to 06:15 is 6 hours 15 minutes.
With both dates filled in, the calculator subtracts the full date and time.
A working day split by lunch: 9:00 to 12:30 and 13:15 to 17:45.
Elapsed time is the plain distance between two moments. It does not know about breaks, shifts or pay rules. If the two times are a start and finish of a shift, the work hours calculator subtracts the unpaid break and gives daily, weekly and yearly totals. For common patterns, the paid hours for common shifts are already worked out.
If you need to add or subtract several durations that are not tied to clock times, such as a list of tasks you timed, use the add and subtract time calculator instead.
Subtract the start time from the end time. For 9:15 to 17:40, 17:40 − 9:15 is 8 hours 25 minutes. If the end is earlier than the start, add 24 hours to the end first.
Enter the start and end time and read the elapsed time. The calculator handles minutes, seconds and overnight intervals, and gives the result as h:mm:ss, decimal hours and total minutes.
Add 24 hours to the end time. From 22:30 to 06:15 is 30:15 − 22:30 = 7 hours 45 minutes. The calculator does this automatically when the end time is earlier than the start and no dates are entered.
Fill in both dates and both times. From 2 November 08:00 to 4 November 17:30 is 57 hours 30 minutes, or 2 days 9 hours 30 minutes.
Use "Add interval" to enter each start and end time. The total row sums them. 9:00 to 12:30 plus 13:15 to 17:45 is 8 hours.
Elapsed time is the raw gap between two times. Hours worked usually subtract unpaid breaks. Use the work hours calculator for that.
The start and end times are the same and no dates are entered. Add dates if the interval is exactly 24 hours or longer.
Last updated 19 October 2026. Last reviewed 19 October 2026. Reviewed by Umesh Manral. Formulas and tests: methodology.