Hours Calculator

Enter when you started and finished each day and how long your unpaid break was. The calculator adds up the week in hours and minutes and in decimal hours, splits out overtime after 40 hours, and shows your gross pay if you add an hourly rate.

Time card

DayInOutBreak (min)Hours
Mon8:00
Tue8:00
Wed8:00
Thu8:00
Fri8:00
Sat4:00
Sun0:00

Total hours

44:00

44.00 decimal hours

  • Regular hours40.00
  • Overtime hours4.00
  • Regular pay$800.00
  • Overtime pay$120.00
  • Gross pay$920.00

Overtime is counted per workweek, as the FLSA requires. Rates are before taxes.

How to use it

  1. Enter a start and end time for each day you worked. Leave days off blank.
  2. Type your unpaid break in minutes. Paid rest breaks (usually 5–20 minutes) stay on the clock, so don't subtract them.
  3. Add your hourly rate to see regular pay, overtime pay and the weekly total.
  4. Copy the decimal total into your payroll system or timesheet; it's the number most payroll software expects.

The formula

Hours for a day = (end time − start time) − unpaid break

If the end time is earlier than the start time, the shift ran past midnight and 24 hours are added.

Decimal hours = hours + minutes ÷ 60

Example: 9:00 AM to 5:30 PM with a 30-minute lunch is 8 hours 30 minutes minus 30 minutes = 8:00, or 8.00 decimal hours. Five of those days is 40 hours, so there is no overtime.

Good to know

  • Minutes are not decimals: 7 hours 30 minutes is 7.50 hours, not 7.30.
  • For an overnight shift such as 10 PM to 6 AM, just enter the times; the calculator knows the shift crossed midnight.
  • Under the federal Fair Labor Standards Act, non-exempt employees earn at least 1.5 times their regular rate for every hour over 40 in a workweek. A workweek is any fixed 7-day period your employer sets; it doesn't have to start on Monday.
  • Some states also have daily overtime. California pays 1.5× after 8 hours in a day; use the California overtime calculator for that.

Questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract any unpaid break. For example, 8:15 AM to 4:45 PM is 8 hours 30 minutes; with a 30-minute lunch that's 8 hours. Convert the minutes to a decimal by dividing by 60 if your payroll needs decimal hours.

How do I calculate hours that go past midnight?

Add 24 hours to the end time before subtracting. A shift from 10:00 PM to 6:30 AM is (6:30 + 24:00) − 22:00 = 8 hours 30 minutes. The calculator does this automatically whenever the end time is earlier than the start time.

Should breaks be subtracted from hours worked?

Only unpaid meal breaks, which under federal rules are usually 30 minutes or more and fully relieve you of duty. Short rest breaks of about 5 to 20 minutes count as hours worked and must be paid under the FLSA.

What is 40 hours in decimal?

40 hours is 40.00. Decimal hours only differ from clock hours when there are minutes: 40 hours 15 minutes is 40.25, 40 hours 30 minutes is 40.50, and 40 hours 45 minutes is 40.75.

When does overtime start?

Federal law requires overtime after 40 hours in a workweek for non-exempt employees. A few states add daily overtime: California and Alaska after 8 hours a day, Colorado after 12, and Nevada after 8 for lower-paid workers.

All calculators