Hours calculator

Enter when you started and when you stopped. Add a row for each shift to get a total in hours and minutes and in decimal hours.

Shifts

Shift 1

An end time earlier than the start time is the next day, so overnight shifts work.

Count the hours in a shift

  1. Type your Start time and End time.
  2. Put any unpaid break in Unpaid break (minutes). Leave it at 0 if your breaks are paid.
  3. For a second shift, press Add another shift and fill in the new row.
  4. To see pay, type your Hourly rate.

Each row shows the length of that shift. The total at the bottom adds them all, in hours:minutes and in decimal hours.

Example: a day shift and a night shift

You worked a day shift, then came back for a night shift that ran past midnight. You are paid $17.50 an hour.

Shift Start time End time Unpaid break Hours
1 8:45 AM 5:12 PM 30 minutes 7:57 (7.95)
2 10:30 PM 7:00 AM 45 minutes 7:45 (7.75)
Total 15:42 (15.70)

Shift 1 runs 8 hours 27 minutes, minus 30 minutes, for 7 hours 57 minutes. Shift 2 runs 8 hours 30 minutes across midnight, minus 45 minutes, for 7 hours 45 minutes. Together that is 15 hours 42 minutes, or 15.70 hours. At $17.50 an hour, the pay is $274.75.

How to do it by hand

The calculator does these steps for you, but it helps to know them when you check a pay stub.

  1. Subtract the start from the end. From 8:45 AM to 5:12 PM, count 8:45 to 4:45 as 8 hours, then 4:45 to 5:12 as 27 minutes.
  2. If the end is earlier than the start, the shift crossed midnight. Add 24 hours to the end time first. In 24-hour time, 7:00 AM becomes 31:00, and 31:00 minus 22:30 is 8:30.
  3. Subtract unpaid breaks.
  4. To get decimal hours, divide the leftover minutes by 60. 57 minutes is 0.95 hours. 45 minutes is 0.75.
  5. Multiply decimal hours, not hours:minutes, by your rate.

If 24-hour time trips you up, the military time converter shows both formats side by side.

Split shifts and a whole pay period

A split shift is two stretches of work in one day with unpaid time between them, like a server who works lunch and then dinner. Enter each stretch as its own row with Add another shift, rather than one row from the first start to the last stop with a long break. You get the same total, and each row is easier to check against your punches.

The same rows work for a whole pay period. Add one row per shift, then compare the total with the hours printed on your pay stub. If the stub is short, the shift-by-shift list shows you exactly which day to ask about.

What counts as hours worked

Your employer pays for hours worked, and federal rules define those broadly. Under 29 CFR 785.11 to 785.13, work your employer allows you to do counts even if nobody asked for it, like finishing a task after you clock out. Rest breaks of 5 to 20 minutes count under 29 CFR 785.18. A real meal break, where you are fully relieved of duty, usually 30 minutes or more, does not count under 29 CFR 785.19.

So if you skip lunch and keep working, enter 0 in Unpaid break (minutes). If you take a 30-minute lunch but stay at your post answering calls, that time is work too.

Common mistakes

What the calculator cannot know

Updated December 1, 2026

Questions

How do I count hours for an overnight shift?

Enter the start and end times as they are. A shift from 10:30 PM to 7:00 AM is 8 hours 30 minutes before breaks, and the calculator handles the change of day for you.

Why does my total say 7.95 instead of 7:57?

They are the same length of time. 7:57 is hours and minutes, and 7.95 is decimal hours, because 57 minutes divided by 60 is 0.95.

Should I subtract my 15-minute break?

Usually not. Federal rules count rest breaks of 5 to 20 minutes as paid work time. Subtract only unpaid meal breaks.