CraftTools

Hours Calculator

Guide: How to Calculate Hours Worked, Overnight Shifts and Pay

8h 00m (8)
8h 00m (8)
8h 00m (8)
8h 00m (8)
8h 00m (8)
$
Total time
40h 00m
Decimal hours
40

Nothing you enter or choose here leaves your device. This tool runs in your browser.

A week on a time card

Enter a start time, a finish time and any unpaid break for each day, and the tool works out the hours. Here's a typical week:

DayStartFinishBreakHours
Monday9:0017:3030 min8:00
Tuesday8:3017:0045 min7:45
Wednesday9:0018:0060 min8:00
Thursday9:0017:0030 min7:30
Friday9:0014:00None5:00
Total36:15 (36.25 in decimals)

At 18.50 an hour, 36.25 hours is 670.63 before tax. You can type times as 9:00, 17:30, 9am or 5:30 pm, and breaks as 30, 45m or 1h.

Why payroll wants decimals

You can't multiply 36 hours 15 minutes by a rate directly. Payroll converts minutes to a fraction of an hour by dividing by 60. The most common mistake is writing 7 hours 30 minutes as 7.30. It's 7.5.

MinutesDecimal hours
60.10
150.25
200.33
300.50
450.75
500.83

Shifts that pass midnight

If the finish time is earlier than the start, the tool counts through midnight. A shift from 22:00 to 06:00 is 8 hours. That works for one night. If a shift runs longer than 24 hours, or you want a total that spans several days, enter the days separately.

Rounding and overtime

  • Some employers round clock times to the nearest quarter hour. It's allowed in many places as long as the rounding doesn't consistently favor the employer. Check how yours does it before you compare with a payslip.
  • Overtime rules differ by country and contract. A common rule is time and a half after 40 hours a week. If you worked 44 hours at 20 an hour, that's 40 at 20 plus 4 at 30, which is 920.
  • Breaks paid by the employer count as hours worked. Unpaid ones come off.

The other tabs

Add and subtract times lets you do sums like 2:45 plus 1:30, or 8:00 minus 0:50, without converting to minutes. Durations can be typed as 1:30, 1h 30m, 90m or 1.5h. It's handy for logging project time, totaling a timesheet or working out how long a trip took.

Nothing is sent anywhere. To turn the result into a yearly picture, use the salary calculator, and for pay questions in general, read the guide to hours worked and pay. The date calculator handles longer spans.

Timesheet mistakes to avoid

  • Forgetting the break on one day, which adds half an hour you weren't paid for.
  • Mixing 12-hour and 24-hour times. 5:30 means the morning unless you write pm.
  • Typing minutes as decimals. 7.30 isn't 7 hours 30 minutes.
  • Rounding each day separately and then adding up. Total the minutes first and round once.
  • Counting a paid lunch as a break. Check your contract.

Written by Akinrinmade Michael · Updated October 24, 2026 · General information, not professional advice

How to use

  1. 1Enter your start and finish times and any break for each day.
  2. 2Read each day's hours and the weekly total, in hours and minutes and in decimals.
  3. 3Add an hourly rate to see your pay, or use the other tabs to add and subtract times.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the finish time, then take off any unpaid break. 9:00 to 17:30 with a 30 minute break is 8 hours.

What about shifts that go past midnight?

If the finish is earlier than the start, the tool counts the time through midnight, so 22:00 to 06:00 is 8 hours.

What are decimal hours?

Hours written as a decimal, so 7 hours 30 minutes is 7.5. Payroll often uses them to multiply by an hourly rate.

What time formats can I type?

9:00, 17:30, 9am and 5:30 pm all work. Durations can be 1:30, 1h 30m, 90m or 1.5h.

Is my data sent anywhere?

No. Everything runs in your browser and nothing is sent to us.

Read the guide

Learn how this works and how to get the most from it.

Money, health & time

How to Calculate Hours Worked, Overnight Shifts and Pay

How to work out hours between clock times, take off breaks, convert minutes to decimal hours, and turn hourly pay into a yearly salary.

3 min read

Salary Calculator

Convert hourly pay to yearly salary, and back, with your schedule.

Date Calculator

Count the days between dates or add and subtract time from a date.

Online Stopwatch

A simple stopwatch with lap times.

Countdown to a Date

Days, hours and minutes until any date. Live countdown.