Time Duration Calculator
Find hours and minutes between two clock times.
If the end time is earlier, the tool assumes the duration crosses midnight.
Find hours and minutes between two clock times.
If the end time is earlier, the tool assumes the duration crosses midnight.
| Start | End | Duration |
|---|---|---|
| 09:15 | 17:45 | 8 h 30 min |
| 22:30 | 06:10 (next day) | 7 h 40 min |
| 08:00 | 12:30 | 4 h 30 min |
| 13:45 | 18:20 | 4 h 35 min |
Payroll often needs decimals: minutes / 60. 8 h 30 min is 8.5 hours; 7 h 40 min is 7.67 hours, not 7.40. At a rate of 18 an hour, 8.5 hours pays 153.
Take the unpaid break off the total: 510 minutes less a 45-minute break is 7 h 45 min (7.75 decimal hours).
Clock-time subtraction assumes both times are in the same zone and the same day length. Across a daylight-saving change a night can be 23 or 25 hours long, so use full date-times with zone offsets for exact elapsed time.
The form above runs in your browser with the same arithmetic described on this page; nothing you type is sent to a server. Results are rounded for display only, so a long decimal may differ from the last digit of a hand calculation. Empty, zero or non-numeric inputs return a message instead of a result, and division by zero is never evaluated.
Use the tool to check your own working rather than to replace it: write the formula, substitute your numbers, and compare. If the two disagree, look first at units, the order of the inputs and whether a percentage was entered as 5 or as 0.05.
The tables on this page are generated by script from the formulas shown, not typed by hand, and are rebuilt whenever the page is reviewed. The reviewed date above is the date those numbers were last recomputed.
Typical input errors are worth a second look before you rely on a result: a comma used as a decimal separator, a value typed in the wrong unit, or two inputs swapped. If a result looks implausible, test the tool with a case you can do in your head, such as round numbers, and confirm it matches before trying your real figures.
Educational tool. Found an error? Tell us.