What it does
The time duration calculator finds how long it is from a start time to an end time, and shows:
- Duration in hours and minutes, such as 8 h 30 min.
- Decimal hours, such as 8.50 h.
- Total minutes, such as 510 min.
- Ends the next day when the end time is earlier than the start time.
The answer updates as soon as you change a time.
How to use it
- Enter the start time and the end time, in hours and minutes.
- To take off a break, open More options and enter it in minutes.
- Select Copy result to put the answer on your clipboard.
The break is kept on this device. The times aren’t: each visit starts at 9:00 in the morning and 5:30 in the afternoon.
How it’s calculated
Duration = End − Start − Break. The formula under the result writes times on a 24-hour clock, so 5:30 in the afternoon is 17:30, whichever way your browser shows the time fields. When the end time is earlier than the start time, it ends the next day, so 24 hours are added: Duration = End − Start + 24 h − Break.
For example, 17:30 − 09:00 − 0 min is 8 h 30 min, which is 510 min. Decimal hours are the minutes ÷ 60, rounded to two decimal places: 510 ÷ 60 = 8.50 h.
Good to know
- Times run from midnight to one minute before the next midnight (00:00 to 23:59 in the formula), so the longest duration is 23 h 59 min.
- Equal times give 0.
- The break is a whole number of minutes from 0 to 1,439, and must be shorter than the time between the start and the end.
- To add up a whole week of shifts, use the time card calculator. To move a date by days, weeks or months, use the date calculator.
Privacy
Everything is worked out in your browser, on your device. Nothing you type is uploaded. The times aren’t stored; only the break is kept, in this browser’s storage, so the page can show it again.