Hours Calculator

Choose what you want to calculate, enter your values, and press Calculate.

Enter one work block for a simple shift, or add more work blocks for a split shift or a lunchtime clock-out. Do not enter an extra break for a gap already excluded by a second work block.
Applies to a single Clock In / Clock Out pair above, such as an overnight shift. When more than one work block is used, each block is assumed to start and end on the same calendar day.
min
Only enter break time that should actually be excluded from paid work time. Short rest breaks are often paid; the calculator does not subtract them unless you enter them here.
$

How Many Hours Did I Work?

To calculate hours worked, start with the amount of time between clock-in and clock-out and subtract only the break time that should not count as paid work. For example, clocking in at 9:00 AM and clocking out at 5:30 PM is an elapsed shift of 8 hours, 30 minutes. Subtracting a 30-minute unpaid lunch leaves a net work time of 8 hours.

Visual: Shift Timeline

A shift timeline moving left to right through clock in, work, unpaid break, work, and clock out CLOCK IN Work Unpaid Break Work CLOCK OUT

Clock In, then Work, then an Unpaid Break, then more Work, then Clock Out. Only the unpaid-break segment is excluded from net paid work time.

Shift timeline segments
SegmentCounted as Paid Work Time
Work (before break)Yes
Unpaid breakNo
Work (after break)Yes

The calculation becomes more complicated when a shift crosses midnight, includes several clock-in periods, or needs to be added to a weekly time card. That is what the Hours Calculator above is designed to handle.

How Many Hours Is 9 to 5?

9:00 AM to 5:00 PM is eight elapsed hours. If you also take an unpaid 30-minute lunch, the math becomes 8 hours minus 30 minutes, which equals 7 hours, 30 minutes, or 7.50 decimal hours. If the lunch is paid, it should not be subtracted. The correct calculation depends on how your employer treats that time.

9:00 AM to 5:00 PM = 8 hours elapsed
8 hours − 30 unpaid minutes = 7 hours 30 minutes = 7.50 decimal hours

Visual: Gross vs. Net Work Time

A clock span of 8 hours 30 minutes minus a 30-minute unpaid break equals 8 hours 0 minutes of net paid work time Clock Span8:30 − Unpaid Break0:30 = Net Paid Work Time8:00

Gross clock span minus unpaid break time equals net paid work time. Only time that is actually excluded from compensable work should be subtracted.

Gross vs. net work time example
Clock SpanUnpaid BreakNet Paid Work Time
8:300:308:00

How to Calculate Work Hours

A reliable method is to convert each clock time to minutes after midnight, then subtract.

Example

9:15 AM = 9 × 60 + 15 = 555 minutes.

5:45 PM = 17 × 60 + 45 = 1,065 minutes.

Difference: 1,065 − 555 = 510 minutes = 8 hours, 30 minutes.

If there is a 30-minute unpaid break: 510 − 30 = 480 minutes = 8 hours.

How to Calculate an Overnight Shift

Suppose you clock in at 10:00 PM and clock out at 6:30 AM. The end time is on the next calendar day, so a plain subtraction of clock times would produce a negative number. The fix is to add 24 hours, or 1,440 minutes, to the end time before subtracting.

Example

10:00 PM = 1,320 minutes after midnight.

6:30 AM = 390 minutes after midnight.

Add one day to the end: 390 + 1,440 = 1,830.

Difference: 1,830 − 1,320 = 510 minutes = 8 hours, 30 minutes.

Subtract a 30-minute unpaid meal period: 8 paid hours.

In the Single Shift mode above, select Ends Next Day under Shift Timing and the calculator applies this same 1,440-minute adjustment automatically.

How Do Lunch Breaks Affect Hours Worked?

A break should only be subtracted when it is actually excluded from compensable work time. The U.S. Department of Labor explains that short rest periods, usually 20 minutes or less, are generally counted as hours worked under the FLSA. Bona fide meal periods, typically 30 minutes or more, generally need not be paid when the employee is completely relieved from duty. That is why this calculator labels the input Unpaid Meal / Break Time rather than assuming every break is unpaid. Your employer, contract, state law, or work situation may have additional rules.

What if I Clock Out for Lunch?

If you enter separate work blocks, such as 8:00 AM to 12:00 PM and 1:00 PM to 5:00 PM, the calculator simply adds the two worked intervals: four hours plus four hours equals eight hours. The one-hour gap is already excluded. Do not subtract another 60-minute break unless there was an additional unpaid break inside the entered work blocks.

How Do I Calculate Weekly Work Hours?

Calculate each day's net work time, then add the daily totals. For example, Monday through Friday at 8 hours each produces a weekly total of 40 hours. If Saturday adds five more hours, the weekly total becomes 45. For a covered nonexempt employee under the federal FLSA, overtime is generally due for hours worked over 40 in a workweek. The exact legal result can depend on employment status and other rules, so the calculator presents this as an estimate rather than a legal determination.

Visual: Weekly 40-Hour Example

Bar chart of Monday through Sunday hours, with Monday through Friday at 8 hours, Saturday at 5, and overtime highlighted Mon8 Tue8 Wed8 Thu8 Fri8 Sat5 Sun0 Total: 45 Regular: 40 Overtime: 5

Monday through Friday at 8 hours each totals 40. Saturday adds 5 more hours for a weekly total of 45: 40 regular plus 5 overtime, using the common federal 40-hour example threshold.

Weekly 40-hour overtime example
DayHours
Monday8
Tuesday8
Wednesday8
Thursday8
Friday8
Saturday5
Sunday0
Weekly total45
Regular (40-hour example threshold)40
Overtime5

Is Overtime Always After 8 Hours in a Day?

No, not under the general federal FLSA rule. Federal overtime for covered nonexempt workers is generally based on hours over 40 in a workweek. Some states, contracts, union agreements, or employer policies may use daily overtime rules. That means a calculator should not automatically label every hour after eight in one day as federally required overtime. If you have a known custom threshold from your state or contract, the calculator above can model it as a planning value under Overtime After (Weekly Hours) in Weekly Time Card mode, but that custom number is not presented as universal law.

What Is an FLSA Workweek?

The U.S. Department of Labor describes a workweek as a fixed and regularly recurring period of 168 hours, which is seven consecutive 24-hour periods. It does not have to start on Monday. That matters for overtime calculations, because two shifts may fall in different employer workweeks even if they appear next to each other on a calendar. The weekly mode above is therefore an estimate based on the seven days you enter, not a determination of your employer's official workweek.

How Do I Calculate Overtime Pay?

A simple standard example: a regular rate of $20 per hour, 40 regular hours, 5 overtime hours, and an overtime multiplier of 1.5.

Regular pay: 40 × $20 = $800
Overtime rate: $20 × 1.5 = $30
Overtime pay: 5 × $30 = $150
Estimated gross pay: $800 + $150 = $950

Real payroll can also involve bonuses, differentials, multiple pay rates, exemptions, taxes, and other rules that this calculator does not model.

How Do I Convert Work Time to Decimal Hours?

Payroll systems often display work duration as decimal hours. For 7 hours, 30 minutes: 30 ÷ 60 = 0.50, so the result is 7.50 hours. For 7 hours, 45 minutes: 45 ÷ 60 = 0.75, so the result is 7.75 hours. For detailed minute conversion and payroll rounding comparisons, use the CalculateThisWay Minute Calculator.

Visual: Hours vs. Decimal Hours

7 hours 30 minutes equals 7.50 decimal hours, and 7 hours 45 minutes equals 7.75 decimal hours 7 h 30 m = 7.50 decimal hours 7 h 45 m = 7.75 decimal hours

Minutes convert to a decimal fraction of 60, not of 100: 30 minutes is 0.50 of an hour, and 45 minutes is 0.75.

Hours and minutes converted to decimal hours
Hours and MinutesDecimal Hours
7 h 30 m7.50
7 h 45 m7.75

What Time Can I Leave After Working 8 Hours?

Suppose you clock in at 8:00 AM and need 8 paid hours with 30 unpaid minutes. You need to remain on the clock for 8 hours, 30 minutes. The result is 4:30 PM. If the break is paid instead, the result would be 4:00 PM. That is why break treatment belongs in the calculation.

Visual: When Can I Leave?

8:00 AM plus 8 paid hours plus 30 unpaid minutes equals a 4:30 PM clock-out 8:00 AM + 8 paidhours + 30 unpaidminutes = 4:30 PM

Clock-in time plus target paid hours plus any planned unpaid break equals your estimated clock-out time.

When Can I Leave example
Clock InTarget Paid HoursUnpaid BreakEstimated Clock Out
8:00 AM830 min4:30 PM

Why Accurate Work-Time Records Matter

The Department of Labor's recordkeeping guidance requires covered employers to maintain information including hours worked each day and total hours worked each workweek for covered nonexempt employees. This calculator can help you check your own arithmetic. It does not replace an employer's official timekeeping or payroll record.

Hours Calculator vs. Time Calculator vs. Minute Calculator

Use Hours Calculator for work shifts, lunch breaks, weekly totals, overtime estimates, gross pay, and clock-out planning. Use Time Calculator for general time addition, general time subtraction, elapsed clock time, and clock-time arithmetic unrelated to a pay period. Use Minute Calculator for minute differences, decimal-hour conversion, minute conversion, and payroll-rounding examples.

Worked Examples

The examples below use the same calculation engine as the calculator above. Values are computed live in JavaScript rather than typed in as fixed text, so they will always match what the calculator itself would return for these inputs.

Single Shift With Lunch

9:00 AM to 5:30 PM, 30 minutes unpaid.

Overnight Shift

10:00 PM to 6:30 AM, 30 minutes unpaid.

Weekly Overtime Example

Monday through Friday at 8 hours, plus 5 hours on Saturday.

When Can I Leave?

Clock in 8:00 AM, 8 paid hours target, 30 unpaid minutes.

Decimal Hours

7 hours, 45 minutes.

Try It Yourself

Clock in 7:43 AM. Clock out 4:10 PM. 45-minute unpaid lunch.

What are the net hours worked and the decimal hours?

Elapsed span: 7:43 AM to 4:10 PM is 8 hours, 27 minutes. Subtracting the 45-minute unpaid lunch leaves 7 hours, 42 minutes of net work time, or 7.70 decimal hours.

Which Calculator Do I Need?

Hours Calculator (this page)

I want a full work shift, weekly time card, overtime estimate, or gross pay.

Time Calculator

I want to add or subtract clock time, including seconds, or find general elapsed time.

Minute Calculator

I want minutes between two times, decimal-hour conversion, or a payroll rounding comparison.

Date Calculator

I want the number of days between two dates, or a future or past date.

Day Counter

I want days until an event, days since a date, or days alive, married, or on a streak.

Questions People Ask

How many hours did I work?

Enter your clock-in and clock-out times in Single Shift mode above and subtract any unpaid break, or add multiple work blocks if you clocked in and out more than once. The calculator returns net hours worked, decimal hours, and total worked minutes.

How many hours is 9 to 5?

9:00 AM to 5:00 PM is 8 elapsed hours. If no break is subtracted, net hours worked is also 8 hours.

How many hours is 9 to 5 with lunch?

9:00 AM to 5:00 PM is 8 elapsed hours. Subtracting a 30-minute unpaid lunch leaves 7 hours 30 minutes, or 7.50 decimal hours.

How many hours is 8 to 4?

8:00 AM to 4:00 PM is 8 elapsed hours, the same length as 9 to 5, just shifted earlier in the day.

How many hours is 8:30 to 5?

8:30 AM to 5:00 PM is 8 hours 30 minutes elapsed. Subtracting a 30-minute unpaid break brings net work time to 8 hours.

How do I calculate hours between two times?

Convert each clock time to minutes after midnight (hours times 60 plus minutes), subtract the start from the end, then subtract any unpaid break minutes. Single Shift mode above does this automatically.

How do I subtract lunch?

Enter your unpaid lunch length in the Unpaid Meal / Break Time field. The calculator subtracts it from your elapsed clock span to produce net hours worked. Only enter break time that should actually be excluded from paid work time.

Are lunch breaks paid?

It depends on your employer and situation. The U.S. Department of Labor explains that bona fide meal periods, typically 30 minutes or more, generally need not be paid when an employee is completely relieved of duty. Check your employer's policy for your specific situation.

Are short breaks paid?

Often, yes. DOL Fact Sheet #22 explains that short rest periods, usually 20 minutes or less, are generally counted as hours worked under the FLSA. This is general information, not a guarantee of how any specific employer treats a given break.

How do I calculate an overnight shift?

Select Ends Next Day for Shift Timing, enter your clock-in and clock-out times, and the calculator adds 24 hours to the clock-out time before subtracting the clock-in time, so the overnight span is measured correctly.

How do I calculate weekly hours?

Enter a start time, end time, and break minutes for each day worked in Weekly Time Card mode. The calculator adds each day's net hours to produce a weekly total, then splits that total into regular and overtime hours based on the threshold you choose.

What is a workweek?

The U.S. Department of Labor describes a workweek as a fixed and regularly recurring period of 168 hours, or seven consecutive 24-hour periods. It does not have to start on Monday, and the weekly mode above is an estimate based on the seven days you enter.

When does federal overtime start?

For covered nonexempt employees under the federal Fair Labor Standards Act, overtime is generally owed after 40 hours worked in a single workweek, not after a set number of hours in one day.

Is overtime always after 8 hours?

No. The general federal FLSA overtime rule is based on exceeding 40 hours in a workweek, not 8 hours in a day. Some states, union contracts, or employer policies do use daily overtime rules, but that is not a universal federal requirement.

How do I calculate overtime pay?

Multiply overtime hours by your regular hourly rate and by your overtime multiplier, often 1.5. For example, 5 overtime hours at a $20 regular rate and a 1.5 multiplier equals 5 times $20 times 1.5, or $150 in estimated overtime pay.

What is time and a half?

Time and a half means paying 1.5 times an employee's regular hourly rate for qualifying overtime hours. At a $20 regular rate, time and a half is $30 per hour.

What is 45 hours with overtime?

Using the common federal 40-hour example threshold, 45 hours in a week splits into 40 regular hours and 5 overtime hours.

How do I convert minutes to decimal hours?

Divide the minutes by 60. For example, 30 minutes divided by 60 equals 0.50, and 45 minutes divided by 60 equals 0.75.

What is 7 hours 30 minutes in decimal?

30 minutes divided by 60 equals 0.50, so 7 hours 30 minutes equals 7.50 decimal hours.

What is 7 hours 45 minutes in decimal?

45 minutes divided by 60 equals 0.75, so 7 hours 45 minutes equals 7.75 decimal hours.

How do I calculate split shifts?

Use Add Work Block in Single Shift mode to enter each clock-in and clock-out period separately, such as 8:00 AM to 12:00 PM and 1:00 PM to 5:00 PM. The calculator adds the worked blocks together without subtracting the unpaid gap a second time.

Can I enter two clock-in periods?

Yes. Single Shift mode supports multiple work blocks for split shifts or lunch clock-outs, and Weekly Time Card mode supports an optional second in and out block for any day.

What time can I leave after 8 hours?

Add your target paid hours and planned unpaid break to your clock-in time. For example, clocking in at 8:00 AM with an 8-hour paid target and a 30-minute unpaid break means working until 4:30 PM.

How do I calculate gross pay?

Multiply regular hours by your hourly rate, multiply overtime hours by your rate and overtime multiplier, then add the two amounts together. This is an estimate of gross pay before taxes, deductions, differentials, or bonuses.

Does this calculate taxes?

No. This calculator estimates gross pay only. It does not calculate taxes, withholdings, deductions, or take-home pay.

Does this determine whether I am legally owed overtime?

No. This calculator provides a general estimate based on the inputs you enter. It is not legal advice and does not determine what any specific employer legally owes. Check your state law, union contract, or employer policy, or consult the U.S. Department of Labor or a qualified professional for your situation.

Can state rules differ?

Yes. Some states require daily overtime, higher minimum overtime multipliers, or other protections beyond the federal FLSA baseline. Always check the rules that apply in your own state or contract.

Where do I calculate minute rounding?

Use the CalculateThisWay Minute Calculator for minute-level differences, decimal-hour conversion, and payroll rounding comparisons.

Sources & Further Learning

Methodology & Limitations

This calculator provides general estimates only and is not legal, payroll, or tax advice. Under the federal Fair Labor Standards Act (FLSA), covered nonexempt employees are generally entitled to overtime pay of at least 1.5 times their regular rate after 40 hours worked in a single workweek, not simply because a shift or workday exceeds 8 hours (see U.S. Department of Labor Fact Sheets #21, #22, and #23). State law, local law, union contracts, or employer policy may impose different or stricter rules, including daily overtime requirements in some states. Always check the rules that apply to your own jurisdiction, contract, or employer rather than relying solely on this calculator. This tool does not calculate taxes or deductions and does not guarantee what any employer actually owes.