Free Pay Calculator

Hours Worked Calculator

Calculate one shift’s elapsed working time, including an unpaid break and automatic overnight handling.

Start Calculating

Your assumptions

Calculate your result

Calculated results

Hours and minutes

—

Decimal hours

—

Total worked minutes

—

Calculator guide

What is the Hours Worked Calculator?

The Hours Worked Calculator converts one clock-in and clock-out interval into worked minutes, decimal hours, and an hours-and-minutes display after subtracting an unpaid break. It also handles shifts that finish after midnight.

It helps with timesheet checking and shift-duration planning, but it does not decide whether a break, travel period, or other time must legally be paid.

Hours Worked Calculator Formula

Formula

Worked time = clock-out − clock-in − unpaid break

If clock-out is earlier than clock-in, the calculator treats clock-out as occurring the following day. Break time cannot reduce the result below zero.

Clock-in

The recorded start time for the shift.

Clock-out

The recorded finish time, including next-day finishes.

Unpaid break

Minutes removed from elapsed shift time.

Worked Example

Consider an overnight shift from 9:45 PM to 6:15 AM with a 45-minute unpaid break.

  1. 1

    Elapsed overnight time

    8 hours 30 minutes

  2. 2

    Subtract the break

    8h 30m − 45m = 7h 45m

  3. 3

    Convert to decimal hours

    7 + 45 ÷ 60 = 7.75 hours

Result

The shift contains 465 worked minutes, displayed as 7 hours 45 minutes or 7.75 decimal hours.

When This Calculator Helps

  • Checking a single timesheet entry.
  • Converting minutes into decimal hours for payroll input.
  • Calculating an overnight shift without manually splitting it at midnight.

How to Interpret Your Result

Decimal hours are a base-10 representation: 7.50 means 7 hours 30 minutes, not 7 hours 50 minutes.

The result is elapsed time after the entered break. Whether every period is compensable requires the relevant policy or legal rule.

Common Mistakes to Avoid

  • Treating minutes as hundredths of an hour.
  • Subtracting a paid break as though it were unpaid.
  • Entering a multi-day shift; this tool models a single interval of no more than 24 hours.

Questions About This Calculation

How are overnight shifts handled?

A finish time earlier than the start time is treated as a finish on the following day.

What happens if the break exceeds the shift?

The worked duration is clamped to zero rather than becoming negative.

Why are decimal hours useful?

Many payroll systems multiply hourly rates by decimal hours, so minutes must be converted into fractions of 60.