CalculatorSignAll calculators

Hour Duration Calculator

Find hours, minutes, and seconds between two clock readings. Set how many midnight boundaries the interval crosses.

Hour Duration Calculator

Result
—

Use this calculator on your site

Paste the full code, including the CalculatorSign credit, into a Custom HTML block on your site.

Preview widget

Measure a span using two clock readings

Subtract the starting clock time from the ending clock time and add one day for each midnight crossed. The calculator accepts seconds when the device's time control supports them. It reports the span in hours, minutes and seconds and also converts that span to decimal hours. Pick the date-based tool if the readings represent different time zones, a clock change, or events many days apart with dates already recorded.

Decide where the midnight count starts

Suppose a recording begins at 22:15 and stops at 06:45 the following morning. Add the hour and 45 minutes before midnight to the six hours and 45 minutes after midnight. The duration comes to eight hours and 30 minutes. The decimal equivalent is 8.5 hours because half an hour is 30 out of 60 minutes. Enter one midnight, even though the interval is less than a full day.

Now suppose the end reading is 06:45 on the day after that. Enter two midnights. The extra overnight boundary adds 24 hours to the original 8 hours and 30 minutes, giving 32 hours and 30 minutes. This distinction matters when a device logs only times but a separate run log records its start and stop dates. Read the date column first to avoid silently dropping a full day.

For a short run beginning at 06:45 and ending at 07:15 on the same day, enter zero midnights. The result is 30 minutes. An ending reading earlier than the starting one with zero crossings produces a validation message. Check the order and source of the times before correcting the boundary count.

Read hours as decimals or as clock units

Twelve minutes is 0.2 hours. Twelve seconds adds roughly 0.003333 hours. A span of 7 hours, 12 minutes and 12 seconds is therefore about 7.203333 hours. The display may shorten the last digits in the decimal value while the hours, minutes and seconds still show the original precision. Typing 7.12 in a decimal-only field would represent 7 hours and 7.2 minutes.

For an invoice, timesheet or activity log, find out whether the recipient needs actual elapsed time or a rounded billing increment. Keep the exact start, end and midnight count alongside the precise result. Treat any policy rounding as a separate calculation. A record that shows only decimal hours may conceal whether the original source had minute or second precision, especially if an export displays just two digits after the decimal.

Keep time changes out of a clock-only calculation

This form treats each crossed midnight as another 24-hour interval on a fixed clock. A local clock that moves forward or backward changes how the readings relate to real elapsed time. For instance, a time written as 01:30 might occur twice during a fall-back transition. An elapsed-time estimate requires evidence of which offset applied to that particular reading. A stopwatch reading can help when there is no timestamp offset in the recorded history.

The same rule applies if a team starts a process from one time zone and receives the stop record from another. Reconstruct the dates and offsets first or use logs already recorded in UTC. Counting midnight boundaries between two unrelated local clocks can add a full day to the wrong pair of readings.

Use separate intervals for breaks

A shift from 08:20 to 16:05 contains 7 hours and 45 minutes on the clock. A 35-minute break leaves 7 hours and 10 minutes, assuming the whole break falls within the shift. Subtract breaks separately or calculate each working segment on its own and add the segment totals. That second method is useful for split appointments when the exact gap is already visible between consecutive records.

Take special care when breaks cross midnight. A break from 23:50 to 00:10 spans 20 minutes and needs one crossing in its own entry. Reusing the crossing count from a longer shift can give an implausible break length. Evaluate each pair against its own dates.

Frequently asked questions

What do two equal clock readings produce?

The same reading gives zero elapsed time with zero midnights. With one midnight it represents exactly 24 hours, and each additional boundary adds another 24. Use the recorded dates to resolve which interpretation fits.

Why can I enter more than one midnight?

Some measurements continue for several days, such as equipment run times and event schedules. The count preserves full days that have no way to appear inside a time-of-day field. A separate date and time duration tool can do the conversion when dates and offsets are already known.

How should I handle a time written as 24:00?

When the source uses 24:00 for the end of a calendar date, enter 00:00 at the beginning of the next date. Adjust the crossing count to reflect that boundary. For example, 23:00 to 24:00 becomes 23:00 to 00:00 with one crossing and yields exactly one hour.