Time Duration Calculator

Calculate hours and minutes between two times, including overnight shifts, add several intervals, subtract breaks and convert to decimal hours.

8:30:00
Total duration (h:mm:ss)
8:30:00
In words
8 hours, 30 minutes
Decimal hours
8.5
Total minutes
510
Total seconds
30,600

If the end time is earlier than the start time, the interval is assumed to end the next day (e.g. 22:00 → 06:00 = 8 hours).

Decimal hours → h:mm:ss

7:45:00

What is Time Duration Calculator?

Calculates the duration between a start time and an end time, also when the end is after midnight. You can add several intervals (like a timesheet), subtract a break and see the result as h:mm:ss, in words, in decimal hours, minutes and seconds.

How to use Time Duration Calculator

  1. Enter the Start time and End time of an interval.
  2. Click Add interval to add more rows, for example morning and afternoon blocks.
  3. Enter a Break to subtract (minutes) if needed.
  4. Read the total in h:mm:ss, decimal hours and minutes; use the decimal hours converter below to turn values like 7.75 into 7:45:00.

Example

Input
09:00 to 17:30 with a 30-minute break
Output
8:00:00 – 8 decimal hours – 480 minutes

When to use Time Duration Calculator

Use it for timesheets, shift lengths, billing hours and travel times within a day. For intervals spanning several days or specific dates, use the date difference calculator with times.

How Time Duration Calculator works

Each time is converted to seconds since midnight. If the end time is earlier than the start time, 24 hours are added because the interval is assumed to end the next day. The intervals are summed and the break is subtracted. Decimal hours are total seconds divided by 3600; the converter multiplies decimal hours by 3600 and formats the result as h:mm:ss.

Common Use Cases

  • Calculating hours worked for a timesheet
  • Computing a night shift from 22:00 to 06:30
  • Converting worked time to decimal hours for invoicing
  • Adding up several work blocks in a day

FAQs

How do I calculate a shift that ends after midnight?

Just enter the times, e.g. 22:00 and 06:30. When the end is earlier than the start, the tool assumes the next day and shows ‘next day’.

What are decimal hours?

Time written as a decimal number of hours, used in payroll: 7 hours 45 minutes is 7.75 hours.

Can an interval be longer than 24 hours?

A single start/end pair covers at most 24 hours. Add more rows, or use the date difference calculator for multi-day periods.

Explore more categories