Scheduling

Hours Calculator

Calculate worked hours between two clock times, including overnight spans and break deduction, then view the same result as decimal hours.

Last reviewed May 18, 2026 by ToolSpilo Editorial Team.

Review method: Reviewed against implemented hour conversion logic and worked examples.

Calculator tool

How this calculator works

Use the explanation to understand the formula, assumptions, and practical limits behind the calculator result.

How the Calculator Reads a Shift

The calculator converts the start and end times into minutes, finds the elapsed span, then subtracts the break duration.

Overnight Handling

If the end time is earlier than the start time, the tool treats the shift as crossing midnight and adds 24 hours before subtracting the break.

ShiftElapsed span before break
09:00 to 17:308h 30m
22:00 to 06:008h 00m

Breaks and Decimal Hours

Break minutes are deducted from the elapsed span. The result panel also shows decimal hours, which are useful for payroll exports and spreadsheet work.

What This Does Not Decide

The calculator measures elapsed work time only. It does not determine whether a break is paid, whether overtime applies, or how local labor law classifies the shift.

Frequently asked questions

How does the calculator handle a shift that passes midnight?

If the end time is earlier than the start time, it assumes the end time is on the next day and adds 24 hours to the span.

Should I enter paid or unpaid breaks?

Enter the break minutes you want deducted from worked time. Whether a break is paid depends on the workplace rule or local law, not on the calculator.

Why show decimal hours?

Payroll systems often use decimal hours. For example, 7h 30m equals 7.50 hours.

Does this calculator decide overtime?

No. It only measures the hours in one span. Overtime depends on the applicable pay rules and often on the total workweek.