Skip to main content
Premier SEO Services

Calculators

Hours Calculator

Work out the hours between two times, including overnight shifts and unpaid breaks, add up a week of shifts like a time card, and convert hours and minutes to decimal hours for payroll.

  • Runs in your browser
  • Free, no sign-up
  • Unlimited use
  • Updated 30 September 2026

Hours Calculator

Fill in the fields to see the answer straight away

How to use the hours calculator

  1. 1Enter a Start and End time and any unpaid Break (min) for the first shift.
  2. 2Press Add shift for each extra day. A new row copies the previous times, so you only change what's different.
  3. 3Read each shift's hours, the Total (h:mm) and the Decimal hours. Add an Hourly rate to see pay.
  4. 4Press Copy totals or Download CSV to keep a record.

Three shifts, one overnight

Input
Monday 08:00–17:30, break 30 min
Tuesday 09:15–17:00, break 45 min
Wednesday 22:00–06:30, break 30 min
Hourly rate 15
Output
Monday 9:00 (9 h)
Tuesday 7:00 (7 h)
Wednesday 8:00 (8 h, overnight)
Total 24:00 = 24 decimal hours; pay 360.00

Hours between two times

Subtract the start time from the end time. Working in minutes avoids mistakes: 08:00 is 480 minutes after midnight and 17:30 is 1,050, so the shift spans 570 minutes, or 9 hours 30 minutes.

Time fields follow your device's clock format, so you can enter 5:30 PM or 17:30. Shifts are counted to the minute; if your employer rounds clock-in times (for example to the nearest 15 minutes), round the times before you enter them.

Overnight shifts

When the end time is earlier than the start time, the shift is treated as ending the next day and 24 hours are added: 22:00 to 06:30 is (390 + 1,440) − 1,320 = 510 minutes, or 8 hours 30 minutes. The row is marked Overnight.

For shifts longer than 24 hours, or when daylight-saving time changes during the night, adjust by the extra hour yourself: a night shift that spans the spring-forward change is one hour shorter than the clock times suggest.

Subtracting breaks

Enter unpaid breaks in minutes and they're taken off the shift: 08:00–17:30 with a 30-minute lunch is 9 hours 30 minutes − 30 minutes = 9 hours worked. Leave paid breaks out of the break box, since they count as working time.

Rules on rest breaks vary by country and contract. In the UK, for example, workers are entitled to a 20-minute break when they work more than 6 hours a day, and it doesn't have to be paid.

Weekly time card totals

Add a row per shift and the footer keeps a running total for the week, in hours and minutes and in decimal hours. Labels default to the next weekday, but you can type anything, such as a date or a job name.

If you're paid overtime above a weekly threshold (for example over 40 hours under the US Fair Labor Standards Act), compare the decimal total with the threshold: 43.5 hours means 3.5 overtime hours. Download CSV saves the rows and totals for a spreadsheet.

Decimal hours

Payroll systems multiply hours by a rate, so they need hours as a decimal. Divide the minutes by 60:

MinutesDecimal
60.1
150.25
200.33
300.5
450.75

7 hours 45 minutes is 7.75 hours, not 7.45. Going the other way, multiply the decimal part by 60: 8.2 hours is 8 hours 12 minutes. The converter under the shifts does both directions.

Is anything I enter stored?

This tool runs entirely in your browser. Your text is not uploaded to our servers.

Sources

Questions about the hours calculator

How do I calculate hours worked with a lunch break?

Subtract the start time from the end time, then subtract the unpaid break. 08:00 to 17:30 with a 30-minute lunch is 9 hours.

What is 7 hours 45 minutes in decimal?

7.75 hours, because 45 minutes ÷ 60 = 0.75.

How do I handle a shift past midnight?

Enter the times as they are, for example 22:00 to 06:30. Because the end is earlier than the start, the calculator adds 24 hours and marks the shift as overnight: 8 hours 30 minutes before breaks.

Last updated 30 September 2026Maintained by Premier SEO Services

Report a problem