AZCalculate logo

Date & Time

Work Hours Calculator

Use this work hours calculator to calculate hours worked from start time, end time, unpaid breaks, optional split shifts, work days per week, and an overtime threshold. Results show hours and minutes, decimal hours, weekly totals, regular hours, and overtime planning hours.

work hoursshiftovertime

Calculator

Calculate instantly

paid minutes = sum(end - start - breaks); weekly hours = paid daily hours x days
The engine converts clock times to minutes, handles overnight shifts, subtracts valid breaks, then converts minutes into decimal and weekly hours.
  1. The engine compares clock times and adds a day when the end time is earlier than the start time.
  2. Breaks are subtracted only after confirming they are not longer than the shift.
  3. The selected overtime threshold separates regular and overtime planning hours.

Inputs

Shift and break inputs

Enter a shift, optional second session, work days, and the weekly overtime threshold.

Optional second session

Breakdown

Clear result breakdown

Review the values that explain the primary result.

Elapsed time

510 min

Break time

30 min

Regular hours

40 hours

Overtime threshold

40 hours

Visual comparison

Work hour breakdown

The bars compare elapsed time, paid time, regular weekly hours, and overtime.

The bars compare elapsed time, paid time, regular weekly hours, and overtime.

Practical guidance

Insights for this scenario

Overnight shifts are supported

If the end time is earlier than the start time, the calculator treats the shift as ending the next day.

Threshold is not a law

The overtime threshold is user-defined for planning. Employment rules vary by contract and location.

Decimal hours match clock time

The decimal value is generated from the same paid minutes as the hours-and-minutes result.

Step-by-step solution

Follow the calculation path from known values to final result.

  1. 1

    Find elapsed shift time

    elapsed = end - start

    09:00 to 17:30

    The engine compares clock times and adds a day when the end time is earlier than the start time.

    510 min elapsed

  2. 2

    Subtract breaks

    paid time = elapsed time - break time

    510 min - 30 min

    Breaks are subtracted only after confirming they are not longer than the shift.

    8h 00m

  3. 3

    Apply weekly and overtime settings

    weekly hours = paid daily hours x work days

    8 hours x 5

    The selected overtime threshold separates regular and overtime planning hours.

    40 hours weekly total

Formula explorer

paid minutes = sum(end - start - breaks); weekly hours = paid daily hours x days

The engine converts clock times to minutes, handles overnight shifts, subtracts valid breaks, then converts minutes into decimal and weekly hours.

S
Start time: The time the work session begins.
E
End time: The time the work session ends. If earlier than the start time, the session is treated as overnight.
B(minutes)
Break duration: Unpaid break time subtracted from elapsed shift time.
D
Work days: The number of similar work days used for weekly planning.

Assumptions and references

Units

  • hours

Assumptions

  • Start and end times describe one continuous session unless a second session is entered.
  • Break time is unpaid and subtracted from elapsed time.
  • The weekly projection assumes similar daily hours across the selected work days.
  • The overtime threshold is user-entered for planning rather than automatically tied to a jurisdiction.

Limitations

  • Forgetting overnight rollover.
  • Entering breaks longer than the shift.
  • Using the planning overtime threshold as a legal rule without checking local requirements.
  • Assuming 7 hours 30 minutes is 7.30 decimal hours instead of 7.50 hours.
  • Results depend on the accuracy of the values entered.
  • Rounding may make displayed values slightly different from exact intermediate calculations.

Worked examples

Easy

Standard workday

Known values

  • Start: 9:00 AM
  • End: 5:30 PM
  • Break: 30 minutes

Calculation

  • 1. Elapsed time is 8 hours 30 minutes.
  • 2. Subtract the 30-minute break.
  • 3. Paid time is 8 hours.

Result and meaning

The decimal work time is 8.00 hours.

Real-world

Overnight shift

Known values

  • Start: 10:00 PM
  • End: 6:00 AM
  • Break: 30 minutes

Calculation

  • 1. The engine rolls the end time into the next day.
  • 2. Elapsed time is 8 hours.
  • 3. Subtract the break.

Result and meaning

Paid time is 7 hours 30 minutes, or 7.50 decimal hours.

Learning guide

Understand the calculation

Concepts

  • Clock time must be converted into elapsed minutes.
  • Breaks reduce paid time only after elapsed time is known.
  • Overtime planning depends on the threshold you choose.

Tips

  • Use actual start and end times, not rounded guesses.
  • Keep break minutes separate from shift length.
  • Confirm local payroll rules before using the result for official pay.

Common mistakes

  • Forgetting overnight rollover.
  • Subtracting breaks twice.
  • Using a universal overtime rule that may not apply.

Educational notes

  • This is a time planning tool, not a payroll-law calculator.

Glossary

Start time
The time the work session begins.
End time
The time the work session ends. If earlier than the start time, the session is treated as overnight.
Break duration
Unpaid break time subtracted from elapsed shift time.
Work days
The number of similar work days used for weekly planning.

Trust panel

Calculator quality and review

Reviewed by
AZCalculate time and productivity review
Review date
2026-06-25
References
3
Trust score
94/100
Formula verified
Yes
Risk level
low
Category
Date & Time
Calculator version
2.1
Formula version
2.1

Sign in to save this calculation and access it later.

Trust note

Clear calculation guidance

This work-hours result is a time-planning estimate, not payroll or employment-law advice. Break rules, overtime rules, rounding, employer agreements, and labor laws vary by jurisdiction and should be verified for official payroll use.

Low risk contextDifficulty: easyConfidence estimate: 94/100Reviewed 2026-06-25Reviewed by: AZCalculate time and productivity reviewCalculator v2.1 / Formula v2.13 sources listed

Formula and Explanation

Paid work time = elapsed shift time - breaks; weekly hours = paid daily hours x work days

The calculator converts clock times into minutes, handles overnight shifts, subtracts valid break minutes, and converts the result into hours-and-minutes, decimal hours, weekly hours, regular hours, and overtime planning hours.

Variable descriptions

S
Start time: The time the work session begins.
E
End time: The time the work session ends. If earlier than the start time, the session is treated as overnight.
B(minutes)
Break duration: Unpaid break time subtracted from elapsed shift time.
D
Work days: The number of similar work days used for weekly planning.

Formula Notes

  • Overnight shifts roll into the next day when the end time is earlier than the start time.
  • The overtime threshold is a planning value, not a universal legal rule.
  • Decimal hours are generated from the same paid minutes as the hours-and-minutes output.
  • Payroll rounding, paid-break rules, overtime law, and employer policies are not modeled automatically.

Common uses

  • Track hours
  • Estimate pay
  • Plan shifts

Assumptions

What this calculation assumes

  • Start and end times describe one continuous session unless a second session is entered.
  • Break time is unpaid and subtracted from elapsed time.
  • The weekly projection assumes similar daily hours across the selected work days.
  • The overtime threshold is user-entered for planning rather than automatically tied to a jurisdiction.

Avoid mistakes

Quick checks before you rely on the result

  • Forgetting overnight rollover.
  • Entering breaks longer than the shift.
  • Using the planning overtime threshold as a legal rule without checking local requirements.
  • Assuming 7 hours 30 minutes is 7.30 decimal hours instead of 7.50 hours.

Step-by-Step Explanation

Follow the reasoning, not only the final number.

  1. 1

    Set up the calculation

    Enter start time, end time, and break duration.

    Starting with clearly defined values and units prevents the most common calculation errors.

  2. 2

    Work through step 2

    Add an optional second session for split shifts.

    This step transforms the known values into the form required by the formula.

  3. 3

    Work through step 3

    Subtract break minutes from elapsed time.

    This step transforms the known values into the form required by the formula.

  4. 4

    Work through step 4

    Multiply by work days for weekly total.

    This step transforms the known values into the form required by the formula.

  5. 5

    Interpret the result

    Compare weekly total with the selected overtime threshold.

    Compare the result with your real-world goal, such as track hours.

Worked example

Standard shift example

Known values

  • Start: 9:00 AM
  • End: 5:30 PM
  • Break: 30 minutes

Calculation

  1. 1. Elapsed time is 8 hours 30 minutes.
  2. 2. Subtract 30 minutes of break.
  3. 3. Paid time is 8 hours.

Result and meaning

Decimal hours are 8.00.

Calculator guide

About this Work Hours Calculator

Calculate work hours after breaks, overtime, and shift count. This page includes an interactive calculator, concise formula notes, worked examples, FAQs, related calculators, and practical guidance you can revisit whenever needed.

References

Sources used for this calculator

Found something that does not look right?

We work hard to keep every calculator accurate and useful. If you notice a calculation error, missing option, or unclear explanation, please let us know so we can review and correct it promptly.

Report an Issue

Calculator usage

Usage information loads after the calculator is ready.

FAQ

Work Hours Calculator FAQs

How does the work hours calculator work?+

It uses Net hours = (end - start - break) x shifts and calculates the result from the values you enter.

Can I copy or print the result?+

Yes. AZCalculate calculator pages include copy, share, and print actions.

Can this work hours calculator handle overnight shifts?+

Yes. If the end time is earlier than the start time, the calculator treats the shift as ending on the next calendar day.

How is break time handled?+

Break minutes are subtracted from elapsed shift time after the calculator confirms the break is not longer than the shift.

What are decimal work hours?+

Decimal hours convert minutes into a base-10 value, such as 8 hours 30 minutes becoming 8.50 hours.

Can I calculate weekly hours?+

Yes. Enter work days per week and the calculator multiplies the paid daily time by that value.

Does this calculate legal overtime?+

No. The overtime threshold is user-defined for planning. Employment rules vary by contract and location.

Can I add split shifts?+

Yes. Use the optional second session to include another start, end, and break period in the same daily total.

Why is my payroll system different?+

Payroll systems may round time, apply local rules, use approved timesheets, or treat unpaid breaks differently.

Can I print a work summary?+

Yes. Use the print or PDF action in the result tools to create a summary of the entered shift and result.

Related tools

Related Calculators

Continue with closely related tools selected from the same subject and matching calculation needs.

Calculate overtime hours and pay from total hours, regular threshold, rate, and multiplier.

Convert pay rate, hours, overtime, bonus, and deductions into monthly and yearly salary estimates.

Estimate deadline offset from start day, duration, review buffer, and weekend/holiday adjustment.

Estimate notice-period end offset using calendar days, working-day adjustment, and handover buffer.

Date & Time

Age Calculator

Calculate exact age in years, months, days, total days, and next birthday countdown.

Popular

Estimate business days from calendar days and weekend days.

Explore all Date & Time calculators
Work Hours Calculator - Calculate Hours Worked and Breaks | AZCalculate