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.
Add or subtract hours, minutes and seconds
Minutes and seconds over 59 are carried over automatically: 90 minutes is read as 1:30:00.
Weekly time card
| Day | Start | End | Break (min) | Hours |
|---|
Your time card is saved only in this browser. Nothing is sent to us.
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
- Office day: 08:45 to 17:15 with a 45-minute break = 7:45 hours = 7.75 decimal hours.
- Night shift: 19:00 to 07:00 with two 15-minute breaks (30 minutes) = 11:30 hours = 11.50.
- Adding times: 1:45:50 + 0:30:20 โ 0:10:00 = 2:06:10. Notice that 50 + 20 seconds carries one minute over.
- A week with overtime: five days of 08:00โ17:00 with a 30-minute break is 8.5 hours a day, 42.5 hours in total. At 20.00 an hour with overtime over 40 hours, pay is 40 ร 20.00 + 2.5 ร 30.00 = 875.00 before tax.
Minutes to decimal hours
Payroll systems usually want hours as a decimal: divide the minutes by 60. Some useful values:
| Minutes | Decimal hours | h:mm |
|---|---|---|
| 1 min | 0.02 | 0:01 |
| 5 min | 0.08 | 0:05 |
| 6 min | 0.1 | 0:06 |
| 10 min | 0.17 | 0:10 |
| 12 min | 0.2 | 0:12 |
| 15 min | 0.25 | 0:15 |
| 18 min | 0.3 | 0:18 |
| 20 min | 0.33 | 0:20 |
| 24 min | 0.4 | 0:24 |
| 25 min | 0.42 | 0:25 |
| 30 min | 0.5 | 0:30 |
| 35 min | 0.58 | 0:35 |
| 36 min | 0.6 | 0:36 |
| 40 min | 0.67 | 0:40 |
| 42 min | 0.7 | 0:42 |
| 45 min | 0.75 | 0:45 |
| 48 min | 0.8 | 0:48 |
| 50 min | 0.83 | 0:50 |
| 54 min | 0.9 | 0:54 |
| 55 min | 0.92 | 0: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
- Subtracting clock times as decimals. 17.15 โ 8.45 is not 8.70: from 8:45 to 17:15 is 8 hours 30 minutes.
- Forgetting the break. Paid and unpaid breaks are treated differently; only enter the unpaid break.
- Night shifts in a spreadsheet. A plain "end minus start" goes negative when the shift crosses midnight; the calculator adds 24 hours for you.
- Daylight saving. On the night the clocks change, a shift can be an hour longer or shorter than the clock times suggest. The calculator counts clock time, so adjust by an hour for those nights.
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.
More countdowns
- Christmas Countdown
- New Year Countdown
- Thanksgiving Countdown
- Black Friday Countdown
- Hanukkah 2027
- Chinese New Year 2027
- Ramadan 2027
- Valentine's Day
- Eid al-Fitr 2027
- Holi 2027
- Easter 2027
- Songkran 2027
Related date tools
Sources: US Department of Labor โ Overtime pay ยท 29 CFR 785.48 โ Use of time clocks