Skip to content

Time Duration Calculator

Work out the time between two clock times, or add and subtract hours, minutes and seconds.

  • 100% free
  • Runs in your browser
  • Instant results
Use h:mm, h:mm:ss or units such as 1h 30m 15s.
Quick answer

A time duration calculator converts times to seconds, does the arithmetic, and converts back. To find the time between two clock times it subtracts the start from the end, adding 24 hours if the end is past midnight. To add or subtract durations it works in base 60: 60 seconds in a minute and 60 minutes in an hour.

How to use the Time Duration Calculator

  1. Pick a modeChoose time between two clock times, add durations or subtract durations. The fields change to match.
  2. Enter the timesFor clock times use the time pickers and an optional break. For durations type forms like 2:45, 1:15:30 or 1h 30m.
  3. Read the resultThe answer is shown in hours and minutes, as h:mm:ss, as decimal hours and as total minutes and seconds.

How time arithmetic works

Time is counted in base 60, which is why you cannot add times like ordinary decimals: 2:45 plus 1:30 is not 3:75. The time duration calculator converts everything to seconds, using 1 hour = 3,600 seconds and 1 minute = 60 seconds, does the sum, and converts back.

Adding 2:45 and 1:30: 165 minutes + 90 minutes = 255 minutes = 4 hours 15 minutes.

For the time between two clock times, the start is subtracted from the end. From 09:00 to 17:30 is 8 hours 30 minutes. If the end time is earlier than the start, the tool assumes the period runs past midnight and adds 24 hours: 22:00 to 06:15 is 8 hours 15 minutes. An optional unpaid break in minutes is taken off the total, which is handy for timesheets.

Decimal hours and input formats

Payroll and billing usually need decimal hours rather than hours and minutes. Divide the minutes by 60: 8 hours 15 minutes is 8.25 hours, and 7 hours 40 minutes is 7.667 hours. Note that 8.25 hours is not 8 hours 25 minutes. The result table shows both forms so you can copy the one you need.

Durations can be typed in several ways:

  • h:mm or h:mm:ss, such as 1:30 or 0:02:15. Hours can exceed 24, for example 100:00.
  • Units, such as 1h 30m, 90m, 45s, 2 hours 5 minutes or 1d 4h.
  • A plain number is read as hours, so 1.5 means 1 hour 30 minutes.

Subtracting a longer duration from a shorter one gives a negative result, shown with a minus sign.

The clock-time mode works within a single 24-hour span and ignores dates, time zones and daylight saving changes. For spans of several days use the date difference calculator, and to change units, for example minutes to hours or days to seconds, use the time converter.

Frequently asked questions

How do I calculate the hours between two times?

Subtract the start time from the end time. If the end is past midnight, add 24 hours. The time duration calculator does this and can also take off an unpaid break.

How do I add hours and minutes together?

Add the minutes and the hours separately, then carry every 60 minutes over as 1 hour. For example 3:50 + 2:25 is 5 hours 75 minutes, which is 6:15.

How do I convert minutes to decimal hours?

Divide the minutes by 60. Fifteen minutes is 0.25 hours, 30 minutes is 0.5 hours and 45 minutes is 0.75 hours.

Does it work for night shifts?

Yes. If the end time is earlier than the start time, the period is treated as ending the next day, so 23:00 to 07:00 is 8 hours.

Can durations be longer than 24 hours?

Yes, in the add and subtract modes. Enter totals such as 36:30 or 2d 6h, and the result includes a row in days when it is a day or longer.

Last updated 24 November 2026 by the TheTechFolk team.