Shift Calculator
Calculate the total duration of a work shift from start time to end time, including overnight shifts that cross midnight. Deducts break time and shows net worked hours. Perfect for nurses, factory workers, retail staff, and anyone tracking shift-based work schedules.
This free online shift calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
Shift start hour in 24-hour format
Shift start minute (0-59)
Shift end hour in 24-hour format
Shift end minute (0-59)
Total break time to deduct (minutes)
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Shift Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Shift Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
Formula Reference
Shift Calculator Formula
See calculator inputs for the governing equation
Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.
When to Use This Calculator
- •Use the Shift Calculator when you need accurate results quickly without the risk of manual computation errors or unit conversion mistakes.
- •Use it to verify calculations made by hand or in spreadsheets — an independent check can catch errors before they lead to costly decisions.
- •Use it to explore how changing input parameters affects the output — a quick way to develop intuition and identify the most influential variables.
- •Use it when collaborating with others to ensure everyone is working from the same numbers and applying the same assumptions.
About This Calculator
The Shift Calculator is a free, browser-based calculation tool for engineers, students, and technical professionals. Calculate the total duration of a work shift from start time to end time, including overnight shifts that cross midnight. Deducts break time and shows net worked hours. Perfect for nurses, factory workers, retail staff, and anyone tracking shift-based work schedules. It implements standard formulas and supports both metric (SI) and imperial unit systems with automatic unit conversion. All calculations are performed instantly in your browser with no data sent to a server. Use this calculator as a quick reference and sanity-check tool during design, analysis, and learning. Always verify results against primary engineering references and applicable standards for any safety-critical application.
About Shift Calculator
The Shift Calculator determines the total duration of a work shift from clock-in to clock-out, properly handling overnight shifts that cross midnight. It deducts break time to show both gross (total presence) and net (actual worked) hours, displayed in hours-and-minutes and decimal format. This is essential for shift workers in healthcare, manufacturing, hospitality, security, and transportation, where schedules often span the midnight boundary. Payroll departments rely on accurate shift calculations to process wages correctly.
The Math Behind It
Formula Reference
Shift Duration
grossMinutes = endTime - startTime (+ 1440 if overnight)
Variables: startTime and endTime in minutes from midnight, 1440 = minutes per day
Worked Examples
Example 1: Night Shift Duration
Calculate net hours for a shift from 22:00 to 06:30 with a 30-minute break.
Gross: 8 hours 30 minutes. Net: 8 hours 0 minutes (8.00 decimal).
Example 2: Day Shift Duration
Calculate net hours for a shift from 07:00 to 15:30 with a 45-minute break.
Gross: 8 hours 30 minutes. Net: 7 hours 45 minutes (7.75 decimal).
Common Mistakes & Tips
- !Not handling the midnight crossover. A shift from 23:00 to 07:00 is 8 hours, not -16 hours. When end time is less than start time, add 24 hours to the end time before subtracting.
- !Double-counting paid breaks. If a 15-minute break is paid, do not deduct it from gross hours. Only deduct unpaid breaks (typically meal breaks of 30+ minutes).
- !Confusing clock time with duration. A shift from 10:00 PM to 6:30 AM lasts 8.5 hours, not 3.5 hours (which would result from naively subtracting 6:30 from 22:00 in 12-hour format).
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
How does this handle overnight shifts?
When the end time is earlier than or equal to the start time (e.g., start at 22:00, end at 06:30), the calculator assumes the shift crosses midnight and adds 24 hours to the end time. It does not support shifts longer than 24 hours.
What is a typical night shift differential?
US night shift differentials typically range from 5-15% above the base hourly rate, though they can be higher in healthcare and specialized industries. Federal employees receive a standard 10% differential for regularly scheduled night work (between 6 PM and 6 AM).
Should I include paid breaks in my shift hours?
It depends on your workplace policy and local law. Short rest breaks (5-20 minutes) are usually paid and should be included. Unpaid meal breaks (30-60 minutes) should be deducted. Enter only unpaid break time in the break minutes field to get accurate net hours.