Key takeaways

  • Seven hours thirty minutes equals 7.50 decimal hours.
  • Use complete start and finish dates for overnight work.
  • State the break unit in the column heading.
  • Distinguish an elapsed-hours total from a clock-time display.

Copyable formulas and example cells

Enter 10 November 2026 22:00 in A2, 11 November 2026 06:00 in B2 and the number 30 in C2. D2 returns 7.50 decimal hours and should use a number format. E2 keeps the same net duration as an Excel day fraction; a duration format displays 7:30.

Column D contains numbers of hours; column E contains duration values. Sum D for decimal-hour totals. When summing E, use [h]:mm or its localized equivalent to display more than 24 hours. First check that finish is not before start and that the break is no longer than the interval.

D2: decimal hours · E2: duration value

D2: =(B2-A2)*24-C2/60
E2: =(B2-A2)-C2/1440
D33: =SUM(D2:D32)
E33: =SUM(E2:E32)

Divide minutes by sixty, not one hundred

Decimal hours represent the minute component as a fraction of sixty. Seven hours thirty minutes becomes 7 + 30/60 = 7.50. By contrast, 7.30 decimal hours equals seven hours eighteen minutes. Two decimal places do not make a number an hours-and-minutes duration.

Use simple checks before importing payroll data: fifteen minutes is 0.25 hours, thirty is 0.50 and forty-five is 0.75. Keep a readable duration column beside the decimal column. This gives you a quick way to catch a value that looks plausible but uses the wrong unit.

Divide minutes by sixty, not one hundred
DurationDecimal hoursCommon mistake
7 hours 15 minutes7.25Not 7.15
7 hours 30 minutes7.50Not 7.30
7 hours 45 minutes7.75Not 7.45

Set up full timestamps for overnight work

Put the complete start date-time in A, the finish date-time in B and excluded break minutes in C. September 12 at 22:00 and September 13 at 06:00 are different dates. Omitting the dates leaves an ambiguous subtraction that can appear negative.

With genuine Excel date-time values, =(B2-A2)*24-C2/60 gives net decimal hours. An eight-hour interval with a thirty-minute excluded break returns 7.50. The formula calculates duration; it does not decide whether the break is payable or whether the resulting hours qualify as overtime.

Why a thirty-hour total can display as six

A clock-style format may wrap at twenty-four hours, making a thirty-hour sum appear as 6:00. Microsoft’s elapsed-time examples use a bracketed format such as [h]:mm. Apply the equivalent custom duration format supported by your Excel locale rather than changing the underlying value.

Sum a decimal-hours column as numbers. A numerical 30.00 and a duration displayed as 30:00 are different representations. Label the total with its unit so another reader knows whether it is a quantity of hours or a time-formatted fraction of a day.

A midnight shortcut can hide a wrong date

Time-only spreadsheets often wrap a negative difference around one day. That can be convenient for a known overnight shift, but it also assumes the missing date. The same approach can conceal an incorrect finish or discard complete days from an unusually long interval.

Full timestamps leave the assumption visible. Flag a finish earlier than the start, a negative break or a break longer than attendance. Do not quietly turn an invalid row into zero, because the month-end total would then hide a record requiring correction.

Test an import with three representative rows

Before importing a month, select one ordinary shift, one overnight shift and one with a break. Check date order, decimal separator and text encoding. A file opening successfully in Excel does not establish that the columns were interpreted with the intended data types.

Preserve the original export and experiment on a copy. Compare the row count and totals after any conversion. A missing row or duplicated record can create a larger discrepancy than the formula itself, so verify both structure and arithmetic.

Validate duration before adding pay rules

Check intervals first, weekly classification second and the applicable rate third. A correctly calculated 7.50-hour shift is not necessarily 7.50 overtime hours. Changing a multiplier to force the expected total only masks a timestamp or break error.

The same approach applies to HourTally’s CSV and Excel-compatible reports. Keep the connection between the original shift, exported row and calculated total. A useful spreadsheet lets someone establish where 7.50 came from instead of asking them to trust an isolated number.

Questions you may still have

What does 7.30 decimal hours mean?+

It means seven hours eighteen minutes. Seven hours thirty minutes is 7.50 decimal hours.

How do I handle an overnight shift?+

Record the real next-day finish as a complete timestamp, then subtract the full start timestamp rather than assuming an unrecorded date.

How do I subtract a break recorded in minutes?+

For a decimal-hours result, divide break minutes by sixty. If the break is an Excel duration value, check that the units match before subtracting.

Sources and further reading