Hours Calculator With Breaks: How It Works
- Gross hours
- h
- Result
- Start time
- 420 HH:MM (24h)
- You entered
- End time
- 1080 HH:MM (24h)
- You entered
An hours calculator with breaks works out your total paid or tracked time by subtracting break duration from the time between clock-in and clock-out. You enter start time, end time, and break length (or start/end of break), and it returns net hours in decimal or hh:mm format. This is the standard method used for payroll, timesheets, and project tracking.
Formula
Net hours = (End time − Start time − Break) ÷ 60
- Start time (t) – minutes after midnight (e.g., 8:00 AM = 480)
- End time (u) – minutes after midnight (e.g., 6:00 PM = 1080)
- Break (b) – total break time in minutes
- Net hours – paid or tracked hours, in decimal hours (e.g., 9.5)
For a 24-hour clock, convert HH:MM to minutes: hours × 60 + minutes. The formula assumes both times are on the same day. For overnight shifts, add 1440 (24 × 60) to the end time.
Worked Example
Using the defaults: start 7:00 AM (420), end 6:00 PM (1080), break 30 minutes.
- Gross minutes = 1080 − 420 = 660
- Net minutes = 660 − 30 = 630
- Net hours = 630 ÷ 60 = 10.5
The calculator returns 10.50 hours, which matches. Gross hours = 660 ÷ 60 = 11.00.
Why Breaks Matter in Hours Tracking
Most hourly workers are paid only for time actually worked, not for meal breaks or rest periods. For example, a shift from 9 AM to 5 PM with a 30-minute lunch is 7.5 paid hours, not 8. Many employers require a 30-minute unpaid meal break for shifts over 5 or 6 hours, but this varies by country and contract. An hours calculator with breaks prevents overpaying or underpaying by making the deduction explicit.
How to Use an Hours Calculator With Breaks
You need three pieces of information:
- Clock-in time (start)
- Clock-out time (end)
- Total break time, either as a single number or as start/end of each break
If you have multiple breaks, sum them. For example, a 15-minute coffee break plus a 30-minute lunch equals 45 minutes total. Enter that as 45 in the break field.
For overnight shifts, add 24 hours to the end time. If you start at 10 PM (1320) and end at 6 AM the next day, treat end as 6 AM + 24 h = 1800. Then net = (1800 − 1320 − break) ÷ 60.
Common Mistakes and How to Avoid Them
- Mixing AM/PM – Always use 24-hour time or be careful with PM. 2:00 PM is 14:00, not 2:00.
- Forgetting break start/end – If you only know break start and end, subtract them: break length = end − start. E.g., 12:00–12:30 = 30 minutes.
- Rounding too early – Round only the final result, not intermediate steps. 10.5 hours is fine, but 10.48 vs 10.5 can matter for payroll.
- Not accounting for unpaid vs paid breaks – Some breaks are paid (e.g., 15-minute rest breaks in some jurisdictions). Only subtract unpaid breaks.
Limits of the Formula
This simple formula assumes a single continuous shift. It does not handle split shifts (e.g., working 8–12 and 1–5) unless you combine them manually. It also ignores overtime rules, rounding policies, and fractional minutes. For payroll, many companies round to the nearest quarter-hour (e.g., 7.5 hours = 7:30). The formula gives exact decimal hours, so you can apply your own rounding.
Alternatives to Manual Calculation
If you need more than basic net hours, consider:
- Spreadsheet formulas like
=(end-start-break)*24in Excel or Google Sheets (with times formatted as time). - Time clock apps that automatically deduct breaks based on your settings.
- Payroll software that handles overtime and rounding.
For most people, a simple calculator like this is enough for weekly timesheets, freelance invoicing, or checking a pay stub.
Frequently Asked Questions
How do I calculate hours with a lunch break?
Subtract the lunch break length from the total time between start and end. For example, 9 AM to 5 PM is 8 hours, minus 30 minutes lunch = 7.5 hours.
What if I have multiple breaks?
Add all break minutes together and enter the total in the break field. For instance, 15-minute morning break + 30-minute lunch = 45 minutes.
Does the calculator handle overnight shifts?
Yes, if you add 24 hours to the end time. For 10 PM to 6 AM, enter start as 1320 and end as 1800 (6 AM + 24 h).
Should I round to the nearest quarter hour?
It depends on your employer. Many use quarter-hour rounding (e.g., 7.53 becomes 7.5). The calculator gives exact decimal hours; apply your rounding rule afterward.
What is the difference between gross and net hours?
Gross hours are total time from clock-in to clock-out, including breaks. Net hours subtract break time, representing actual paid or tracked work time.
Can I use this for freelancing?
Yes, if you track your own breaks. But if you don’t take breaks, enter 0 for break length.
Related
Formula used
in t | Start time | HH:MM (24h) | 420 | 0 in u | End time | HH:MM (24h) | 1080 | 0 in b | Break (minutes) | min | 30 | 0 out net | Net hours | h | (u - t - b) / 60 | 2 out gross | Gross hours | h | (u - t) / 60 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.