Hours Calculator
Type a week of shifts and this adds the hours up, in hours and minutes and in decimal, with the working printed so it can be checked. A shift that ends earlier than it started ran past midnight and is counted into the next day rather than coming out negative, breaks come off the shift they belong to, and payroll rounding to 5, 6 or 15 minutes is applied to each shift the way payroll applies it instead of to the total at the end. There is a second mode that just adds durations up, and there is no rate anywhere: this counts hours.
| Day | In | Out | Break | Hours | Remove row |
|---|---|---|---|---|---|
Times can be written as 9:00, 9am, 17:30, 5:30 pm or 0930. An out time earlier than the in time is the next morning, so 22:00 to 06:00 counts as 8:00. The break is minutes by default, and 0:45 works too.
No shifts yet. Enter a start time and an end time on any row, like 9:00 and 17:30, and the hours appear here.
Minutes to decimal hours
Divide the minutes by 60. Six minutes is exactly a tenth of an hour, which is why six minute rounding lands on clean decimals and five minute rounding does not. Figures are shown to two places, the same as the tool.
| Minutes | Decimal hours | As part of a shift |
|---|---|---|
| 5 | 0.08 | 8:05 is 8.08 |
| 6 | 0.10 | 8:06 is 8.10 |
| 10 | 0.17 | 8:10 is 8.17 |
| 12 | 0.20 | 8:12 is 8.20 |
| 15 | 0.25 | 8:15 is 8.25 |
| 18 | 0.30 | 8:18 is 8.30 |
| 20 | 0.33 | 8:20 is 8.33 |
| 24 | 0.40 | 8:24 is 8.40 |
| 30 | 0.50 | 8:30 is 8.50 |
| 36 | 0.60 | 8:36 is 8.60 |
| 40 | 0.67 | 8:40 is 8.67 |
| 45 | 0.75 | 8:45 is 8.75 |
| 48 | 0.80 | 8:48 is 8.80 |
| 50 | 0.83 | 8:50 is 8.83 |
| 54 | 0.90 | 8:54 is 8.90 |
| 60 | 1.00 | 9:00 is 9.00 |
Common questions
- How do I convert minutes to decimal hours?
- Divide the minutes by 60. Forty five minutes is 45 divided by 60, which is 0.75, so 7:45 is 7.75 decimal hours. Six minutes is a tenth of an hour, which is why payroll often rounds to six minute steps. This tool shows both forms at once: hours and minutes for a timesheet, decimal for a payroll sheet. The decimal is shown to two places, so 8:20 reads as 8.33 while the minutes behind it stay whole and exact.
- How do I calculate hours for a shift that runs past midnight?
- An out time earlier than the in time means the shift finished the next day, so it is counted forward rather than backwards. A shift from 22:00 to 06:00 is 8:00, not minus sixteen hours, and the row says the out time is the next day so you can see the tool noticed. That is where most time card pages go wrong, and it is why the note is on the row rather than buried in a help page.
- How are unpaid breaks taken off?
- Put the break in the Break column on the row it belongs to. A plain number is minutes, so 30 is half an hour, and 0:45 or 45m work too. The break comes off that shift before any rounding is applied, so a 9:00 to 17:30 day with a 30 minute break is 8:00 exactly. A break longer than the shift is refused with the longest one that fits, rather than quietly producing a negative day.
- How does time card rounding work?
- Pick exact, 5, 6 or 15 minutes. Each shift is rounded on its own and the total is the sum of the rounded shifts, which is what payroll does and is not the same number as rounding the total once at the end: three eight minute shifts at the nearest quarter hour come to 45 minutes, where rounding the 24 minute total would give 30. An exact half rounds up, and every rounded row shows the figure it was rounded from so nothing moves invisibly.
- How is overtime counted here?
- As hours over a threshold you set, and nothing more. The weekly threshold starts at 40 hours and you can change or clear it, and a daily threshold of 8 hours can be switched on as well. With both running, the daily count goes first and the weekly count runs only on the hours the daily count did not already take, so no hour is ever counted twice. Overtime rules differ by country, state and contract, so the threshold is yours to set.
- Can it just add a list of times together?
- Yes. Switch the mode to Add durations and paste them in, one per line or separated by commas or a plus sign: 1:30 + 2:45 comes to 4:15. A plain number is hours, so 1.5 is an hour and a half, while 90m is ninety minutes. A minus takes an entry back off the total, which is how an unpaid break comes out of a list you already typed.
- Are my hours saved anywhere?
- They stay in this browser and go nowhere else. The card, the rounding rule and the thresholds are kept on this device so the page is still filled in when you come back, and nothing is uploaded, because the whole tool runs in the browser and there is no account to make.
Exact time arithmetic: minutes are counted, then shown as hours and minutes and as decimal hours. Overtime here is a count of hours over a threshold you set; what any hour is paid is not part of this tool.