Hours Calculator

Hours worked from clock-in to clock-out, in hours and minutes and decimal, with weekly overtime and pay.

Your numbers

If the end time is earlier than the start time, the shift is counted as ending the next day (an overnight shift).

minutes

Meal breaks of 30 minutes or more where you are fully off duty are usually unpaid. Short rest breaks (20 minutes or less) count as work time under federal law, so leave them out.

days

Used for weekly hours and overtime. Assumes every shift is the same.

$

Leave at 0 to skip pay. Pay is gross, before taxes and deductions.

Result

  • Unpaid break30 minutes
  • Days worked per week5 days
  • Hourly pay rate$0.00
Hours worked per shift8 h 0 m

From 9:00 AM to 5:30 PM minus a 30-minute unpaid break, you work 8 h 0 m (8.00 hours) per shift. Over 5 days that is 40 h 0 m (40.00 hours) a week.

Decimal hours per shift
8.00
Time on the clock (incl. break)
8 h 30 m
Hours per week
40 h 0 m (40.00)
Overtime per week (over 40)
None
Hours per month (avg.)
173.3
Hours per year (52 weeks)
2,080

Your shift

  • Worked8 h 0 m94%
  • Unpaid break0 h 30 m6%
Weekly time card
DayIn – outWorkedDecimalRunning total
Day 19:00 AM – 5:30 PM8 h 0 m8.008 h 0 m (8.00)
Day 29:00 AM – 5:30 PM8 h 0 m8.0016 h 0 m (16.00)
Day 39:00 AM – 5:30 PM8 h 0 m8.0024 h 0 m (24.00)
Day 49:00 AM – 5:30 PM8 h 0 m8.0032 h 0 m (32.00)
Day 59:00 AM – 5:30 PM8 h 0 m8.0040 h 0 m (40.00)
Week total5 shifts40 h 0 m40.00

Federal overtime (1.5× pay) applies to non-exempt employees only after 40 hours in a workweek. Some states also have daily overtime rules.

Adding up a time card by hand trips people up for two reasons: clock times run in 60-minute hours, and payroll wants decimal hours. This hours calculator takes a start time and an end time, removes your unpaid break, and gives the time worked both ways, for example 8 h 30 m = 8.50 hours. Overnight shifts that cross midnight are handled automatically.

Add the days you work each week and your hourly rate to see weekly hours, overtime past 40 hours and gross pay, plus a day-by-day time card showing when overtime starts.

How to use the Hours Calculator

  1. Enter your start time and end time. If you finish after midnight, enter the real end time; it is counted on the next day.
  2. Enter your unpaid break in minutes, such as a 30-minute lunch. Leave out short paid rest breaks.
  3. Set the days worked per week to see weekly hours and any overtime.
  4. Optionally enter your hourly rate to see pay per shift, weekly pay and overtime pay.

The formula

Hours worked = (end time − start time) − unpaid break
Decimal hours = whole hours + minutes ÷ 60
Weekly hours = hours worked × days per week
Overtime hours = weekly hours − 40 (if above 40)
Weekly pay = rate × regular hours + 1.5 × rate × overtime hours
  • End time − start time: if the end is earlier than the start, 24 hours are added because the shift crosses midnight
  • Unpaid break: time fully off duty, usually a meal break of 30 minutes or more
  • Regular hours: the first 40 hours of the workweek
  • Rate: your regular hourly pay rate before taxes

Worked example

You clock in at 8:45 AM and out at 5:20 PM with a 30-minute unpaid lunch, 5 days a week, at $22 an hour.

  • 8:45 AM to 5:20 PM is 8 hours 35 minutes. Minus the 30-minute lunch: 8 h 5 m per shift
  • In decimal: 5 ÷ 60 = 0.0833, so 8.08 hours
  • Five shifts: 40 h 25 m (40.42 hours) a week, so 25 minutes are overtime
  • Pay: 40 × $22 = $880.00, plus 25 minutes at $33.00 an hour = $13.75. Weekly gross: $893.75
  • Over 52 weeks: about $46,475 before taxes

For a night shift from 10:00 PM to 6:00 AM with a 30-minute break, the calculator counts across midnight: 8 hours minus 30 minutes = 7 h 30 m, or 7.50 hours.

Minutes to decimal hours conversion chart

Divide minutes by 60 to get a fraction of an hour. 15 minutes = 0.25 hours, 30 minutes = 0.50 and 45 minutes = 0.75. The chart below rounds to two decimals, the way most payroll systems show it.

MinutesHoursMinutesHoursMinutesHoursMinutesHours
1 min0.0216 min0.2731 min0.5246 min0.77
2 min0.0317 min0.2832 min0.5347 min0.78
3 min0.0518 min0.3033 min0.5548 min0.80
4 min0.0719 min0.3234 min0.5749 min0.82
5 min0.0820 min0.3335 min0.5850 min0.83
6 min0.1021 min0.3536 min0.6051 min0.85
7 min0.1222 min0.3737 min0.6252 min0.87
8 min0.1323 min0.3838 min0.6353 min0.88
9 min0.1524 min0.4039 min0.6554 min0.90
10 min0.1725 min0.4240 min0.6755 min0.92
11 min0.1826 min0.4341 min0.6856 min0.93
12 min0.2027 min0.4542 min0.7057 min0.95
13 min0.2228 min0.4743 min0.7258 min0.97
14 min0.2329 min0.4844 min0.7359 min0.98
15 min0.2530 min0.5045 min0.7560 min1.00

Some employers record time in tenths of an hour, where each 6 minutes is 0.1 hours: 1–6 minutes = 0.1, 7–12 minutes = 0.2, and so on. To go the other way, multiply the decimal part by 60: 7.80 hours is 7 hours and 0.80 × 60 = 48 minutes.

Breaks, rounding and overtime: the federal rules

TopicFederal rule (FLSA)
Short rest breaks (usually 20 minutes or less)Paid work time; don’t subtract them
Meal breaks (typically 30 minutes or more)Can be unpaid if you are completely relieved from duty
Time-clock roundingAllowed to the nearest 5 minutes, tenth or quarter hour, if it averages out so workers are paid for all time worked
OvertimeAt least 1.5× the regular rate for hours over 40 in a workweek, for non-exempt employees
Averaging weeksNot allowed: each 7-day workweek stands alone

With quarter-hour rounding, 1–7 minutes past a quarter rounds down and 8–14 minutes rounds up. Federal law does not require breaks or daily overtime, but many states do. California, for example, pays overtime after 8 hours in a day. Salaried exempt employees are not owed overtime at all. Check your state labor department for the rules where you work.

Frequently asked questions

How do I calculate hours worked?
Subtract the start time from the end time, then subtract any unpaid break. From 9:00 AM to 5:30 PM with a 30-minute lunch is 8 hours 30 minutes minus 30 minutes, or 8 hours.
How do I convert minutes to decimal hours?
Divide the minutes by 60. 15 minutes is 0.25 hours, 20 minutes is 0.33, 30 minutes is 0.50 and 45 minutes is 0.75. So 7 hours 45 minutes is 7.75 hours.
How do I calculate hours for a shift that goes past midnight?
Add 24 hours to the end time before subtracting. A 10:00 PM to 6:00 AM shift is (6 + 24) − 22 = 8 hours. The calculator does this automatically when the end time is earlier than the start.
Is lunch break counted as hours worked?
Under federal law, a meal break of about 30 minutes or more is unpaid if you are fully relieved from duty. Short breaks of 20 minutes or less must be paid. Some states have their own break rules.
When do I get overtime pay?
Non-exempt employees covered by the FLSA earn at least 1.5 times their regular rate for every hour over 40 in a workweek. At $20 an hour, overtime pays $30 an hour. Some states add daily overtime.

Sources

Embed this calculator on your website

Free for any site: blogs, newsletters, school pages. Paste this code where you want it to appear. It resizes itself, works on mobile and carries no ads.

Preview