Time Duration Calculator
Calculate the hours and minutes between two times, including overnight shifts, with an optional break. Shows decimal hours, total minutes and seconds. Free.
Runs in your browser. Nothing is uploaded.
About Time Duration Calculator
Type a start and end time to get the duration in hours and minutes, decimal hours, total minutes and total seconds. Times can be 24-hour (17:40), 12-hour (5:40 pm) or include seconds (9:15:30).
If the end time is earlier than the start, the calculator assumes it's the next day, so 22:00 to 6:30 gives 8 h 30 min. Enter a break in minutes to subtract a lunch or rest period.
Decimal hours are what most timesheets and invoices need: 7 h 45 min is 7.75 hours.
How to use Time Duration Calculator
- Enter your values in the fields.
- The answer updates instantly as you type.
- Press Copy result to save the breakdown.
Frequently asked questions
How do I convert minutes to decimal hours?
Divide by 60. 45 minutes is 0.75 hours, 20 minutes is 0.333 hours. The Decimal hours row does this for you.
Does it handle night shifts?
Yes. When the end time is before the start time, it's counted as the following day.
Is Time Duration Calculator free and private?
Yes. Time Duration Calculator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.