Hourly Time Calculator with Lunch Break
- Gross hours
- h
- Result
- Net hours (h:mm)
- Result
- Start time (24h)
- 9
- You entered
An hourly time calculator with lunch break works out your total paid hours when you know your start time, end time, and the length of your unpaid lunch break. You enter the clock-in time, clock-out time, and break duration, and it returns your net worked hours as a decimal (for example, 7.5 hours) and often as h:mm (7:30). This is the standard way payroll and timesheets calculate hours for hourly employees.
Formula
The core formula is simple: Net hours = (End time – Start time) – (Lunch break / 60). All times are converted to minutes past midnight first, so 9:00 AM becomes 540 and 5:00 PM becomes 1020. The difference gives total minutes on the clock, then you subtract the break minutes, then divide by 60 to get decimal hours.
- Start time (t) – clock-in time, usually in 24-hour format (e.g., 9 = 9:00 AM, 14 = 2:00 PM).
- End time (d) – clock-out time, same 24-hour format.
- Break (b) – unpaid lunch duration in minutes (e.g., 30, 45, 60).
- Net hours – the number you actually get paid for.
If a shift crosses midnight (e.g., 11 PM to 7 AM), the calculator adds 24 hours to the end time automatically. For a 11 PM–7 AM shift with a 30-minute break, that’s (19 + 24 – 23) = 20 hours on the clock, minus 0.5 = 19.5 net hours.
Worked Example
Using the default values from the calculator: start at 9:00, end at 17:00, break 30 minutes.
- Convert to minutes: 9:00 = 540, 17:00 = 1020.
- Gross minutes = 1020 – 540 = 480 minutes (8 hours).
- Subtract break: 480 – 30 = 450 minutes.
- Convert to hours: 450 / 60 = 7.5 hours.
The calculator returns 7.5 hours (or 7:30 in h:mm format). That matches the formula: (17 – 9) – 30/60 = 8 – 0.5 = 7.5.
Why Use a Lunch Break Calculator?
Manual time math is error‑prone, especially when breaks are 45 minutes or shifts cross noon. A calculator removes the arithmetic and gives you a consistent decimal that matches payroll software. It’s useful for:
- Checking a pay stub to see if you were paid for all hours worked.
- Estimating weekly or monthly gross pay before taxes.
- Filling out timesheets that require decimal hours (e.g., 7.5 instead of 7:30).
- Comparing different shift schedules to see which yields more paid time.
Many employers round to the nearest quarter‑hour for payroll, but a calculator gives you the exact figure first; you can then apply your company’s rounding rule.
How to Read the Result
The main output is net hours as a decimal (e.g., 7.5). That’s the number you multiply by your hourly rate to get gross pay. The h:mm format (7:30) is the same duration expressed in hours and minutes – useful for your own records but not for payroll if the system expects decimals.
If you work a shift that starts at 8:45 AM and ends at 5:15 PM with a 30‑minute break, the gross is 8.5 hours, net is 8.0 hours. The calculator handles the 45‑minute start correctly because it works in minutes.
Common Mistakes and Limits
- Using 12‑hour times without specifying AM/PM – entering 2 for 2:00 PM when you meant 2:00 AM will give a negative or nonsensical result. Always use 24‑hour time or include AM/PM in your head.
- Forgetting to subtract the break – the whole point of the tool is to subtract it; if you enter 0, you get gross hours, not net.
- Break in hours instead of minutes – a 0.5‑hour break is 30 minutes; entering 0.5 as minutes would be wrong. The calculator expects minutes.
- Overnight shifts – the calculator adds 24 hours to the end time, but only if the end time is less than the start time. If you work 11 PM to 7 AM, enter 23 and 7 – it works. If you work 7 AM to 11 PM, enter 7 and 23 – no adjustment needed.
- Rounding too early – if you round each day to the nearest quarter‑hour, your weekly total may differ from the exact sum. Do the math in decimals, then round at the end.
The formula assumes a single, continuous shift with one unpaid break. It does not account for multiple breaks, paid breaks, or split shifts. For those, you’d need a more complex timesheet calculator.
How to Choose a Lunch Break Calculator
Not all online calculators are equal. Look for one that:
- Allows 24‑hour input (or clearly asks for AM/PM) to avoid ambiguity.
- Handles overnight shifts automatically.
- Shows both decimal hours and h:mm.
- Uses minutes for the break, not fractions of an hour.
- Lets you see the formula (so you can verify the math).
A good calculator will also let you adjust the break to 0 if you want gross hours, or to 60 for a full‑hour lunch. The one on this page does all of that.
Alternatives and Related Tools
If you need more than a single shift, consider a weekly timesheet calculator that sums multiple days. Some payroll systems have built‑in time tracking that automatically deducts breaks, but those often require you to clock in and out for the break itself. A manual calculator is still useful for verification.
For salary employees, this tool is less relevant because pay doesn’t depend on hours. For freelancers, you might track billable hours, which usually excludes lunch – the same math applies.
Frequently Asked Questions
Do I subtract lunch break from hours worked? Yes, if the lunch is unpaid. Paid lunch breaks are included in your hours. Most hourly jobs have an unpaid 30‑minute or 1‑hour lunch, so you subtract it. Check your employment agreement.
How do I calculate my hours with a 30‑minute lunch? Subtract 0.5 hours from your total shift length. For example, 9 AM to 5 PM is 8 hours, minus 0.5 = 7.5 hours. In minutes: 480 – 30 = 450 minutes, which is 7.5 hours.
What if I work 8 hours and take a 1‑hour lunch? Then you are on the clock for 9 hours but only paid for 8. Enter start 9, end 18 (6 PM), break 60 – the calculator returns 8.0 hours.
How do I convert h:mm to decimal hours? Divide the minutes by 60 and add to the hours. For 7:30, that’s 7 + 30/60 = 7.5. The calculator does this automatically.
Does the calculator work for overnight shifts? Yes. If your end time is earlier than your start time, the calculator adds 24 hours to the end. For 11 PM to 7 AM with a 30‑minute break, you get 7.5 hours (8 hours on the clock – 0.5 break).
What about paid breaks? If your breaks are paid, enter 0 for the lunch break. The result will be your gross hours, which is what you get paid for.
Related
Formula used
in t | Start time (24h) | - | 9 | 0 in d | End time (24h) | - | 17 | 0 in b | Lunch break | min | 30 | 0 out net | Net hours | h | (d - t - b / 60) | 2 out gross | Gross hours | h | (d - t) | 2 out net_hm | Net hours (h:mm) | - | (d - t - b / 60) * 60 | time
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.