Overnight Shift Calculator

Calculate "Graveyard" hours that cross midnight. ● Auto-Saves

Total Hours

0.00

Est. Gross Pay

$0.00

How to Calculate Night Shift Hours

Calculating payroll for the "Graveyard Shift" (also known as Third Shift) is tricky because the workday starts on one calendar day and ends on the next. If you work from 10:00 PM to 6:00 AM, standard math suggests you worked negative hours. This tool fixes that.

1. The "Midnight Crossing" Problem

Most basic calculators confuse AM and PM when the day changes. MyShiftCalc uses a smart algorithm: if your "Time Out" is earlier than your "Time In," we automatically assume you worked overnight and add 24 hours to the calculation logic.

2. Calculating Shift Differentials

Night shift workers often receive a "Shift Differential"—extra pay per hour for working unsociable hours. For example, your base rate might be $17.00/hr, but the night rate is +$1.50/hr.

How to enter this:

In the Hourly Rate box above, enter your combined rate (Base + Differential).
Example: $17.00 + $1.50 = Enter 18.50.

Frequently Asked Questions (FAQ)

1. How do I calculate hours that cross midnight?

Simply enter your start time (PM) and end time (AM). Our calculator automatically detects the date change and calculates the correct duration.

2. What is a 3rd shift differential?

Many employers pay extra (e.g., +$1.00/hr) for overnight work. Enter your 'Differential Rate' in the hourly rate box to see your accurate gross pay.

3. Does this work for 4-day work weeks?

Yes. You can leave days blank if you work a compressed schedule (e.g., four 10-hour shifts).

Estimate overnight hours and straight-time pay

Enter the start and finish time for each shift and subtract unpaid break minutes. If the finish time is earlier than the start time, the calculator adds 24 hours. Equal start and finish times count as zero hours, so this tool is intended for shifts shorter than 24 hours.

Example with a night-shift differential

A 10:00 PM–6:00 AM shift with a 30-minute unpaid break gives 7.50 hours. For a $17 base rate plus a $1.50 hourly differential, enter $18.50 in the Rate + Diff field. The estimated straight-time pay is $138.75.

For a percentage differential, calculate the combined rate first: a $20 base rate plus 10% gives $22 per hour. Enter $22 in the single rate field. There is no separate percentage input or differential-pay breakdown.

One rate applies to every entered shift. Daily hours are rounded to two decimal places before totaling. The tool does not adjust for daylight-saving clock changes, calculate tax withholding, or apply overtime premiums. For a separate overtime estimate, use the Overtime Calculator.