Hour Calculator

Hours Calculator

Enter when you started, when you stopped and how long your unpaid break was. The calculator gives the total as hours and minutes and as decimal hours, and can turn it into pay.

Clock
min
0:00
min
0:00
min
0:00
min
0:00
min
0:00

Type 9, 930 or 5p. AM/PM is guessed from the shift; add a or p to set it.

How to use the hours calculator

  1. Add one row per shift. Give it a label if you like, then enter Start, End and Break (unpaid minutes).
  2. Type times the way you would say them: 9, 930, 9:30, 5p, 5:30 pm, 17:30, noon.
  3. If you leave out AM or PM, the calculator picks the reading that gives the shortest positive shift. Entering 9 and 5 means 9:00 AM to 5:00 PM, not 20 hours. Switch to the 24-hour display if you want to enter times without guessing.
  4. Shifts that run past midnight work without any extra step: 10:00 PM to 6:00 AM counts as 8 hours.
  5. Optionally enter an hourly rate to see gross pay. The total is shown as h:mm, as decimal hours and as minutes.

You can share the result as a link, print it, or download a CSV file. Everything is calculated in your browser. Your times and rates are not sent to a server.

Worked examples

StartEndUnpaid breakHours workedDecimal
9:00 AM5:00 PM30 min7:307.50
7:30 AM3:30 PM45 min7:157.25
10:00 PM6:00 AM30 min7:307.50
7:55 AM4:05 PM30 min7:407.67

At $18.50 per hour, the first row (7:30, or 7.50 decimal hours) is $138.75 gross. The last row shows why the decimal column matters: 7 hours 40 minutes is 7.67 hours, not 7.40.

Rounding time punches

Some employers round start and end times. The federal rule at 29 CFR 785.48(b) allows rounding to the nearest 5 minutes, one-tenth of an hour (6 minutes) or quarter hour, as long as the practice averages out so employees are fully paid for the time they work. The calculator offers the same three steps and rounds each punch separately.

PunchNearest 5 minNearest 6 minNearest 15 min
8:07 AM8:05 AM8:06 AM8:00 AM
8:08 AM8:10 AM8:06 AM8:15 AM
8:52 AM8:50 AM8:54 AM8:45 AM
8:53 AM8:55 AM8:54 AM9:00 AM

With 15-minute rounding, the 7:55 AM to 4:05 PM shift above becomes 8:00 AM to 4:00 PM and shrinks from 7:40 to 7:30 after the break. Rounding that always goes against the worker is not what the rule allows. This is general information, not legal advice.

Tips

  • Enter only unpaid break minutes. A paid break stays inside the shift.
  • For a full week with overtime rules, use the time card calculator.
  • To convert a result for payroll software that wants decimals, see the minutes to decimal chart.
  • To add durations that are not clock times, such as 2h 15m plus 1:50, use the time calculator.

Frequently asked questions

How do I calculate hours worked with lunch?

Subtract the end time from the start time, then subtract the unpaid lunch. From 9:00 AM to 5:00 PM is 8 hours; with a 30-minute unpaid lunch that is 7 hours 30 minutes, or 7.5 hours. If your lunch is paid, enter 0 in the Break field.

What is 7 hours 45 minutes in decimal?

7.75 hours. Divide the minutes by 60: 45 / 60 = 0.75, then add the 7 whole hours.

How do I calculate hours worked overnight?

Enter the start and end as usual. If the end time is earlier than the start time, the calculator counts through midnight. A shift from 10:00 PM to 6:00 AM with a 30-minute break comes to 7 hours 30 minutes.

How many hours is 9 to 5 with a 30-minute lunch?

7.5 hours (7:30). The span from 9:00 AM to 5:00 PM is 8 hours and the unpaid 30 minutes come off.

Does the calculator know whether I mean AM or PM?

It guesses. Without AM or PM it chooses the reading that gives the shortest positive shift, so 9 to 5 becomes 9:00 AM to 5:00 PM. Add a or p (for example 10p to 6a) or switch to 24-hour time to be exact.

Can I round my hours to the nearest quarter hour?

Yes. The calculator can round each start and end punch to the nearest 5, 6 or 15 minutes. Federal rules at 29 CFR 785.48(b) permit this if the rounding does not, over time, leave worked time unpaid. Your state or employer may set stricter rules.

More calculators