Hourly Calculator With Lunch Break: How It Works
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out your actual paid hours when you clock in and out but take an unpaid lunch break. You enter your start time, end time, and break length, and it returns your total worked hours and minutes after the break is subtracted.
Formula
The core formula is simple: Paid hours = (End time – Start time) – Lunch break. In this calculator, times are converted to minutes after midnight, so 9:00 becomes 540 and 17:30 becomes 1050. The difference (1050 – 540 = 510 minutes) is the total time from start to end. Then the lunch break in minutes (30) is subtracted: 510 – 30 = 480 minutes. That equals 8 hours and 0 minutes.
Variables:
- Start time – the time you begin work, in 24-hour or 12-hour format (e.g., 9:00 AM).
- End time – the time you finish work, in the same format.
- Lunch break – the unpaid break duration in minutes (e.g., 30, 45, 60).
The result is shown as a duration (hours and minutes) and also as total minutes, which is handy for payroll that uses decimal hours.
Worked Example
Using the defaults from the calculator: Start at 9:00, End at 17:30, Lunch = 30 minutes.
- Convert start to minutes: 9 × 60 = 540.
- Convert end to minutes: 17 × 60 + 30 = 1050.
- Total time from start to end: 1050 – 540 = 510 minutes.
- Subtract lunch: 510 – 30 = 480 minutes.
- Convert to hours: 480 ÷ 60 = 8 hours.
The calculator shows 8:00 as the total paid hours, and 480 minutes. This matches the formula exactly.
Why Subtract Lunch Breaks?
Many employers follow the rule that a meal break (typically 30–60 minutes) is unpaid, even though you are still at the workplace. This is common in the United States under the Fair Labor Standards Act (FLSA), which states that bona fide meal periods (usually 30+ minutes) are not compensable if you are completely relieved of duty. However, short breaks (15–20 minutes) are generally paid. The calculator assumes your lunch is unpaid; if your lunch is paid, simply enter 0 as the break length.
This distinction matters for payroll, overtime calculations, and timesheet accuracy. For example, if you work 8.5 hours but take a 30-minute lunch, your paid time is 8 hours, not 8.5. Many hourly employees lose track of this and overestimate their paycheck.
How to Use the Calculator Correctly
To get accurate results, follow these steps:
- Enter your start time in 24-hour format (e.g., 14:30 for 2:30 PM) or 12-hour format with AM/PM – the calculator accepts both.
- Enter your end time. If you work past midnight (e.g., 11:00 PM to 7:00 AM), the calculator may not handle it automatically; in that case, add 24 hours to the end time mentally or split into two shifts.
- Enter your lunch break in minutes. If you take multiple short breaks, add them together and enter the total.
- Read the result as total paid hours, not elapsed time at work.
For example, if you start at 8:45 AM and end at 5:15 PM with a 45-minute lunch, the calculator gives you 8 hours and 0 minutes. That is correct: 8:45 to 5:15 is 8.5 hours, minus 0.75 hours = 7.75 hours? Wait – let’s recalc: 8:45 to 5:15 is 8.5 hours (510 minutes), minus 45 = 465 minutes = 7 hours 45 minutes. The calculator does that correctly.
Common Mistakes and Misconceptions
One frequent error is mixing up 12-hour and 24-hour times. For instance, entering 5:00 for 5:00 PM will give a negative or wrong result if your start time is 9:00 AM. Always use 17:00 for 5:00 PM in 24-hour format, or include AM/PM if your input supports it.
Another mistake is forgetting to subtract the lunch break entirely. Some people use a simple “clock out minus clock in” and then wonder why their paycheck is lower than expected. The calculator handles this automatically.
A common misconception is that all breaks are unpaid. In many jurisdictions, short rest breaks (under 20 minutes) are considered paid work time. Only meal breaks (typically 30+ minutes) are usually unpaid. This calculator is for unpaid lunch breaks; if your break is paid, set the break to 0.
How to Choose the Right Break Length
If you are unsure what break length to enter, check your employment contract, employee handbook, or timekeeping policy. Common lunch breaks are 30 minutes, 45 minutes, or 1 hour. Some jobs have flexible breaks – you might take 15 minutes and 15 minutes, which totals 30. Add all unpaid break minutes together.
If your break is unpaid but you work through it occasionally, you should only subtract the breaks you actually took. For example, if you worked through lunch on Tuesday, enter 0 for that day. The calculator is per-day, so you would calculate each day separately and sum the results.
Limitations of This Calculation
This calculator assumes a single shift within the same day. It does not handle overnight shifts (e.g., 10 PM to 6 AM) automatically. For those, you would need to add 24 hours to the end time. For example, 10 PM (22:00) to 6 AM (6:00) next day: total = (6 + 24) – 22 = 8 hours, minus lunch.
It also ignores overtime rules, rounding policies, and state-specific meal break laws. Some states require meal breaks of a certain length, but that does not affect the math – only your legal rights. This calculator gives you the raw paid time, not your paycheck amount (which depends on your hourly rate and overtime).
Finally, the calculator uses minutes, so if your payroll uses tenths of an hour (e.g., 7.75 hours), you can convert by dividing total minutes by 60. For example, 465 minutes ÷ 60 = 7.75 hours.
Frequently Asked Questions
Does the calculator handle 12-hour AM/PM times?
Yes, you can enter times like 9:00 AM or 5:30 PM. The calculator converts them to 24-hour format internally. Just be consistent – do not mix AM and PM in a way that confuses the order.
What if I work overnight?
For an overnight shift, add 24 hours to the end time. For example, start 22:00, end 06:00, lunch 30 min. Total = (6+24 – 22) = 8 hours, minus 0.5 = 7.5 hours. You can manually adjust the end time to 30:00 (i.e., 6 AM next day as 30:00) in some calculators, but this one does not support that, so do the adjustment yourself.
Are short breaks (like 15 minutes) paid?
Under federal law in the U.S., short rest breaks (usually 5–20 minutes) are considered compensable work time. Meal breaks (30+ minutes) are not. So if you take a 15-minute coffee break, do not subtract it – only subtract the lunch break.
Why does my timesheet show different hours than my calculator?
Employers often round time to the nearest 5, 10, or 15 minutes, or they use a 7-minute rounding rule. Also, they may deduct breaks automatically even if you did not take them. Check your pay stub or timekeeping policy for rounding rules.
Can I use this for a part-time shift?
Absolutely. The calculator works for any shift length. Just enter your actual start, end, and break. For example, a 4-hour shift with a 15-minute break (if unpaid) would give 3.75 hours.
Does the calculator account for overtime?
No, it only computes total paid hours. Overtime is typically calculated as hours over 40 per week, or over 8 per day in some states. You would need to subtract lunch first, then apply overtime rules separately.
Related
Formula used
in t | Start time (HH:MM) | - | 9:00 | 0 in t | End time (HH:MM) | - | 17:30 | 0 in d | Lunch break | min | 30 | 0 out hours | Total paid hours | h:mm | (end - start) - d / 60 | time out minutes | Total paid minutes | min | ((end - start) * 60) - d | 0
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.