Work Hours Calculator

Tracking how many hours you've actually worked sounds simple until you're staring at a timesheet and trying to figure out whether 8:47 AM to 5:15 PM with a 30-minute lunch break is 7 hours and 58 minutes or something else entirely. A work hours calculator takes the guesswork out of it. Whether you're an employee logging time for a paycheck, a freelancer billing a client, or a manager running payroll, getting the math right matters. This guide walks through how to calculate work hours accurately, from basic start-to-end time math to overtime, decimal conversion, and pay estimates.

Enter Details

Result

Enter your shift to calculate worked hours.

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

How to Use the Work Hours Calculator

Using a work hours calculator is pretty straightforward. You enter your start time, your end time, and any break time you want to subtract. The calculator does the rest and spits out your total hours worked, often in both hours/minutes format and decimal form.

Here's what you'll typically need to have on hand:

  • Start time for each shift or work session
  • End time for that same shift
  • Break duration in minutes (lunch breaks, rest periods, etc.)
  • Your hourly rate if you want a pay estimate

Most calculators let you enter time in 12-hour format (with AM/PM) or 24-hour military time. Either works fine as long as you're consistent. If you're calculating a full workweek, you'll enter each day's times separately and the calculator adds them up across all five (or however many) days.

Calculate Hours Worked Between Start and End Time

The core calculation is just subtraction. Take your end time, subtract your start time, and you have the raw number of hours and minutes you were on the clock.

For example: if you clocked in at 9:00 AM and clocked out at 5:30 PM, that's 8 hours and 30 minutes of total time. Easy enough when the numbers are clean. It gets a little trickier when your shift crosses midnight (say, 11:00 PM to 7:00 AM) or when your start and end times have odd minutes.

For midnight crossings, you add 24 hours to the end time before subtracting. So 11:00 PM to 7:00 AM becomes 7:00 AM + 24 hours = 31:00, minus 23:00 (11 PM in 24-hour time) = 8 hours.

When minutes are involved, it helps to convert everything to total minutes first, do the subtraction, then convert back. Multiply hours by 60, add the minutes, subtract, and divide by 60 to get back to hours. That approach avoids the common mistake of treating minutes like base-10 numbers when they're actually base-60.

Work Hours Formula

The basic formula for calculating work hours is:

Total Hours Worked = (End Time − Start Time) − Break Time

In practice, it looks like this. Convert both your start and end times into minutes since midnight (or any consistent reference point), subtract start from end, subtract your break time in minutes, then convert the result back into hours and minutes.

As a quick reference:

  • 1 hour = 60 minutes
  • To convert a time like 2:45 to minutes: (2 × 60) + 45 = 165 minutes
  • To convert 490 minutes back to hours: 490 ÷ 60 = 8 hours and 10 minutes

If you want the result as a decimal (which is what most payroll systems use), just divide the remaining minutes by 60 and add that to the whole hours. So 8 hours and 10 minutes = 8 + (10 ÷ 60) = approximately 8.17 hours.

Subtract Breaks from Total Work Hours

Not all time at work is paid work time. Meal breaks and unpaid rest periods need to come out of your total before you calculate pay. This is where a lot of people make small errors that add up over a pay period.

The math itself is simple: just subtract your total break time (in minutes) from your total time on the clock. If you worked from 8:00 AM to 5:00 PM (9 hours) and took an unpaid 45-minute lunch, your actual paid hours are 8 hours and 15 minutes.

A few things worth keeping in mind:

  • Paid vs. unpaid breaks: Short rest breaks (usually under 20 minutes) are often considered paid time under federal law. Meal breaks typically aren't, but check your employer's policy.
  • Multiple breaks: If you take more than one break in a shift, add them all up before subtracting. Two 15-minute breaks = 30 minutes total to deduct.
  • Rounding: Some employers round break time or punch times to the nearest quarter hour. Know your company's policy so your numbers match theirs.

When entering breaks into a calculator, you'll usually just type the number of minutes. The tool handles the subtraction for you.

Convert Work Hours to Decimal Hours

Payroll software, invoices, and most timekeeping systems work in decimal hours, not hours and minutes. So 7 hours and 45 minutes needs to become 7.75 before it's useful in a spreadsheet or pay calculation.

The conversion is simple: divide the minutes portion by 60.

Hours & MinutesDecimal Hours
7 hours 0 minutes7.00
7 hours 15 minutes7.25
7 hours 30 minutes7.50
7 hours 45 minutes7.75
8 hours 20 minutes8.33
8 hours 40 minutes8.67

Once you have decimal hours, multiplying by your hourly rate is straightforward. That's really the main reason this format exists. If you're calculating a full week, add up all your daily decimal hours first, then multiply by your rate.

Calculate Overtime and Weekly Hours

In the U.S., federal law (specifically the Fair Labor Standards Act) requires that most employees receive overtime pay for any hours worked beyond 40 in a workweek. Overtime is typically paid at 1.5 times the regular hourly rate, which is why people call it "time and a half."

To figure out your overtime hours, just add up all your hours for the week. Anything over 40 is overtime. If you worked 46.5 hours in a week, you have 40 regular hours and 6.5 overtime hours.

Some states go further and require daily overtime, meaning you earn overtime for any hours past 8 in a single day regardless of your weekly total. California is the most well-known example. If you're in a state with daily overtime rules, the calculation gets a bit more involved, but the core math is the same.

To calculate weekly hours manually:

  1. Calculate your total hours worked for each day (end time minus start time minus breaks).
  2. Convert each day's total to decimal hours.
  3. Add all five (or however many) days together.
  4. Subtract 40 from the total if it's over 40 to find overtime hours.

Tracking this week by week keeps surprises off your paycheck and helps you flag any timesheet errors before they become a bigger hassle.

Estimate Payroll and Hourly Pay

Once you have your total hours in decimal form, estimating your gross pay is just one multiplication away.

Gross Pay = Total Regular Hours × Hourly Rate + Overtime Hours × (Hourly Rate × 1.5)

Say you worked 43.5 hours this week and your hourly rate is $18.00. That breaks down like this:

  • Regular hours: 40 × $18.00 = $720.00
  • Overtime hours: 3.5 × $27.00 (which is $18.00 × 1.5) = $94.50
  • Total gross pay: $720.00 + $94.50 = $814.50

Keep in mind this is gross pay, meaning before taxes, Social Security, Medicare, and any other deductions. Your take-home amount will be lower depending on your tax withholding and benefits elections.

For salaried employees converting to an hourly equivalent (say, for a side project or freelance rate), divide your annual salary by 2,080 (the standard number of work hours in a year based on 40 hours per week times 52 weeks). That gives you a rough hourly figure to work from.

Common Work Hours Calculation Examples

A few real-world scenarios where this math comes up most often:

Standard 9-to-5 with lunch: You work 9:00 AM to 5:00 PM with a 30-minute unpaid lunch. Total time on clock = 8 hours. Subtract 0.5 hours for lunch = 7.5 hours worked.

Split shift: You work 7:00 AM to 12:00 PM (5 hours) and then again from 3:00 PM to 7:00 PM (4 hours). Total = 9 hours for the day. No break subtraction needed if the gap between shifts was unpaid time off.

Overnight shift: Clocking in at 10:00 PM and out at 6:30 AM. Using 24-hour time: 06:30 + 24:00 = 30:30, minus 22:00 = 8 hours 30 minutes. Subtract a 30-minute break and you get 8.0 hours.

Freelance billing week: You logged 2.5 hours Monday, 4 hours Tuesday, 3.75 hours Thursday, and 1.25 hours Friday. Total = 11.5 hours. At $65/hour, that's $747.50 to invoice.

Overtime week: You worked 9 hours Monday through Friday and 7 hours on Saturday. That's 52 hours total. Subtract 40 regular hours = 12 hours of overtime. At $20/hour regular and $30/hour overtime: (40 × $20) + (12 × $30) = $800 + $360 = $1,160 gross.

These examples cover most of what comes up in everyday timekeeping. The specific numbers change, but the process stays the same: find your total time, subtract unpaid breaks, convert to decimal, then apply your rate.

Other Other Calculators

Explore all