Free Online Tool

Hours Calculator

Work out how many hours you worked. Enter your start and end times, subtract a break, and add shifts together — with an optional hourly rate to see your pay.

Rate This Tool

★★★★★

How useful was this tool? Click a star to rate it.

Loading ratings…

Advertisement

How to Use

1. Enter your start time and end time. 2. Enter your unpaid break in minutes. 3. Add an hourly rate if you want to see your pay, then click Calculate Hours. Use Add This Shift to Total to add up several shifts.

About This Hours Calculator

How many hours did you actually work today? It sounds simple, but the answer is easy to get wrong: you have to subtract the lunch break, handle minutes correctly, and sometimes the shift runs past midnight. This free hours calculator does it all. Enter your start time and end time, take off your break, and it tells you exactly how many hours and minutes you worked — as hours and minutes, as decimal hours for payroll, and, if you enter your hourly rate, how much you earned. You can even add several shifts together to get your total for the whole week.

Workers use this calculator every day: shop assistants, drivers, nurses, security guards, factory workers, freelancers and part-timers. It is also useful for employers and managers who check timesheets, and for parents working out childcare hours. The trickiest part is the overnight shift: if you start at 10 at night and finish at 6 in the morning, a simple subtraction gives a negative number, because 6 is smaller than 22. The calculator knows that the end time is on the next day, so it adds 24 hours and gives the correct answer of 8 hours. Breaks are handled the same way: a 30-minute unpaid lunch comes off the total, so a 9 to 5:30 shift with a 30-minute break is 8 hours of paid work, not 8 hours 30 minutes.

Decimal hours confuse many people, so the calculator shows both forms. Eight hours and 30 minutes is 8.5 hours in decimal form, because 30 minutes is half an hour. Seven hours and 15 minutes is 7.25 hours. Payroll systems almost always use decimal hours, so if your payslip says 38.5 hours, that means 38 hours and 30 minutes. The calculator shows the decimal figure next to the hours-and-minutes figure, so you can check your payslip and spot mistakes before payday.

Hours Calculator Worked Example

Take a normal day shift: start at 9:00 in the morning, finish at 5:30 in the evening, with a 30-minute unpaid lunch break. From 9:00 to 17:30 is 8 hours and 30 minutes. Subtract the 30-minute break and you get exactly 8 hours of work. In decimal hours that is 8.00 hours. If the hourly rate is 15 dollars, the pay for the day is 8 times 15, which is 120 dollars. Enter these numbers in the calculator above and you will see the same answer: 8h 0m, 8.00 hours, and 120 dollars of pay.

Second Worked Example: An Overnight Shift

Now take a night shift: start at 10:00 at night, finish at 6:00 in the morning, with a 45-minute break. From 22:00 to 6:00 the next morning is 8 hours. Subtract the 45-minute break and the worked time is 7 hours and 15 minutes, or 7.25 decimal hours. Add it to the first example's 8 hours and the total for the two shifts is 15 hours and 15 minutes. At 15 dollars an hour, the two shifts together pay 8 times 15 plus 7.25 times 15, which is 120 plus 108.75, or 228.75 dollars. Use the "Add This Shift to Total" button to add both shifts and see the total of 15h 15m for yourself.

How Hours Are Calculated

The calculator turns both times into minutes since midnight. For example, 9:00 is 540 minutes and 17:30 is 1,050 minutes. It subtracts the start from the end: 1,050 minus 540 is 510 minutes, which is 8 hours and 30 minutes. If the end time is earlier than the start time, it adds 1,440 minutes (24 hours) to the end time, which handles overnight shifts. Then it subtracts the break minutes, and converts the result back into hours and minutes by dividing by 60. The decimal hours are the total minutes divided by 60, and the pay is the decimal hours times your hourly rate.

Adding up several shifts works the same way: each shift is turned into minutes, the minutes are added together, and the total is shown in hours and minutes and in decimal hours. This is much more reliable than adding hours and minutes separately by hand, because the minutes carry into hours automatically. Five shifts of 7 hours 45 minutes each, for example, add up to 38 hours and 45 minutes, not 35 hours and 225 minutes — the calculator does the carrying for you.

Tips for Using the Hours Calculator

Use the 24-hour clock carefully. 5:30 in the evening is 17:30, not 05:30 — the time picker handles this, but double-check AM and PM. Enter only unpaid breaks. A paid break counts as work time, so do not subtract it. Check overnight shifts. If your end time is earlier than your start time, the calculator treats it as the next day, which is what you want for a night shift. Add shifts one by one. Calculate each shift, click "Add This Shift to Total", and the weekly total builds up by itself. Compare with your payslip. If the calculator says 38.5 hours and your payslip says 38, ask your employer — half an hour of pay is worth checking.

Step-by-Step Guide: How to Use the Hours Calculator

  1. Enter your start time — when your shift began.
  2. Enter your end time — when your shift finished.
  3. Enter your unpaid break in minutes (enter 0 if you had no break).
  4. Add your hourly rate if you want to see your pay, or leave it blank.
  5. Click Calculate Hours to see your hours, decimal hours and pay.
  6. Click Add This Shift to Total to add the shift to your weekly total, then calculate your next shift the same way.

Common Mistakes to Avoid

Mixing up AM and PM. 5:30 in the evening is 17:30. Entering 05:30 by mistake will make the calculator think you finished at half past five in the morning. Forgetting the break. A 30-minute lunch is half an hour of pay, so always subtract it if it is unpaid. Reading 7.25 hours as 7 hours 25 minutes. 0.25 of an hour is 15 minutes, so 7.25 hours is 7 hours 15 minutes. Subtracting overnight shifts by hand. 6:00 minus 22:00 looks like negative 16 hours, but it is really 8 hours across midnight — let the calculator handle it. Adding minutes without carrying. 45 minutes plus 45 minutes is 1 hour 30 minutes, not 90 minutes, when you write it as hours and minutes.

Pro Tip: To convert minutes to decimal hours, divide by 60: 15 minutes is 0.25 hours, 30 minutes is 0.5 hours, and 45 minutes is 0.75 hours. The calculator shows the decimal figure for every shift, so you can copy it straight onto a timesheet.

Note: This calculator counts hours between two clock times on the same day, or across midnight for night shifts. It does not count whole days — for the number of days between two dates, use the Date Calculator.

Frequently Asked Questions

How many hours is 9 to 5 with a 30-minute lunch? 7 hours 30 minutes of work. From 9:00 to 17:00 is 8 hours, minus a 30-minute unpaid break is 7 hours 30 minutes.

How do you calculate hours for an overnight shift? Add 24 hours to the end time. A shift from 22:00 to 06:00 is 8 hours, because 06:00 the next day is 30:00 on the same clock.

What is 7 hours 15 minutes in decimal hours? 7.25 hours. Divide the minutes by 60: 15 divided by 60 is 0.25, so 7 hours 15 minutes is 7.25 hours.

Should I subtract my lunch break? Only if it is unpaid. A paid break counts as work time, so do not subtract it. An unpaid break comes off your total hours.

Can I add up a whole week of shifts? Yes. Calculate each shift, click "Add This Shift to Total" after each one, and the calculator keeps a running total of your hours and pay.

How is my pay calculated? Your hours in decimal form are multiplied by your hourly rate. For example, 8 hours at $15 an hour is $120.

What if my shift starts and ends at the same time? The calculator treats the end time as the next day, so a shift from 08:00 to 08:00 counts as 24 hours. That is rarely what you want — check your times if the answer looks wrong.

Is the hours calculator free? Yes, it is completely free, with no sign-up and no download, and it works on phones, tablets and computers.

Related Tools

Time Calculator · Salary Calculator · Date Calculator