How to Calculate Weekly Work Hours Accurately
Calculate weekly work hours correctly with breaks, overnight shifts, decimal conversion, overlap checks, overtime thresholds, and visible rounding.
On this page
- Quick answer
- The four numbers in a time card
- Calculate one shift in whole minutes
- Convert each time to minutes after midnight
- Adjust an overnight clock-out
- Subtract unpaid breaks
- Keep the result as minutes
- Combine multiple shifts without double counting
- Add breaks accurately
- Duration-only breaks
- Timed breaks
- Add daily totals to get the week
- HH:MM and decimal hours are different formats
- Treat overtime as a separate policy step
- Apply rounding visibly, if at all
- A repeatable weekly workflow
- Worked example: a mixed week
- Common mistakes and how to catch them
- Why your total may differ from payroll
- Privacy and record handling
- Frequently Asked Questions
- The reliable method
A weekly total should be simple: subtract each clock-in from its clock-out, remove unpaid breaks, and add the results. In practice, small choices cause most errors. An overnight shift crosses midnight. A split shift can overlap by accident. Thirty minutes becomes 0.50 hours, not 0.30. A rounding rule changes the answer before anyone notices.
This guide gives you a dependable way to calculate weekly work hours by hand, in a spreadsheet, or with a time-card calculator. It focuses on arithmetic and the checks that make a total trustworthy. Employment, break, overtime, and rounding rules vary by country, state, employer, contract, and industry, so policy decisions must come from the rules that apply to the actual work.
Quick answer
For every shift, convert clock-in and clock-out to minutes, move an earlier clock-out to the following day, subtract unpaid breaks, and keep the result as whole minutes. Add valid shifts for each day, then add daily totals for the week. Divide weekly minutes by 60 only when you need decimal hours.
The Work Hours & Time Card Calculator follows that sequence, checks overlapping shifts and timed breaks, and shows both HH:MM and decimal totals. It runs in your browser and supports split shifts, overnight work, user-defined overtime thresholds, visible rounding, local templates, CSV, and print output.
Try it right here
Work Hours & Time Card Calculator
The four numbers in a time card
Before calculating anything, separate four ideas that are often mixed together.
| Term | Meaning | Example for 9:00–17:30 |
|---|---|---|
| Gross shift time | Time from clock-in to clock-out | 8 hours 30 minutes |
| Paid breaks | Break minutes that remain included | 10 minutes |
| Unpaid breaks | Break minutes deducted from gross time | 30 minutes |
| Net worked time | Gross time minus unpaid breaks | 8 hours |
Paid breaks are reported because they help explain the day, but they do not reduce net time in this arithmetic. Unpaid breaks do. Do not combine both categories into a single “break” number unless you are certain they receive the same treatment.
Calculate one shift in whole minutes
Minute arithmetic avoids the confusion caused by treating clock notation like a decimal number.
Convert each time to minutes after midnight
Multiply the hour by 60, then add the minutes. In 24-hour time:
- 09:00 becomes 9 × 60 = 540 minutes.
- 17:30 becomes 17 × 60 + 30 = 1,050 minutes.
- 22:15 becomes 22 × 60 + 15 = 1,335 minutes.
For 12-hour time, normalize midnight and afternoon carefully. 12:00 AM is 00:00, while 12:00 PM is 12:00. For other PM times, add 12 to the hour before multiplying.
Adjust an overnight clock-out
If clock-out is earlier than clock-in, treat clock-out as the following day by adding 1,440 minutes. A shift from 22:00 to 06:30 becomes:
Assign the whole shift to the day on which it started unless your reporting system explicitly uses another rule. This prevents the same overnight hours from being counted on both days.
Subtract unpaid breaks
For a standard 09:00–17:30 shift with a 30-minute unpaid lunch:
If the same shift also includes two paid 10-minute breaks, paid-break time is 20 minutes, unpaid-break time is 30 minutes, and net time remains 8:00. The paid breaks are already inside the gross interval.
Keep the result as minutes
Store 480, not the string 8:00 and not the decimal 8.00. Whole minutes are easy to add and compare. Format them only when presenting the result.
Combine multiple shifts without double counting
Split shifts are common in hospitality, education, healthcare, contracting, and part-time work. Calculate each interval separately, then add the valid results.
| Shift | Gross | Unpaid break | Net |
|---|---|---|---|
| 08:00–12:00 | 4:00 | 0:00 | 4:00 |
| 14:00–18:00 | 4:00 | 0:00 | 4:00 |
| Daily total | 8:00 | 0:00 | 8:00 |
Sort a day’s shifts by start time and check that each start is at or after the preceding end. Entries such as 09:00–13:00 and 12:30–17:00 overlap for 30 minutes. Do not merge them automatically or accept the sum of 8:30; stop and correct the source entries.
Overnight overlap needs the same timeline. A Monday shift from 22:00 to Tuesday 06:00 occupies minutes 1,320 through 1,800 on Monday’s adjusted timeline. Review any combination that appears to cover the same real-world time.
Add breaks accurately
There are two practical ways to enter a break.
Duration-only breaks
Use a duration when you know lunch lasted 30 minutes but do not have exact timestamps. Duration-only entry is fast and sufficient for subtraction, but it cannot prove where the break occurred or whether two breaks overlap.
Timed breaks
Use start and end times when placement matters. A timed break should:
- Start after or at clock-in.
- End before or at clock-out.
- Have a positive duration.
- Not overlap another timed break.
- Be placed on the adjusted overnight timeline when it crosses midnight.
For a 22:30–07:15 overnight shift, a 00:30–01:00 break belongs after midnight. On the adjusted timeline it runs from minute 1,470 to 1,500, safely inside the shift.
If total unpaid break time is longer than the gross shift, the record is invalid. Do not clamp the result to zero; find the incorrect entry.
Add daily totals to get the week
Once every day is valid, weekly calculation is simple addition.
| Day | Net time | Minutes |
|---|---|---|
| Monday | 7:30 | 450 |
| Tuesday | 8:15 | 495 |
| Wednesday | 6:45 | 405 |
| Thursday | 8:00 | 480 |
| Friday | 7:30 | 450 |
| Weekly total | 38:00 | 2,280 |
Add the minutes first: 450 + 495 + 405 + 480 + 450 = 2,280. Then divide by 60 for 38 hours with no remaining minutes.
Keep gross time, paid breaks, unpaid breaks, and net time as separate weekly totals. That creates an audit trail: if the net figure looks wrong, you can tell whether the difference came from clock intervals or break deductions.
HH:MM and decimal hours are different formats
Clock-style duration uses a base of 60. Decimal hours use a base of 10. The digits after the separator do not mean the same thing.
| Hours and minutes | Calculation | Decimal hours |
|---|---|---|
| 7:15 | 7 + 15 ÷ 60 | 7.25 |
| 7:30 | 7 + 30 ÷ 60 | 7.50 |
| 7:45 | 7 + 45 ÷ 60 | 7.75 |
| 8:06 | 8 + 6 ÷ 60 | 8.10 |
This means 7:30 is not 7.30 hours. Multiplying an hourly rate by 7.30 undercounts half an hour as 0.30. Convert the complete weekly total once rather than rounding every shift separately.
Treat overtime as a separate policy step
First calculate net worked minutes. Then, if useful, divide those minutes into regular and overtime categories using an explicitly chosen rule.
For a weekly threshold of 40 hours and net time of 43:30:
The result is 40:00 regular and 3:30 above the selected threshold. That calculation does not establish that a 40-hour threshold applies to a particular person. Even within one country, coverage, exemptions, daily rules, collective agreements, and local law can change the answer. The U.S. Department of Labor FAQ is one example of jurisdiction-specific guidance; it should not be generalized worldwide.
If daily and weekly thresholds are both being modelled, avoid counting the same minutes twice:
- Separate each day’s minutes above the daily threshold.
- Add the remaining regular minutes for the week.
- Apply the weekly threshold to those remaining minutes.
- Add daily and weekly overtime categories for the final split.
Use the sequence required by the applicable system or policy. A calculator should label its method rather than imply universal payroll compliance.
Apply rounding visibly, if at all
Rounding can apply to clock-in and clock-out, to the final shift duration, or to both. These approaches can produce different results.
Suppose a shift runs from 09:03 to 17:32 with a 30-minute unpaid break. The unrounded net is 7:59. Rounding both clock values to the nearest five minutes produces 09:05–17:30, then 7:55 after lunch. Rounding only the final 7:59 total to the nearest five minutes produces 8:00.
Never hide that transformation. Preserve the original total, name the interval and direction, and show the rounded result beside it.
Current U.S. federal regulation, for example, discusses certain 5-minute, one-tenth-hour, and quarter-hour practices only under conditions intended to avoid undercompensation over time. See 29 CFR 785.48. That is a specific legal source, not permission to adopt a rounding rule everywhere.
A repeatable weekly workflow
- Collect clock records, calendar entries, or contemporaneous notes for the same defined week.
- Enter each shift under the day it started.
- Mark every break paid or unpaid and use timestamps where overlap checking matters.
- Correct missing times, equal start/end values, out-of-shift breaks, and overlaps.
- Review each daily net total before trusting the week.
- Add the week in minutes and convert to HH:MM and decimal hours.
- Apply an overtime threshold or rounding rule only when you have a reason to model it.
- Export or print a reviewable copy and compare it with the official source.
If two systems disagree, compare one stage at a time: source punches, overnight interpretation, break treatment, overlap handling, rounding, weekly boundary, and overtime classification.
Worked example: a mixed week
| Day | Shifts and breaks | Net |
|---|---|---|
| Monday | 09:00–17:30, 0:30 unpaid | 8:00 |
| Tuesday | 08:00–12:00 and 14:00–18:00 | 8:00 |
| Wednesday | 22:00–06:30, 0:30 unpaid | 8:00 |
| Thursday | 09:15–17:00, 0:30 unpaid | 7:15 |
| Friday | 09:00–18:00, 0:30 unpaid, 0:20 paid | 8:30 |
The weekly net is 39:45, or 2,385 minutes. Decimal time is 2,385 ÷ 60 = 39.75 hours. Gross, paid-break, and unpaid-break totals remain separate, and Wednesday is counted once under the day it began.
Common mistakes and how to catch them
- Reading 7:30 as 7.30. Convert minutes by dividing by 60.
- Subtracting paid breaks. Keep paid and unpaid categories separate.
- Forgetting the overnight offset. Add 1,440 to an earlier clock-out.
- Counting an overnight shift on two days. Use one documented day-attribution rule.
- Adding overlapping split shifts. Block the total until conflicts are corrected.
- Rounding each row too early. Sum exact minutes, then format or apply the required rule.
- Assuming 40 hours is universal. Treat overtime as a policy step with a named source.
- Mixing workweeks. Confirm the reporting boundary. The Business Days Calculator helps with date-range planning, while the Date Difference Calculator checks elapsed spans.
- Ignoring timezone or daylight-saving changes. Review how UTC, offsets, and daylight saving affect scheduling and use the Timezone Converter for actual locations.
Why your total may differ from payroll
Two totals can use the same visible punches and still disagree because of different workweek definitions, approved edits, break treatment, rounding stage, timezone-aware dates, daylight-saving transitions, overtime methods, or decimal precision.
Compare assumptions before comparing final numbers. A calculator is useful for arithmetic and anomaly detection, but an official system may contain policy and approval data the calculator does not know.
Privacy and record handling
Time cards can reveal routines, workplace patterns, client relationships, and location clues. Use the minimum data required.
- Avoid names, payroll IDs, employer details, and sensitive notes in shareable links.
- Prefer local browser processing for quick independent checks.
- Export only the week you need and protect downloaded files appropriately.
- Clear browser-local templates on shared devices.
- Use approved systems for regulated, long-term, or team records.
The Work Hours Calculator processes shifts in the browser. Templates remain in the current browser, CSV is generated locally, and its share-link format removes notes. It is a calculation aid, not a permanent attendance archive.
Frequently Asked Questions
How do I calculate hours worked from clock-in and clock-out?
How do I calculate an overnight shift?
How do I subtract a lunch break?
Can I add two shifts on the same day?
What is 7 hours 30 minutes in decimal hours?
Should I round each shift before adding the week?
How do I calculate weekly overtime hours?
Why does payroll show a different total?
Can daylight saving change an overnight total?
Does this guide provide payroll or employment-law advice?
The reliable method
Accurate weekly hours come from a disciplined sequence: normalize clocks to minutes, adjust midnight once, separate break categories, reject overlaps, add exact daily results, and convert to decimal only at the end. Keep policy choices such as overtime and rounding visible and sourced.
Use the Work Hours & Time Card Calculator when you want those checks handled interactively. Export or print the result, retain the original source entries, and investigate any difference before treating a total as final.
Cover photo: Junjira Konsang on Pexels.
Hands on
Tools mentioned in this article
Work Hours & Time Card Calculator
Calculate daily and weekly work hours from clock-in and clock-out times, including breaks, overnight shifts, decimal totals and optional overtime.
Invoice Generator
Create GST-ready invoices with line items, discounts, CGST/SGST or IGST, amount in words, three templates, and a clean watermark-free PDF.
Business Days Calculator
Count the Monday-to-Friday working days between two dates, weekends skipped automatically — for SLAs, deliveries, and notice periods.
Date Difference Calculator
Count the days, weeks, and hours between any two dates instantly — for deadlines, notice periods, trips, tenures, and interest-day math.
More guides
Keep reading

What is JSON and how to format it correctly
A practical guide to JSON syntax, the mistakes that break it, and how a formatter turns a wall of text into something you can actually debug.

How to calculate EMI on any loan
The EMI formula explained in plain terms, a worked example, and what actually happens to your money over the life of a loan.

Password best practices in 2026
Why length beats complexity, how passphrases work, and a realistic system for managing passwords without losing your mind.
Put it into practice
Every guide comes with free tools to match.
No signup, no paywalls. Local tools run in your browser, and upload or AI steps are labeled clearly.