Hours Calculator

Count the hours between two clock times. Enter a start and end time (12-hour or 24-hour), subtract an unpaid break, and get the result in hours and minutes and as the decimal hours timesheets use. Shifts that cross midnight are handled automatically; add an hourly rate to see the pay.

minutes
$

Hours worked

8 h 0 min

8.00 hours in decimal

  • From → to9:00 AM → 5:30 PM
  • Elapsed8 h 30 min
  • Break− 30 min
  • Hours worked8:00 · 8.00 h · 480 min
  • Five such days40.00 h
Minutes to decimal hours
MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

How this was calculated

Minutes = end − start = 510; minus break 30 = 480 min

Decimal hours = minutes ÷ 60 = 8.0000

How hours are counted

Convert both times to minutes since midnight, subtract, and if the result is negative the shift crossed midnight, so add 24 hours. Take off any unpaid break, then express the remainder as hours and minutes or divide by 60 for decimal hours. 9:00 AM to 5:30 PM is 510 minutes; less a 30-minute lunch, 480 minutes, which is 8:00 or 8.00 hours.

The table shows common shifts, including two overnight ones.

Common shifts
ShiftBreak (min)Hours:minutesDecimal hours
9:00 AM – 5:00 PM307:307.50
8:30 AM – 5:15 PM458:008.00
7:00 AM – 3:30 PM308:008.00
10:00 PM – 6:00 AM307:307.50
11:00 PM – 7:30 AM607:307.50
6:00 AM – 2:00 PM08:008.00

Minutes to decimal hours

Payroll systems multiply decimal hours by the hourly rate, so 7 hours 30 minutes must be entered as 7.50, not 7.30 — a common and costly mix-up. Decimal hours = minutes ÷ 60. The table converts every 5 minutes; for exact values, 1 minute is 0.0167 hours.

Minutes to decimal hours
MinutesDecimalMinutesDecimal
00.00300.50
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
601.00

Rounding time entries

US federal rules allow employers to round clock-in and clock-out times to the nearest 5, 10 or 15 minutes provided the rounding is neutral over time — it cannot always favour the employer. Under the common '7-minute rule' for quarter-hour rounding, 1–7 minutes past the quarter round down and 8–14 round up. The calculator uses exact minutes; apply your workplace's rounding if it has one.

Quarter-hour rounding (7-minute rule)
Rounds downRounds upRounds up
9:03 → 9:009:07 → 9:159:08 → 9:15
9:22 → 9:159:23 → 9:309:38 → 9:45
Round to nearest 15 min; 7 min or less rounds down

Adding up a week

For several shifts, work out each day's decimal hours and add them. The time card calculator does this for a full week with overtime; here is what the arithmetic looks like.

A week of varying shifts
DayShiftBreak (min)Hours
Monday9:00 AM – 5:30 PM308.00
Tuesday9:00 AM – 6:00 PM308.50
Wednesday8:00 AM – 4:30 PM457.75
Thursday9:00 AM – 7:00 PM609.00
Friday9:00 AM – 3:00 PM305.50
Total38.75

Breaks and what counts as work time

In the US, short rest breaks of 5–20 minutes are counted as paid work time under federal law; meal breaks of 30 minutes or more can be unpaid if the worker is fully relieved of duty. State rules vary (California, for example, requires a 30-minute meal break after 5 hours). Enter only unpaid break time in the calculator; paid breaks are simply part of the shift. Time spent on call, travelling between job sites during the day, or in required training is usually paid time too.

Hours in a day, week, month and year

Useful reference figures for planning and payroll: a full-time week is 40 hours; a month averages 173.3 working hours (2,080 ÷ 12); a year has 2,080 working hours at 40 a week, or 1,880 after 25 days off. A calendar day has 1,440 minutes and a week 10,080; a 31-day month has 744 hours and a year 8,760 (8,784 in a leap year). Part-time and compressed schedules scale accordingly: a 4-day, 10-hour week is still 40 hours; a 0.6 FTE post is 24 hours a week and 1,248 a year.

Hours reference
SpanCalendar hoursWorking hours (40 h/week)
Day248
Week16840
Month (average)730.5173.3
Quarter2,191520
Year8,7602,080
Year after 25 days off1,880

Overnight shifts and time formats

When the end time is earlier than the start, the calculator assumes the shift ended the next day — 10:00 PM to 6:00 AM is 8 hours, not −16. Both 12-hour (5:30 PM) and 24-hour (17:30) formats are accepted, with or without minutes. For durations spanning more than a day, or from one date-time to another, the time duration calculator takes dates as well.

Frequently asked questions

How do I calculate hours between two times?

Convert to minutes since midnight, subtract the start from the end (adding 24 hours if the result is negative), subtract breaks, and divide by 60. 8:15 AM to 4:45 PM is 510 minutes = 8.5 hours.

How do I convert minutes to decimal hours?

Divide by 60. 15 minutes = 0.25, 30 = 0.50, 45 = 0.75, 20 = 0.33, 40 = 0.67. Enter 7 h 45 min on a timesheet as 7.75.

How many hours is 9 to 5?

Eight hours. With an unpaid 30-minute lunch it is 7.5 paid hours, which is why many '9 to 5' jobs actually run 8:30 to 5 or 9 to 5:30 for a full 8.

How does the calculator handle overnight shifts?

If the end time is earlier than the start, it assumes the next day: 11:00 PM to 7:00 AM is 8 hours.

Should breaks be deducted?

Deduct unpaid meal breaks (typically 30–60 minutes). Short rest breaks are usually paid and stay in the total. Check your employer's policy or local law.

How many work hours are in a year?

2,080 for a 40-hour week over 52 weeks; about 1,880 after 25 days of holiday and vacation. The salary calculator converts between hourly and annual pay.

Last reviewed . Results are estimates for informational purposes only.