UtilityToolsLab

© 2026 UtilityToolsLab. Built and maintained by the UtilityToolsLab Team.

About·Changelog·Privacy Policy·Terms of Service·Contact
HomeDate & Time ToolsTime Duration

Related Tools

Date DifferenceWorking DaysTime Zone ConverterDate Add / SubtractCountdown TimerTime Card Calculator

Time Duration Calculator — Hours & Mins

Find the time between two clock times, even across midnight, or add and subtract durations like 1:45:30 and 2h 15m, with decimal hours and minutes.

You Might Also Like

All Date & Time Tools

Date Difference

How many days between two dates? Get the exact gap in years, months and days, plus the total in days, weeks, hours and minutes. Leap years handled.

Working Days

Count business days between two dates, excluding weekends and any public or custom holidays. Add N working days to find a deadline. 5-day or 6-day work week.

Time Zone Converter

Convert any date and time across 40 IANA time zones simultaneously. DST handled automatically. Copy any result with one click. No server, no sign-up.

Date Add / Subtract

What date is 90 days from today? Add or subtract years, months, weeks, days, hours or minutes from any date, with month-end handling and ISO week number.

How long is a shift from 09:15 to 17:40? How much is 1:45:30 plus 2:20:15, less a 30-minute break? Clock arithmetic trips people up because it carries at 60, not 10, and because a shift can run past midnight. This calculator handles both questions and shows the answer as hours, minutes and seconds, in words, and as decimal hours for a timesheet or invoice.

Between two times takes a start and an end in 24-hour or am/pm form. Add & subtract durations takes a list, one duration per line, and a line that starts with a minus is taken away. Each list line is shown with how it was read and the running total after it, so a mistyped entry is easy to spot.

Worked Example: A 09:15 to 17:40 Day

The page opens on 09:15 to 17:40, which is 8:25:00: 8 hours 25 minutes, or 8.4167 decimal hours, 505 minutes and 30,300 seconds. Switch to Add & subtract durations and the sample list is 1:45:30, 2:20:15, -0:30:00 and 45m, which totals 4:20:45, or 4.3458 hours.

Load Sample moves on to a night shift from 22:30 to 06:15 (7:45:00, flagged as crossing midnight) with five nights adding up to 38:25:00, then a list in mixed units, 2h 15m, 90m, 1.25h and 0:50, which comes to exactly 5:50:00.

The Method: Everything Counted in Whole Seconds

  • Every time and duration is turned into whole seconds before any adding or subtracting, so a long list never drifts the way decimal hours can. The answer is turned back into hours, minutes and seconds at the end.
  • Between two times, the duration is end minus start. When the end is earlier than the start, one day (86,400 seconds) is added first, which is how 22:30 to 06:15 becomes 7 hours 45 minutes instead of a negative number.
  • Decimal hours are seconds divided by 3,600, rounded to 4 places: 8:25:00 is 8.4167 and 7:45:00 is 7.75.

Edge Cases: Formats, Negatives and Days

  • A list line can be 1:30 (hours and minutes), 1:30:45, 2h 15m 10s, 1h30, 90m, 45 min, 1.5h or 30s. A plain number such as 90 is minutes.
  • Hours are not wrapped at 24 in a list, so five nights read 38:25:00, and the words line adds days: 26:03:04 reads “1 day 2 hours 3 minutes 4 seconds.” A list that subtracts more than it adds shows a negative total.
  • A line that can’t be read stops the sum and names it: typing banana on line 2 shows “Line 2: "banana" isn’t a duration. Write it as 1:30 (h:mm), 1:30:45, 1h 30m, 90m or 1.5h.” A decimal comma such as 2,5h is refused rather than guessed.
  • With am or pm the hour must be 1 to 12, so 13:00 pm is refused, and 12:00 am is midnight. The Now link beside each time box fills in the current time.
24-hour or am/pm. An end time earlier than the start counts as the next day.
Duration

8:25:00

8 hours 25 minutes

09:15 → 17:40

Decimal hours
8.4167
Total minutes
505
Total seconds
30,300

Read as 09:15 to 17:40 in 24-hour time. For a span longer than a day, or between two dates, use the Date Difference calculator.