Hours Calculator: Work Hours, Breaks and Time Sums

An error occurred while performing the calculations. Please contact us through the form located on our contact page so we can fix it as soon as possible. Thank you very much.

What do you want to calculate?
Shift 1
Start
End

An end time earlier than the start time counts as the next day.

Up to 31 shifts

How to use the hours calculator

Table of Contents

The calculator has two modes. Choose the one you need at the top of the form, and the result updates as you type.

Hours worked

Use this mode to add up the time on a timesheet. Each shift has a start time, an end time and an optional break in minutes.

  1. Type the start time as hours and minutes and pick AM or PM. If you leave the minutes empty, they count as 00.
  2. Type the end time in the same way.
  3. Enter the unpaid break in minutes, if there was one.
  4. Click Add shift to add another day or another shift, up to 31 rows.

The calculator shows the hours of each shift, the total in hours and minutes and the same total in decimal hours. If you also enter an hourly rate, it works out the pay for the total.

Add and subtract times

Use this mode for plain time arithmetic: adding up the length of several tasks, videos or workouts, or taking one time away from another. Each row is a duration in hours and minutes, and from the second row on you choose whether to add it or subtract it. The result is the total in hours and minutes and in decimal hours, and also in days, hours and minutes when it reaches 24 hours.

Example: a working week

Say you work Monday to Friday from 8:00 AM to 4:45 PM with a 30-minute lunch break.

  • From 8:00 AM to 4:45 PM there are 8 hours and 45 minutes.
  • Minus the 30-minute break, each day is 8 h 15 min.
  • Five days make 41 hours and 15 minutes: 41 h 15 min, or 41.25 h in decimal hours.

At $15 an hour, the pay for the week is 41.25 × 15 = $618.75. The calculator multiplies the rate by the exact total and only rounds the final amount to the cent, so you never lose a few cents to rounding each day.

Night shifts that cross midnight

When the end time is earlier than the start time, the calculator takes it as the next day and marks the row with +1 day. A shift from 10:00 PM to 6:00 AM is 8 hours long; with a 30-minute break it is 7 h 30 min (7.50 h).

A start and an end at exactly the same time is not accepted, because it could mean either no time at all or a full 24 hours. A break has to be shorter than the shift it belongs to.

How to convert hours and minutes to decimal hours

Payroll systems and invoices often ask for hours as a decimal number. To convert, divide the minutes by 60 and add the result to the hours:

  • 15 minutes = 15 ÷ 60 = 0.25 h
  • 30 minutes = 0.50 h
  • 45 minutes = 0.75 h
  • 20 minutes = 0.33 h (rounded)

So 7 hours and 45 minutes is 7.75 h, not 7.45 h. Mixing the two is the most common timesheet mistake: writing 7.45 instead of 7.75 underpays a day by 18 minutes.

To go the other way, multiply the decimal part by 60: 6.4 h is 6 hours and 0.4 × 60 = 24 minutes.

Example: adding and subtracting times

Three tasks took 3 h 40 min, 2 h 35 min and 1 h 50 min, and you want to know how much time is left once the last one is taken out of the first two. Enter 3 h 40 min, add 2 h 35 min and subtract 1 h 50 min: the result is 4 h 25 min, or 4.42 h.

When a total goes past a day, the calculator also gives it in days. For example, 18 h 30 min plus 9 h 45 min is 28 h 15 min, which is 1 day, 4 hours and 15 minutes.

Why minutes are counted exactly

Every time is counted in whole minutes, from the first row to the total, and only the decimal hours and the pay are rounded, once, at the end. Adding rounded daily figures instead can drift by several minutes over a month of shifts.

Related calculators