Hours Calculator

Work out hours worked between two times (with breaks and overnight shifts), add or subtract hours, minutes and seconds, or fill in a weekly time card to get total hours, decimal hours and pay.

Last updated: 8 November 2026

Hours worked between two times

If the end time is earlier than the start time, the shift is treated as running past midnight.

How each calculator works

Work hours subtracts the start time from the end time and then takes off the unpaid break. A shift from 9:00 to 17:30 with a 30-minute lunch is 8 hours 30 minutes on site and 8:00 hours worked, or 8.00 in decimal. When the end time is earlier than the start, the calculator assumes the shift ends the next day, so 22:00 to 06:30 with a 30-minute break is also 8:00.

Add / subtract time adds up durations given in hours, minutes and seconds โ€” lap times, video clips, flight legs or hours on several jobs. Switch a line to โˆ’ to take it away. The result is shown as h:mm:ss, plus days when it passes 24 hours, and as decimal hours, minutes and seconds.

Weekly time card works out each day's hours from start, end and break, adds the week together and, if you enter an hourly rate, the gross pay. With overtime switched on, hours above 40 in the week are paid at one and a half times the rate.

Examples

Minutes to decimal hours

Payroll systems usually want hours as a decimal: divide the minutes by 60. Some useful values:

MinutesDecimal hoursh:mm
1 min0.020:01
5 min0.080:05
6 min0.10:06
10 min0.170:10
12 min0.20:12
15 min0.250:15
18 min0.30:18
20 min0.330:20
24 min0.40:24
25 min0.420:25
30 min0.50:30
35 min0.580:35
36 min0.60:36
40 min0.670:40
42 min0.70:42
45 min0.750:45
48 min0.80:48
50 min0.830:50
54 min0.90:54
55 min0.920:55

To go the other way, multiply the decimal part by 60: 7.4 hours is 7 hours and 0.4 ร— 60 = 24 minutes. A common slip is reading 7.30 as "seven thirty" โ€” 7.30 decimal hours is 7 hours 18 minutes, while seven and a half hours is 7.50.

Rounding and overtime rules

Many employers round clock-in and clock-out times. In the United States, the federal rules on hours worked (29 CFR 785.48) accept rounding to the nearest 5 minutes, tenth of an hour or quarter hour, as long as over time it does not end up underpaying employees. Other countries and some US states have their own rules, so check your contract or local labour office before relying on a rounded figure. This calculator does not round: it uses the exact minutes you enter.

The 40-hour overtime threshold follows the US Fair Labor Standards Act, which requires at least 1.5 times the regular rate for hours over 40 in a workweek for non-exempt employees. Some states add daily overtime (California, for example, after 8 hours in a day), and many other countries set different limits or none at all โ€” in the UK there is no legal overtime premium, so it depends on your contract. Untick the overtime box to see straight hours ร— rate.

Common mistakes

For counting working days rather than hours, use the business days calculator; to find a time in another city for a shift or a call, use the time zone converter.

Frequently asked questions

How do I calculate hours worked?
Subtract the start time from the end time, then subtract the unpaid break. 9:00 to 17:30 with a 30-minute break is 8 hours.
How do I convert minutes to decimal hours?
Divide the minutes by 60. 45 minutes is 0.75 hours, so 7 hours 45 minutes is 7.75.
How are overnight shifts calculated?
If the end time is earlier than the start, the shift ends the next day, so 22:00 to 06:00 is 8 hours.
How is overtime calculated?
With overtime on, hours over 40 in the week are paid at 1.5 times the hourly rate, as under the US federal rule.
Does the calculator round times?
No. It uses the exact minutes you enter. Rounding rules depend on your employer and local law.

Sources: US Department of Labor โ€“ Overtime pay ยท 29 CFR 785.48 โ€“ Use of time clocks