Night Shift Hours Calculator

Overnight shift? Get the exact hours worked, how many of them are "night hours", and your pay with a night differential.

Common night shifts

Night hours below use a 11 PM – 7 AM differential window.

ShiftUnpaid breakHours workedDecimalNight hours (11p–7a)
7:00 PM – 7:00 AM0 min12h12.008h
7:00 PM – 7:30 AM30 min12h12.008h
11:00 PM – 7:00 AM0 min8h8.008h
10:00 PM – 6:30 AM30 min8h8.007h 30m
3:00 PM – 11:00 PM0 min8h8.000h
6:00 PM – 6:00 AM0 min12h12.007h

The formula

Hours worked = (end time + 24 h if it is earlier than the start) − start time − unpaid break.

Night pay = night hours × differential (flat $) or night hours × base rate × differential %.

Frequently asked questions

How do you calculate hours for a shift that goes past midnight?

Add 24 hours to the end time, then subtract the start time. Example: 10:00 PM (22:00) to 6:00 AM (06:00 + 24 = 30:00) → 30 − 22 = 8 hours. The calculator does this automatically.

What is a night shift differential?

Extra pay for hours worked at night — either a fixed amount (e.g. +$2.00/hour) or a percentage (e.g. +10%). It usually applies only to hours inside a set window, such as 11 PM to 7 AM.

Is night differential required by law?

In the US there is no federal requirement to pay a night differential; it depends on your employer, union contract or, for federal employees, specific rules. If you do receive one, it must be included in your regular rate when overtime is calculated.

Which day do overnight hours count toward?

Payroll usually assigns the whole shift to the day it started, but some employers split hours at midnight. Check your employer’s policy — it can affect daily overtime.

Related tools