Skip to content

Hours Calculator

Work out the hours between a start time and an end time, including shifts that cross midnight.

Details

Your Results

What Hours Calculator does

Timesheets, invoices and shift records all need the same calculation: how long between clocking in and clocking out, expressed in a form you can bill or record.

The result is given both as decimal hours, which is what payroll and invoicing usually want, and in hours and minutes.

  • Start and end time in 24-hour format
  • Handles shifts that cross midnight
  • Decimal hours and hours-and-minutes output

How to use Hours Calculator

  1. 1

    Enter the start and end times

    Use the time fields.

  2. 2

    Read both formats

    Decimal hours for invoicing, hours and minutes for a timesheet.

  3. 3

    Deduct breaks yourself

    Unpaid breaks are not subtracted automatically; work them out separately.

Example

A shift crossing midnight

Input

Start 22:30, end 06:15

Output

7.75 hours  (7h 45m)

When the end time is earlier than the start, the calculation assumes the shift ran into the following day.

Limits and known behaviour

  • Break time is not deducted.
  • An end time before the start is assumed to be the next day, so a shift longer than 24 hours cannot be expressed.
  • Overtime rules, rounding conventions and minimum-increment billing vary by employer and are not applied.
  • Daylight-saving transitions make one local day 23 or 25 hours long; a shift spanning one will be out by an hour.

Privacy and data handling

Runs entirely in your browser

  • The calculation runs in this page. Nothing you enter is transmitted or stored.
  • The tool works offline once the page has loaded.

Site-wide data handling, including analytics and advertising, is described in the privacy policy.

Frequently asked questions

How do I handle an unpaid break?

Calculate the full span, then subtract the break separately. A 30-minute break comes off as 0.5 decimal hours.

Why does payroll round my hours differently?

Many employers round to the nearest quarter hour or another increment defined by policy or by law. This gives the exact figure; apply your own rounding rule afterwards.