8 Hour Workday Calculator

8 Hour Workday Calculator
Find out when your shift ends

How the Calculation Works

The formula is straightforward:

Clock-Out Time = Start Time + Shift Hours + Break Time

Your break doesn’t count as paid work time, so it gets added on top of your shift. If you work 8 hours and take a 30-minute lunch, you’re at the office for 8.5 hours total.

Worked example:

Say you start at 8:45 AM and take a 45-minute lunch break during a standard 8-hour shift.

  • Start time: 8:45 AM = 525 minutes from midnight
  • Shift: 8 hours = 480 minutes
  • Break: 45 minutes
  • Total office time: 525 minutes
  • End time: 525 + 480 + 45 = 1,050 minutes from midnight = 5:30 PM

So you’d clock out at 5:30 PM. You spent 8 hours 45 minutes at the office, but 8 of those hours were billable work time.

If your shift crosses midnight (say you start at 10:00 PM), the calculator handles that automatically and flags the result as “Next Day.”


How to Interpret Your Clock-Out Time

Your clock-out time is the earliest you can leave while completing your required hours. A few things worth knowing:

It’s the floor, not the ceiling. If your employer requires 8 paid hours of work, your break time doesn’t count toward that. A 30-minute lunch means you need to be at work for 8 hours 30 minutes, not just 8 hours. Many people forget this and leave 30 minutes early by accident.

Flexible start times matter more than people think. Arriving at 8:50 AM instead of 9:00 AM shifts your end time by 10 minutes. Over a year, small timing differences add up. Some employers track this precisely; others don’t.

Legal break requirements vary by state. Federal law doesn’t mandate lunch breaks, but many states require a 30-minute unpaid meal break after 5 or 6 hours of work. Short paid breaks (under 20 minutes) are often required to be compensated under federal law. Check your state’s labor laws if you’re unsure.

Overtime kicks in past 8 hours of actual work. If your shift length goes beyond 8 hours in California, daily overtime applies at 1.5x. In most other states, overtime is calculated weekly (over 40 hours). The shift length slider in the calculator goes up to 12 hours so you can plan for longer days.


How to Do This in Excel

Excel stores time as decimal fractions of a day. One full day = 1.0, so 8 hours = 8/24 = 0.3333, and 30 minutes = 0.5/24 = 0.02083.

The simplest way to do this in Excel is with the TIME() function.

Basic formula

If your start time is in cell A2, your shift hours in B2, and your break minutes in C2:

=A2 + TIME(B2, C2, 0)

TIME(hours, minutes, seconds) builds a time value you can add directly to your start time. So TIME(8, 30, 0) gives you 8 hours and 30 minutes.

When the shift crosses midnight

Simple addition breaks when the result goes past 24:00. Use MOD() to wrap correctly:

=MOD(A2 + TIME(B2, C2, 0), 1)

MOD(..., 1) strips out full days and keeps only the time portion, so a result of 25:30 becomes 1:30 AM.

Converting the result to readable text

Excel’s default time formatting can look awkward. Use TEXT() to format the output as a clean 12-hour clock:

=TEXT(MOD(A2 + TIME(B2, C2, 0), 1), "h:MM AM/PM")

Displaying total time at office

To show “8 hr 30 min” instead of a decimal:

=TEXT(TIME(B2, C2, 0), "[h] ""hr"" mm ""min""")

Gotcha: Excel’s time values never exceed 1.0 in standard format. If you’re calculating durations longer than 24 hours (across multiple days), use [h]:mm formatting in the Format Cells dialog instead of hh:mm, or the hours will reset to zero at 24:00.

Related tutorials on Spreadsheet Planet:


Common Mistakes to Avoid

Counting break time as work time. If you take a 30-minute unpaid lunch, you need to work 8 full hours on top of that break. Your total time at the office is 8 hours 30 minutes, not 8 hours. This is the most common reason people clock out early without realizing it.

Forgetting that paid short breaks count differently. Many employers offer two 15-minute paid breaks during an 8-hour shift. Those don’t extend your clock-out time because they’re counted as paid work time. Only unpaid meal breaks push your end time later.

Using hh:mm format for durations over 24 hours in Excel. If you’re building a weekly timesheet and a row shows 0:00 instead of 24:00, you’ve hit this bug. Switch your cell format to [h]:mm to fix it.

Not accounting for rounding policies. Some employers round clock-in and clock-out times to the nearest 5 or 15 minutes. A 9:07 AM start might be recorded as 9:00 AM or 9:15 AM depending on the policy. This affects your calculated end time.

Assuming the same rules apply everywhere. Break requirements, overtime thresholds, and rounding rules all vary by state, country, and employment contract. This calculator gives you the math. Always verify the legal requirements for your location.


Frequently Asked Questions

What time does an 8-hour shift end if I start at 9 AM?
If you take no breaks, you clock out at 5:00 PM. With a 30-minute lunch break, you leave at 5:30 PM. With a 60-minute lunch, it’s 6:00 PM. The break time always gets added on top of your 8 hours of work.

Does lunch break count as part of the 8-hour workday?
It depends on whether your break is paid or unpaid. Paid breaks (usually 15 minutes or less) count toward your 8 hours. Unpaid meal breaks (typically 30–60 minutes) do not. Most employers treat lunch as unpaid, which means you’re at the office for 8.5 hours to complete 8 hours of work.

What if I start work at different times each day?
Just change the start time input each day. The calculation works the same regardless of when you begin. If you track different start times across the week, the Excel formula above handles this in a spreadsheet — put each day’s start time in its own row and the formula fills in the rest.

How do I calculate my clock-out time for a 10-hour shift?
Use the shift length slider to set it to 10 hours. The formula is the same: start time + 10 hours + break time. A 7:00 AM start with a 30-minute break means you leave at 5:30 PM.

Can I use this for overnight shifts?
Yes. If your shift crosses midnight — say you start at 11:00 PM and work 8 hours with a 30-minute break — the calculator shows 7:30 AM and flags the result as “Next Day” so there’s no confusion.

What’s the difference between “time at office” and “work hours”?
Work hours is your paid shift length — the hours you’re actually working. Time at office includes your break on top of that. If you work 8 hours and take a 30-minute lunch, your work hours are 8 hr and your time at office is 8 hr 30 min.

Related Articles / Calculators:

I am a huge fan of Microsoft Excel and love sharing my knowledge through articles and tutorials. I work as a business analyst and use Microsoft Excel extensively in my daily tasks. My aim is to help you unleash the full potential of Excel and become a data-slaying wizard yourself.