Skip to content
DoItJag

Time Duration Calculator

Work out how long it is from one clock time to another, or total up a list of durations such as shifts or tasks.

Time between two clock times
Add or subtract durations

Write each duration as h:mm or h:mm:ss (hours can be more than 24). Start a line with a minus sign to subtract it.

About Time Duration Calculator

Time Duration Calculator answers two everyday questions: how long is it from one clock time to another, and what do several durations add up to? Every result is shown as hours and minutes, in words, and as decimal hours, which many timesheets and invoices ask for.

When to use it

  • You want the length of a shift, a flight or a night’s sleep.
  • You are filling in a timesheet and need the total of several sessions.
  • A break or an unpaid lunch must be taken off a day’s total.
  • A client is billed by the hour and needs the time as a decimal.

Worked example

A night shift starts at 22:00 and ends at 06:30. The end time is earlier than the start, so the tool takes it to be the next morning and shows 8:30, or 8 hours 30 minutes. In decimal that is 8.50 hours, because 30 minutes is half an hour. A day shift from 08:45 to 17:15 gives exactly the same answer.

For a list, type one duration per line:

1:30
2:45
0:50
-0:20

The first three lines add up to 5 hours 5 minutes, and the minus sign on the last line takes 20 minutes away. The total is 4:45, which is 4.75 decimal hours. Seconds are allowed too, as in 0:45:10.

Good to know

  • Write durations as h:mm or h:mm:ss. Hours can go above 24, so 100:00 is a valid entry, but minutes and seconds must be from 0 to 59.
  • A plain number such as 1.5 is rejected, because it could mean hours or minutes. Write 1:30 instead.
  • Decimal hours are the total seconds divided by 3,600, rounded to two places. 20 minutes shows as 0.33.
  • If both times are the same, the duration is 0. Add 24:00 in the list for a full day.
  • Clock times have no date or time zone, so the hour gained or lost when clocks change is not included. To compare times across places, use the Time Zone Converter.

How to use Time Duration Calculator

  1. Enter a start time and an end time to see the duration between them.
  2. Or type durations in the list, one per line as h:mm, with a minus sign to subtract.
  3. Read the total in hours and minutes and in decimal hours.

Privacy: how it works

Calculations run in your browser. Nothing you type is sent anywhere.

Frequently asked questions

What if the end time is earlier than the start time?

The end time is taken to be on the next day, so 22:00 to 06:30 is 8 hours 30 minutes. A note appears when this happens.

What are decimal hours?

The same duration written as a single number of hours, used on many timesheets: 7 hours 45 minutes is 7.75 hours. The tool divides the total seconds by 3,600 and rounds to 2 decimal places.

Does it allow for daylight saving time?

No. It works with clock times only, without dates or time zones. On the night the clocks change, a real shift is an hour shorter or longer than the clock times suggest.