JSJ Toolbox · Pay & Work

Hours Calculator

Turn clock times into decimal hours for a timesheet or invoice. Add as many shifts as you need; overnight shifts are handled.

Rounding follows the method the US Department of Labor allows at 29 CFR 785.48 — it is off unless you choose it.

Total time worked
0.00 hours

That's 0:00 (hours:minutes)

How this is calculated

For each shift, the calculator subtracts the start time from the end time (adding 24 hours when a shift runs past midnight) and subtracts your unpaid break. The result is plain elapsed-time arithmetic — the same math behind every time card.

Rounding. Federal rules don't require employers to record every minute exactly. 29 CFR 785.48 allows rounding recorded starting and stopping times to the nearest 5 minutes, tenth of an hour, or quarter hour, as long as the practice averages out over time. This calculator leaves rounding off by default and applies it per shift, the way the regulation describes, when you select it.

Worked example

A shift from 8:47 AM to 5:12 PM with a 30-minute unpaid lunch is 8 hours 25 minutes at work, minus 30 minutes of break = 7 hours 55 minutes = 7.92 hours. With quarter-hour rounding on, that shift counts as 8 hours 0 minutes = 8.00 hours.

Common questions

How do I write 7 hours 30 minutes as a decimal? Minutes ÷ 60: 30 ÷ 60 = 0.5, so 7.5 hours. Fifteen minutes is 0.25, forty-five is 0.75.

My shift crosses midnight. Enter the times as they appear on the clock (for example 10:00 PM to 6:00 AM). When the end time is earlier than the start time, the calculator treats the end as the next day.

Does rounding short-change me? Under 29 CFR 785.48 a rounding practice is only acceptable if it averages out so employees are fully paid over time. If your employer's rounding always seems to round down, that's worth a conversation — this calculator shows you the exact minutes so you can check.

Disclaimer: this calculator does arithmetic on the times you enter; it is a planning aid, not legal or payroll advice. Whether particular time counts as paid working time is defined by the Fair Labor Standards Act and your employer's policies — check with your employer or the Department of Labor if a figure matters.