For a quick answer, enter your start time, end time and break in the hours calculator. To add a whole week and an hourly rate, use the time card calculator. This page shows how to do it by hand, so you can check the result.

Hours between a start and end time

Convert both times to the 24-hour clock if that helps, then subtract. Borrow 60 minutes when the end minutes are smaller than the start minutes.

  • 8:45 am to 5:15 pm. 5:15 pm is 17:15. From 8:45 to 17:15: 17:15 minus 8:45 = 8 hours 30 minutes.
  • 9:00 am to 1:20 pm. 13:20 minus 9:00 = 4 hours 20 minutes.
  • 10:30 pm to 6:15 am (night shift). The shift crosses midnight, so add 24 hours to the end time: 30:15 minus 22:30 = 7 hours 45 minutes. A good calculator treats an end time earlier than the start as the next day.

Take off breaks

Subtract unpaid breaks from the total. A paid break stays in. The 8 hours 30 minutes day with a 30-minute unpaid lunch is 8 hours paid. Rules for what must be paid vary by country and employer. Check your contract, or the official guidance for rest breaks, instead of assuming.

Add up a week

Add the hours and minutes separately, then carry every 60 minutes into one hour. Here is a worked example.

Day Hours worked
Monday 7 h 50 min
Tuesday 8 h 20 min
Wednesday 8 h 05 min
Thursday 7 h 35 min
Friday 6 h 10 min

Hours: 7 + 8 + 8 + 7 + 6 = 36. Minutes: 50 + 20 + 5 + 35 + 10 = 120, which is 2 hours. The total is 38 hours 0 minutes. You can check it in minutes: 470 + 500 + 485 + 455 + 370 = 2,280 minutes, and 2,280 divided by 60 is 38.

Convert minutes to decimal hours

Payroll often wants decimal hours, not hours and minutes. Divide the minutes by 60 and add them to the hours.

  • 15 minutes is 0.25, 30 minutes is 0.5, 45 minutes is 0.75.
  • 20 minutes is 0.3333…, which is usually written 0.33.
  • 8 hours 20 minutes is 8 + 20/60 = 8.33 hours.

The most common mistake is to write 8 hours 20 minutes as 8.20. That is 8 hours 12 minutes. Only the minutes, divided by 60, are decimal. To go the other way, multiply the decimal part by 60: 0.75 hours is 0.75 × 60 = 45 minutes. The minutes to hours and decimal to time tools do both directions, and the guide on converting minutes to decimal hours has a full table.

Why rounding each day can change the total

Rounding each day to two decimals can drift from the true total. Using the week above in decimals, the days are 7.83, 8.33, 8.08, 7.58 and 6.17. Add them and you get 37.99, but the true total is exactly 38.00. At 18.50 an hour the difference is a few cents, and across a large payroll it adds up. The fix is to add the minutes first and convert the total once at the end, or to carry the full decimal and round only the final pay.

Overtime and pay

Multiply decimal hours by the hourly rate: 38 hours at 18.50 is 703.00. Overtime is usually paid at a higher rate for hours over a weekly or daily limit, and the limits depend on the country, state and contract. In the US the federal rule covers hours over 40 in a week for most hourly workers, with some states adding daily limits. Check the rules that apply to you. The time card calculator handles the weekly overtime case, and shows each day and the total so you can compare with your payslip.

Quick checks

  • The end time is later than the start time, or the shift runs past midnight.
  • Breaks are subtracted once, and only if unpaid.
  • Minutes are never above 59 in an hours-and-minutes total.
  • The decimal total is the sum of all the minutes divided by 60, not the sum of rounded days.