Skip to content

Time duration calculator

Free time duration calculator for hours, minutes and seconds between clock times. Choose an overnight interval and convert the result to decimal hours.

By Calcr · Updated

Time duration calculator: Measure a clock interval

Enter the start and end times. If the end belongs to the following day, enable next day explicitly. A later clock date is a choice you make; the tool does not infer it from an earlier-looking end time.

Formula

Convert each time to minutes after midnight: hours * 60 + minutes. Duration = end minutes - start minutes, adding 1,440 minutes when next day is selected. Divide the result by 60 to recover whole hours and remaining minutes.

Worked examples

  • 09:15 to 17:45 on the same day is 510 minutes, or 8 hours 30 minutes.
  • 22:40 to 01:10 with next day selected is 150 minutes, or 2 hours 30 minutes.
  • 08:00 to 08:00 is zero on the same day, or 24 hours when the end is the next day.

Limits

This is a clock-time calculation without dates or time zones. It does not account for daylight saving changes, travel between zones or leap seconds. Breaks are not deducted. For a work shift, subtract unpaid breaks separately and use your employer's rounding rules only if they apply.

When to use this time duration calculator

Use this free time duration calculator for an interval between two clock times under a stated same-day or next-day assumption. It can check a study session, a workshop timetable or the clock span of a work shift. Enter 24-hour times so morning and evening cannot be confused, and select next day only when the end is on the following calendar day.

The result shows hours, minutes and seconds along with decimal hours and total minutes. These are different representations of the same interval. Choose the representation that matches the next task: a timetable may need hours and minutes, while multiplying a duration by an hourly amount needs decimal hours. A minute is one sixtieth of an hour, so the digits after a decimal point are not a minute field.

Do not use this form for a flight between time zones, a dated interval crossing a daylight-saving change or a span across several days. It has no dates or timezone database. Next day adds exactly 24 hours to the end clock reading; it does not check whether a particular local calendar day contained 23 or 25 hours. Use a timestamp-aware tool when actual elapsed time matters.

Example: separating a shift from its unpaid break

A shift starts at 08:20 and ends at 16:50 on the same day. The clock span is 8 hours 30 minutes, or 510 minutes. If there is a 45-minute unpaid break under the applicable arrangement, subtract it separately: 510 - 45 = 465 minutes. Divide by 60 to get 7.75 hours, which is 7 hours 45 minutes.

The result panel initially shows the full clock span, not the paid portion, because this form does not know the break length. Multiplying 7.45 by an hourly amount would be wrong if you meant 7 hours 45 minutes. Use 7.75 for decimal hours. Whether a break is paid and whether times are rounded depend on the relevant policy; this calculation supplies neither a payroll rule nor a legal decision.

Example: an overnight interval with seconds

Start at 23:50:30 and finish at 00:15:45 on the next day. There are 9 minutes 30 seconds until midnight and another 15 minutes 45 seconds afterward. The total is 25 minutes 15 seconds, or 1,515 seconds. Dividing by 60 gives 25.25 total minutes. Dividing by 3,600 gives approximately 0.420833333333 decimal hours.

Without the next-day choice, the ending clock reading is earlier and the form rejects the interval. It does not silently guess that you crossed midnight. If the actual finish were the next evening instead, you would need to enter that actual clock time and date relationship. The two clock readings alone cannot distinguish a short overnight interval from a much longer event with missing dates.

An end on the next day can also be later on the clock than the start. For example, 09:00 today to 10:00 tomorrow is 25 hours, not one hour. The next-day option records that extra calendar step explicitly. Read it before calculating a result you intend to share. Equal clock readings likewise mean zero hours on the same day or 24 hours with the next-day end selected.

Keep raw clock records if the result will be reviewed later. Writing only “8.5” loses the start, end and next-day assumption. When combining several sessions, convert each to the same unit before adding, and calculate unpaid breaks separately as appropriate. If all you need is an average session length, use the average calculator with total minutes rather than mixing values such as 1.30 and 90.

Check the representation before pasting a result into another program. A spreadsheet cell formatted as a time can interpret 8.5 as a number of days or another date value, depending on its format. If you need a numeric duration in hours, use the decimal-hours detail and label the column. If you need an elapsed clock display, retain hours, minutes and seconds separately. Copying the main result preserves its unit labels, but another application may still require a different input format. Review one known interval after importing a set of durations rather than assuming the format was preserved.

FAQ

Is 8 hours 30 minutes equal to 8.30 hours?

No. Thirty minutes is half an hour, so the decimal duration is 8.5 hours.

Why must I choose next day?

The same two clock times can describe different intervals. Explicit selection avoids silently assuming an overnight shift.

Can this calculate a multi-day interval?

Use the date calculator for calendar days. This form measures one pair of clock times with an optional next-day end.

How do I convert decimal hours back to minutes?

Multiply the fractional part by 60. A duration of 2.75 hours contains two whole hours plus 0.75 * 60 = 45 minutes. A duration of 2.30 decimal hours contains two hours and eighteen minutes, not thirty minutes. Keep the label “decimal hours” when exporting a result so another person or spreadsheet does not read the digits as a clock display.

Does the calculator round clock-in times to a payroll interval?

No. It calculates from the exact clock values supplied and does not round them to five, six, ten or fifteen minutes. If an applicable policy requires a separate rounding procedure, check that policy and retain the original times. Rounding each endpoint can give a different result from rounding the final duration, so those operations should not be substituted for each other without an explicit rule.

Related tools and guides

KEEP EXPLORING

A few useful next steps