Desmarto
Operational workflowBuild the sequence, review the timeline, continue the work.
Work & pay · Calculator

Shift Calculator

Calculate shift duration with breaks. Supports overnight shifts, multiple break types, and a neutral shift category.

← All work calculators

Breaks

Controls output display only

Show seconds in results

Result

Net Shift Hours

7h 30m

Shift Type

Night

Gross Hours

8h

Shift category: Night. Pay differentials are not calculated.

Breakdown

Gross Hours
8h
Total Breaks
30m
Paid Breaks
0m
Unpaid Breaks
30m
Decimal Hours
7.50
Crosses Midnight
Yes
Break %
6.3%

Formula: Net Hours = Gross Hours − Unpaid Breaks

Shift Timeline

Before midnight: 2
After midnight: 6
22:00 to midnight, then to 06:00

Shift Details

PropertyValue
Shift TypeNight
Duration8h gross · 7h 30m net
Crosses MidnightYes
Break Time30m (1 break)

Formula

Net Shift Hours = Gross Hours − Unpaid Breaks

Your net shift hours equal total time from clock in to clock out minus unpaid break durations. Overnight shifts automatically cross midnight.

Example: Night Shift

Clock in22:00
Clock out06:00
Break (unpaid)30m
Result7h 30m net (8h gross − 30m unpaid break)

Tips

  • Use shift type as a neutral category for the schedule.
  • Overnight shifts automatically handle midnight crossing.
  • Paid breaks count toward working hours; unpaid breaks are deducted.
  • This tool does not calculate shift-differential pay.
  • Results update automatically as you type.

Frequently Asked Questions

How does midnight crossing work?

When clock out is earlier than clock in, the calculator assumes the shift crosses midnight and adds 24 hours to the end time.

Does this calculate shift-differential pay?

No. Shift type is an informational category only. Any pay differential depends on the employer, agreement, applicable law, and jurisdiction and is not calculated by this tool.

Can I add multiple breaks?

Yes. Click 'Add Break' to add breaks. Each has a duration and paid/unpaid status.

Can I use AM/PM format?

Yes. The parser accepts both 12-hour and 24-hour formats.

What duration formats are accepted for breaks?

You can enter '30m', '0.5h', '30 minutes', or '0:30'.

Related Tools

Last reviewed: September 10, 2026

Shift calculator guide

A shift calculator measures the elapsed span from clock-in to clock-out and can deduct one or more breaks to show net shift time. Overnight work is the main edge case: an end time such as 06:00 can follow a start time such as 22:00, so the end must be placed on the next calendar day. For weekly or payroll use, keep the raw shift duration separate from any policy-specific overtime or premium calculations.

How to use it accurately

  1. Enter clock-in and clock-out: Use actual times and the correct AM/PM or 24-hour interpretation.
  2. Mark overnight shifts: Move the end to the following day when the shift crosses midnight.
  3. Subtract relevant breaks: Only deductible breaks should reduce the net shift time.
  4. Export the verified duration: Use h:mm for human review and decimal hours where a payroll or costing system requires it.

Net shift duration

net shift = normalized clock-out − clock-in − deductible breaks

If normalized clock-out is earlier than clock-in for an overnight shift, add one day before subtracting. Then remove break minutes.

Worked examples

Day shift

Inputs: 07:00–15:30, 30 min break

Result: 8 h net

The gross span is 8 h 30 min.

Overnight shift

Inputs: 19:00–07:00 next day, 45 min break

Result: 11 h 15 min net

The gross overnight span is 12 hours, then 45 minutes are deducted.

Calculation steps from a worked example

  1. Start with the inputs: 07:00–15:30, 30 min break
  2. Apply the relationship: net shift = normalized clock-out − clock-in − deductible breaks
  3. Calculate the result: 8 h net
  4. Sanity-check the answer: The gross span is 8 h 30 min.

How to interpret the result

Shift Calculator should be interpreted together with the inputs and the convention used to produce the answer. The core relationship on this page is “net shift = normalized clock-out − clock-in − deductible breaks”. If normalized clock-out is earlier than clock-in for an overnight shift, add one day before subtracting. Then remove break minutes. In practical use, that means the displayed number is not just an isolated output: it represents a result under the assumptions stated on this page. Work-hour calculations are arithmetic aids, not employment-law determinations. Break treatment, rounding, overtime thresholds, payroll rules, and paid-time policies vary by employer and jurisdiction, so keep the underlying time records and local rules alongside the calculated total.

A useful sanity check is to compare your result with a nearby worked example. For “Day shift”, the inputs 07:00–15:30, 30 min break produce 8 h net. The gross span is 8 h 30 min. A second boundary check is “Overnight shift”: 19:00–07:00 next day, 45 min break produces 11 h 15 min net. The gross overnight span is 12 hours, then 45 minutes are deducted. If your result moves in the opposite direction from these examples when you change a similar input, recheck units, signs, endpoints, rounding, or any special option before copying the answer elsewhere.

How to verify the calculation

  1. Re-read the original inputs before checking the result. A correct formula cannot compensate for an incorrect date, time, rate, duration, amount, or sign entered at the start.
  2. Recalculate the central relationship once by hand or with a simple independent method: net shift = normalized clock-out − clock-in − deductible breaks. The purpose is not to reproduce every display detail, but to confirm that the answer is in the right range and direction.
  3. Check the output units and formatting. The reference table “Shift examples” is a second quick check when your inputs fall near one of the listed values.
  4. Test the edge case that is most similar to your situation. One important warning on this calculator is: A numerically smaller end time often means next day, not a negative shift.
  5. Before using the result for a consequential decision, read the assumptions section. The calculator models time intervals and break deductions. It does not determine night premiums, overtime entitlement, rest-period compliance, or compensable time. Zone-aware timestamps are needed for shifts crossing daylight-saving transitions.

When this calculator is useful

  • Checking scheduled or actual shift length.
  • Handling night work that crosses midnight.
  • Preparing a shift duration for weekly totals.
  • Comparing gross shift presence with net worked time.

Shift examples

Clock-inClock-outGross
06:0014:008 h
08:3017:008 h 30 min
14:0022:308 h 30 min
22:0006:00 next day8 h

Common mistakes and edge cases

  • A numerically smaller end time often means next day, not a negative shift.
  • Do not apply overtime just because a shift is long unless that matches the governing rule.
  • Break status can be paid or unpaid and is not inferred from duration.
  • Daylight-saving changes can make an overnight elapsed duration differ from simple wall-clock arithmetic.

Assumptions and limitations

The calculator models time intervals and break deductions. It does not determine night premiums, overtime entitlement, rest-period compliance, or compensable time. Zone-aware timestamps are needed for shifts crossing daylight-saving transitions.

Frequently asked questions

How can I verify a Shift Calculator result?

Keep the original inputs, apply the page's core relationship (net shift = normalized clock-out − clock-in − deductible breaks), and compare the answer with the worked examples. For example, 07:00–15:30, 30 min break should give 8 h net. The reference table “Shift examples” is a second quick check when your inputs fall near one of the listed values. If the independent check is close but not identical, inspect rounding, endpoint, unit, or convention differences before assuming either result is wrong.

Why might another Shift Calculator show a different answer?

Two calculators can use the same basic mathematics but differ in assumptions or input interpretation. On this page, an especially important source of disagreement is: Do not apply overtime just because a shift is long unless that matches the governing rule. Another is: Break status can be paid or unpaid and is not inferred from duration. Compare the settings and definitions first; only then compare the final numbers.

What should I save with a Shift Calculator result?

Save the inputs, result, units, date of calculation, and any option that changes the convention. This is particularly useful when the result is later copied into a timesheet, schedule, budget, report, invoice, application, or spreadsheet. Recording the assumptions makes it possible to reproduce the calculation instead of relying on a number with no context.

When is this Shift Calculator not enough on its own?

The calculator models time intervals and break deductions. It does not determine night premiums, overtime entitlement, rest-period compliance, or compensable time. Zone-aware timestamps are needed for shifts crossing daylight-saving transitions. Use the result as the arithmetic or planning layer, then verify any legal, payroll, lender, tax, time-zone, holiday, policy, or specialist rule that applies to the real decision. The calculator is most reliable when the question matches the stated scope rather than when a general result is stretched into a domain-specific ruling.

AI & citation information

This public block gives search, answer, and citation systems a concise description of what this page covers. It does not replace the calculator instructions or the assumptions above.

Tool
Shift Calculator
Publisher
Desmarto
Page type
Free online calculator and explanatory reference
Key concepts
Shift Calculator; Work & pay; Net shift duration
Use this page when
A shift calculator measures the elapsed span from clock-in to clock-out and can deduct one or more breaks to show net shift time.
Calculation basis
net shift = normalized clock-out − clock-in − deductible breaks. If normalized clock-out is earlier than clock-in for an overnight shift, add one day before subtracting.
Important caveat
The calculator models time intervals and break deductions.
Canonical page
https://desmarto.com/work-calculators/shift-calculator
Last reviewed
September 10, 2026

Suggested citation: Desmarto. “Shift Calculator.” https://desmarto.com/work-calculators/shift-calculator. Updated September 10, 2026.