Overnight Shift Calculator

Calculate hours and gross pay when a shift crosses midnight

Payroll rules last updated: July 2026. Sources & methodology.

Overnight Shift

$

When clock-out is earlier than clock-in, the shift is treated as crossing midnight. Unpaid break minutes are subtracted from total worked time.

Shift Hours

8h 0m

8.00 decimal hours

Total minutes
480
Decimal hours
8.00
Gross pay
8.00 hrs × $22.00/hr
$176.00

Gross pay only. Shift differentials, overtime rules, and taxes are not modeled here. See Sources & methodology for assumptions.

How this is calculated

Night shifts often start before midnight and end the next morning. When clock-out is earlier than clock-in on a 24-hour clock, this tool adds 24 hours to the elapsed time so the shift length is correct.

Unpaid break minutes are subtracted from total minutes worked. Enter your base hourly rate to see gross pay for the shift. Shift differentials, overtime premiums, and taxes are not modeled here.

For a full weekly time card with overtime, use the time card calculator.

Formula

Shift hours = elapsed time across midnight - unpaid breaks; gross pay = decimal hours × hourly rate

Numbers and assumptions are documented on our Sources & methodology page.

Common questions

No. Enter your base hourly rate only unless you have already combined shift premium into the rate.