How to use this calculator
- 1 Enter the start time and the end time, using the time boxes on your device.
- 2 Enter the unpaid break in minutes, or 0 if you had none.
- 3 If the end time is earlier than the start time, the shift is treated as running past midnight.
- 4 Read hours worked as hours and minutes, then as decimal hours for pay calculations.
How hours worked are calculated
First, the calculator finds the length of the shift. It subtracts the start time from the end time, and converts both to minutes after midnight. Next, it subtracts any unpaid break from that total.
The answer is the time you were paid for. A 9:00 start and a 5:30 finish gives 8 hours and 30 minutes before the break. With a 30-minute unpaid lunch, the hours worked are 8 hours.
Overnight and split shifts
A shift that starts at 10:00 PM and ends at 6:30 AM crosses midnight. The end time is earlier than the start time, so the calculator adds 24 hours to the end. This gives an 8-hour 30-minute shift. The calculator does not ask for dates, so a shift that ends the next day is handled the same way.
The calculator works on a single shift. A split shift, with two separate work periods in one day, needs each period added up. Use the time calculator to add the parts together.
Breaks and the law
Breaks are often required by law, and the rules differ by country. In the UK, adults who work more than six hours are usually entitled to an uninterrupted 20-minute rest break.
Check whether your break is paid or unpaid. Many employers deduct unpaid breaks from the hours on your timesheet. Your payslip shows how your hours were counted. If you are unsure, ask your employer or read your contract.
Turning hours into pay
Pay is often calculated with decimal hours. Multiply the decimal figure by your hourly rate. For example, 7.75 hours at $20 an hour is $155. Round only the final total, because rounding each shift separately can shift the sum by several minutes.
For a rough yearly figure, multiply your hourly rate by the hours you work each week, then by the number of weeks you work. The salary calculator can help with that.
Weekly totals and overtime
Hours for a full week are added up day by day. Overtime rules are set by each country and employer. Some pay extra for hours over a daily or weekly limit, and some do not.
To add up a week of shifts in one place, use the time card calculator. Keep a note of the date for each overnight shift, so the hours go on the right day in your records. If your shifts fall in different time zones, the time zone calculator helps you match the times.
The formula
Shift length
Shift = end time − start time, plus 24 hours when the end is earlier than the start
- 24 h
- one full day, added for overnight shifts
Hours worked
Worked minutes = shift minutes − unpaid break minutes
Decimal hours
Decimal hours = worked minutes ÷ 60
- 60
- minutes in an hour
Worked example
10:00 PM to 6:30 AM with a 45-minute break
- 1.6:30 AM is earlier than 10:00 PM, so the shift crosses midnight. Shift = 6:30 + 24:00 − 22:00 = 8 h 30 min = 510 minutes.
- 2.Worked minutes = 510 − 45 = 465 minutes.
- 3.Decimal hours = 465 ÷ 60 = 7.75.
7:45 (7.75 decimal hours).
Frequently asked questions
How do overnight shifts work?
If the end time is earlier than the start time, the calculator assumes the shift ends the next morning. A 10:00 PM start and a 6:30 AM end is an 8 h 30 min shift.
How do I turn minutes into decimal hours?
Divide the minutes by 60. 15 minutes is 0.25 hours and 45 minutes is 0.75 hours. Many payroll systems use decimal hours.
What if the start and end times are the same?
The calculator counts zero hours, because it cannot tell whether you meant no time or a full 24-hour shift.
Should I subtract a paid break?
No. Paid breaks count as worked time, so leave them out of the unpaid break box. Only subtract the minutes you were not paid for.
How do I work out hours for a whole week?
Add up the hours worked for each shift. The time card calculator does this for a full week, including decimal totals.
Sources
Last reviewed by the GridCalculators team.