Home / Other Calculators / Hours Calculator

Date & Time

Hours Calculator

Work out the hours and minutes between a start and end time, subtract an unpaid break, and optionally estimate your pay. Perfect for timesheets and shifts.

Hours worked

8h 00m

Decimal hours—
Break deducted—
Estimated pay—

How it works

The calculator finds the minutes between your start and end times, subtracts the unpaid break, and converts the result to hours and minutes plus decimal hours for payroll. If the end time is before the start time, it treats the shift as overnight and adds a day.

worked minutes = (end − start) − break
decimal hours = worked minutes ÷ 60
pay = decimal hours × hourly rate

Worked example

A shift from 09:00 to 17:30 is 510 minutes. Take off a 30-minute break to get 480 minutes, which is 8.00 decimal hours. At $20/hour that is $160.00.

Worked examples and decimal minutes

A shift from 8:45 AM to 5:15 PM is 8 hours 30 minutes; minus a 30-minute unpaid lunch, that is 8.0 hours. An overnight shift from 10:00 PM to 6:30 AM is 8 hours 30 minutes, or 8.5 decimal hours. Five 8-hour shifts plus one 6-hour shift make 46 hours, and under the US Fair Labor Standards Act non-exempt employees are owed time-and-a-half for the 6 hours over 40.

MinutesDecimal hours
5 min0.08
10 min0.17
15 min0.25
20 min0.33
30 min0.50
40 min0.67
45 min0.75
50 min0.83

12-hour to 24-hour time

12-hour24-hour12-hour24-hour
12:00 AM (midnight)00:0012:00 PM (noon)12:00
1:00 AM01:001:00 PM13:00
6:00 AM06:006:00 PM18:00
9:30 AM09:309:30 PM21:30
11:59 AM11:5911:59 PM23:59

Sample weekly timesheet

DayInOutBreakHours
Monday8:00 AM4:30 PM30 min8.00
Tuesday8:00 AM5:00 PM30 min8.50
Wednesday8:15 AM4:30 PM30 min7.75
Thursday8:00 AM6:00 PM45 min9.25
Friday8:00 AM3:30 PM30 min7.00
Total40.50

At $22 an hour with time-and-a-half after 40 hours: 40 × $22 + 0.5 × $33 = $880 + $16.50 = $896.50.

Rounding and overtime rules

For overtime pay across a full week, use the overtime pay calculator.

Frequently asked questions

How do I calculate hours worked?

Subtract start from end and deduct any unpaid break. Overnight shifts (end before start) add 24 hours automatically.

How are decimal hours found?

Divide worked minutes by 60, 8h 15m becomes 8.25 decimal hours, the format payroll uses.

How do I convert minutes to decimal hours?

Divide by 60. 15 minutes is 0.25 hours, 45 minutes is 0.75 hours.

Is a 30-minute lunch counted as hours worked?

Not if it is a genuine unpaid meal break. Under US federal rules, short breaks of about 5 to 20 minutes are paid work time, while bona fide meal breaks of 30 minutes or more can be unpaid.

How do I convert 24-hour time to 12-hour?

Subtract 12 from hours 13 to 23 and add PM; 00 becomes 12 AM. For example, 17:45 is 5:45 PM.

What is the 7-minute rule?

If time is rounded to the nearest quarter hour, 1 to 7 minutes rounds down and 8 to 14 minutes rounds up. It is allowed under federal rules when applied neutrally.

Related calculators