How to Calculate Your Work Hours and Breaks

Calculate elapsed shift time, subtract unpaid breaks where appropriate, and total a workweek without losing overnight hours. Learn what a time calculation can - and cannot - say about overtime pay.

8 min read

Calculating work hours gets less straightforward when a shift crosses midnight, a break is unpaid, or you need a weekly total. Start with actual times, count the full elapsed interval, then subtract only break time excluded from the total you need. This separates arithmetic from payroll decisions.

Kinsad's Work Hours Calculator is intended for calculating time worked from shift times and breaks. This guide explains the underlying arithmetic and how to check a result by hand. Whether you are reviewing your own records, organizing a schedule, or preparing information for payroll, follow your employer's timekeeping procedure and applicable local rules.

The basic formula for a work shift

For a shift that begins and ends on the same date, subtract the start time from the end time to get elapsed time. Then subtract any unpaid break duration that is properly excluded from the particular calculation:

Net shift hours = elapsed time between end and start − excluded unpaid break time.

For example, an 8:00 a.m. to 4:30 p.m. span is 8 hours 30 minutes. If a 30-minute meal period is genuinely unpaid and excluded, the net result is 8 hours. Keep the values in hours and minutes while doing the subtraction, or convert to minutes first. In minutes, that example is 510 elapsed minutes − 30 minutes = 480 minutes, and 480 ÷ 60 = 8 hours.

This is arithmetic, not a decision about whether a break is legally unpaid. Follow the applicable timekeeping procedure and use actual records rather than changing entries to force a preferred total.

How to calculate a shift that crosses midnight

An overnight shift has an end time earlier on the clock than its start time, but that does not mean the duration is negative. The end belongs to the following calendar date. A practical method is to split the span at midnight, add the two portions, and subtract qualifying break time once.

  1. Count from the start time to midnight.
  2. Count from midnight to the end time on the next date.
  3. Add the intervals to get elapsed shift time.
  4. Subtract the break duration that should be excluded from this total.

For a 9:00 p.m. start and 6:30 a.m. finish, the first portion is 3 hours (9 p.m. to midnight); the second is 6 hours 30 minutes. Together they equal 9 hours 30 minutes. If the shift includes one 30-minute unpaid meal period that is properly excluded, the net arithmetic is 9:30 − 0:30 = 9 hours. Write both dates on an overnight record so the time is traceable, especially when the shift straddles the start of a workweek or payroll period.

Midnight is not necessarily the overtime boundary: a workweek is a defined recurring period, and hours are attributed under applicable recordkeeping and payroll rules.

Which breaks should you subtract?

First identify what the total represents: elapsed presence, on-duty time, or hours in an employer's work-time record. The U.S. Department of Labor's Fact Sheet #22 on hours worked under the FLSA says short rest periods, usually 20 minutes or less, are generally counted as work time under federal law. A bona fide meal period - typically at least 30 minutes - generally may be unpaid when the employee is completely relieved of duties. Working or remaining responsible during a meal can change the analysis.

Rules vary by location, occupation, and circumstance, and that federal fact sheet is not a universal rule for every worker. A time calculator cannot decide if a break qualifies as unpaid, whether on-call or waiting time counts, or whether a specific employer's entry is compliant. Record the actual break and duties accurately; consult the relevant policy or labor agency if classification matters.

Do not subtract a scheduled break automatically if you worked through lunch or were not relieved from duties. Conversely, a paid rest break is not an unpaid deduction simply because it appears on a schedule. Record what actually happened.

Worked example: a weekly time total

Suppose a worker completes five identical overnight shifts, each from 9:00 p.m. to 6:30 a.m., with one 30-minute break excluded from the time total. As shown above, each shift contributes 9 net hours. Multiplying five shifts by 9 hours gives 45 net hours for the period, assuming all five shifts belong to the same workweek and the same treatment applies to each break.

If you are using 40 hours as a comparison point, 45 − 40 = 5 hours above 40. That is a simple comparison, not a determination of payable overtime. The result depends on the relevant workweek, employee coverage and classification, jurisdiction, and other applicable rules. For a usable audit trail, keep each date, start, finish, break, and daily total instead of entering only a weekly number. It is then easier to locate a missed shift or a mistaken break entry.

When shifts vary, total in minutes before converting. For example, 7 hours 45 minutes is 465 minutes and 8 hours 20 minutes is 500; together, 965 minutes is 16 hours 5 minutes. This avoids treating “7.45” as 7 hours 45 minutes.

Overtime depends on the rules, not just the arithmetic

Overtime thresholds and premiums are not universal. As one jurisdiction-specific example, the U.S. Department of Labor explains that the federal Fair Labor Standards Act generally requires covered, nonexempt employees to receive at least one-and-one-half times their regular rate after 40 hours worked in a workweek, with exceptions and additional details. The Department also notes that some states have overtime laws and that a higher standard can apply when both state and federal law cover the worker. This example should not be applied automatically outside its legal context.

Other jurisdictions may use daily thresholds, different weekly limits, agreements, or worker definitions. A time calculator cannot interpret a contract, determine exemption status, or identify the governing jurisdiction.

Use a total to check records, not as legal advice or a promise about pay. For a concern, compare your records with written policy and official local guidance, or contact the relevant labor agency or a qualified adviser.

Common work-time calculation mistakes

  • Forgetting the next date: an overnight end time belongs to the following day. Split at midnight or add a day before subtracting.
  • Subtracting breaks twice: either remove each break from its shift or account for breaks in a documented total, but not both.
  • Treating clock notation as decimals: 7:30 is 7.5 hours, not 7.30 hours. Convert minutes by dividing by 60.
  • Mixing paid and unpaid time: calculate the type of time you actually need, and verify how the record should treat breaks and other activities.
  • Comparing the wrong period: a calendar week, pay period, and defined workweek may not start on the same day.
  • Assuming every hour after a daily shift is overtime: overtime rules depend on the applicable jurisdiction and worker classification, not just shift length.

If a result looks surprising, check a.m./p.m., date rollover, minutes, break duration, and which shifts belong in the total.

Frequently asked questions

How do I calculate hours from a start and end time?

Find the elapsed time between the two timestamps, allowing for a next-day finish when necessary. Subtract only break time that should be excluded from the total you are calculating. Convert the final minutes to a decimal only if your timesheet requires decimal hours.

How many hours is 8:15 a.m. to 5:00 p.m. with a 45-minute unpaid break?

The elapsed span is 8 hours 45 minutes. Subtract 45 minutes to get 8 hours, provided that break is correctly excluded in your circumstances. The calculator handles the arithmetic; it does not determine the break's legal treatment.

Does a shift crossing midnight count as two workdays?

The calendar dates change at midnight, so a detailed record should preserve the dates and timestamps. How hours are allocated for payroll or overtime is determined by the applicable timekeeping and labor rules, not by splitting the shift arbitrarily.

Can this calculation tell me what overtime I am owed?

No. It can help total entered hours and compare a total with a threshold you choose, but it does not decide legal coverage, exemptions, regular-rate calculations, local overtime rules, or the treatment of specific activities. Ask payroll or the relevant labor authority about a particular claim.

Should I enter scheduled break time or the break I actually took?

For a record of actual work, keep actual times and note deviations from the schedule. Follow your employer's reporting process, especially if a break was interrupted or missed, rather than silently editing the entry.

Use the calculator, then verify the record

Enter actual start and finish times, identify excluded breaks, and check the result against your notes. Confirm the next date for overnights and include only shifts in the intended period. The Kinsad Work Hours Calculator handles arithmetic; policy and local rules determine how hours are classified and paid.