How to Calculate Hours Worked, Overnight Shifts and Pay
Money, health & time · Published October 17, 2026 · Updated October 24, 2026 · 3 min read
Written by Akinrinmade Michael · General information, not professional advice
Adding up a timesheet should be quick, but breaks, shifts that cross midnight and minutes that have to become decimals catch plenty of people out. The method is short, and once you have it you can check a payslip in a couple of minutes.
Hours between two times
Subtract the start time from the finish time, then take off any unpaid break. Working 9:00 to 17:30 with a 30 minute break is 8 hours 30 minutes minus 30 minutes, which is 8 hours. If the finish time is earlier than the start, the shift ran past midnight: 22:00 to 06:00 is 8 hours, because 2 hours to midnight plus 6 more.
Decimal hours
Payroll often wants hours as a decimal, because it's easy to multiply by a rate. Divide the minutes by 60: 7 hours 45 minutes is 7.75, and 7 hours 30 minutes is 7.5. The common slip is writing 7 hours 30 minutes as 7.30, which isn't the same thing.
| Minutes | As a decimal |
|---|---|
| 6 | 0.10 |
| 15 | 0.25 |
| 20 | 0.33 |
| 30 | 0.50 |
| 45 | 0.75 |
A week, worked out
Take a week with these days: Monday 9:00 to 17:30 with a 30 minute break is 8:00. Tuesday 8:30 to 17:00 with 45 minutes off is 7:45. Wednesday 9:00 to 18:00 with an hour off is 8:00. Thursday 9:00 to 17:00 with 30 minutes off is 7:30. Friday 9:00 to 14:00 with no break is 5:00. The total is 36 hours 15 minutes, or 36.25 hours. At 18.50 an hour that's 670.63 before tax. The Hours Calculator takes a start, a finish and a break for each day, gives the hours for each, and adds the week.
Rounding rules
Some employers round clock times to the nearest quarter hour, often called the 7-minute rule: times within 7 minutes of a quarter hour round to it. That's allowed in many places as long as it doesn't consistently favor the employer. It's worth knowing how yours works before you compare a payslip with your own figures, since a few minutes a day adds up over a month.
Overtime
Overtime rules differ by country, job and contract. A common rule is time and a half after 40 hours a week. At 20 an hour, 44 hours is 40 at 20 plus 4 at 30, which comes to 920. Some places also count by day, pay double on certain days or have different thresholds. The tools here don't apply overtime, so work it out separately from your contract.
From hourly pay to a salary
A full-time year is often counted as 52 weeks of 40 hours, which is 2,080 hours. Multiply your hourly rate by 2,080 for a yearly figure, or divide a salary by 2,080 for the hourly rate. At 25 an hour that's 52,000 a year. If you take unpaid weeks off, use fewer weeks. The Salary Calculator lets you set your own hours, days and paid weeks and shows pay per hour, day, week, month and year.
| Hourly | Weekly (40 h) | Yearly |
|---|---|---|
| 15 | 600 | 31,200 |
| 20 | 800 | 41,600 |
| 25 | 1,000 | 52,000 |
| 30 | 1,200 | 62,400 |
Pay periods
How often you're paid changes the size of each payslip. Weekly pay gives 52 payments a year and fortnightly gives 26. Twice a month gives 24, and a monthly salary gives 12. A fortnightly worker gets two months a year with three paychecks, which surprises people when they budget by the month.
Things to check
- The figures are before tax and deductions.
- Overtime rules differ by country, job and contract, and aren't included.
- A paid lunch counts as working time. An unpaid one comes off.
- Use the Percentage Calculator for raises and bonuses, such as finding what 5 percent more pay comes to.