Skip to content
OEWER Tools
How-To

How to Calculate Hours Worked and Pay From Times

4 min readBy OEWER Team

How to work out hours worked from a start and end time, subtract a break, handle a shift past midnight, convert minutes to decimal hours and multiply by a rate.

In this article
  1. The basic formula
  2. Worked example: a normal day
  3. A shift that ends after midnight
  4. Minutes to decimal hours
  5. Worked example: pay
  6. Paid breaks and weekly totals
  7. What this does not include
  8. Common mistakes
  9. Sources

To find out how many hours someone worked, subtract the start time from the end time, then take off any unpaid break. To turn that into pay, convert the hours to a decimal and multiply by the hourly rate. This guide shows each step with examples, including shifts that end after midnight, and lists the slips that most often give the wrong total. The Hours Calculator does the sums and shows the working.

The basic formula

  • Hours worked = End time − Start time − Break
  • Decimal hours = Minutes ÷ 60
  • Pay = Hours worked × Hourly rate

Use a 24-hour clock to avoid confusion between morning and evening. An hour has 60 minutes, so work in minutes and divide by 60 at the end.

Worked example: a normal day

A shift runs from 09:00 to 17:30 with a 30-minute break. From 09:00 to 17:30 is 8 hours 30 minutes, which is 510 minutes. Take off the 30-minute break: 480 minutes, which is 8 hours exactly. Over 5 days that is 40 hours.

A shift that ends after midnight

If the end time is earlier than the start time, the shift crossed midnight. Add 24 hours (1,440 minutes) to the end time before subtracting. A shift from 22:00 to 06:00 is (6 × 60 + 1,440) − (22 × 60) = 1,800 − 1,320 = 480 minutes, which is 8 hours.

Minutes to decimal hours

Pay is usually worked out with decimal hours, so 7 hours 30 minutes becomes 7.5 hours (30 ÷ 60 = 0.5). A few common conversions are 15 minutes = 0.25 hours, 20 minutes = 0.333 hours, 45 minutes = 0.75 hours. Do not write 7 hours 30 minutes as 7.30: that would read as 7 hours and 18 minutes.

Worked example: pay

Suppose the pay rate is ₹250 an hour. With 8 hours a day for 5 days, the total is 40 hours, and 40 × 250 = ₹10,000. If the day is 7 hours 45 minutes, that is 7.75 hours, so one day is 7.75 × 250 = ₹1,937.50.

If a break is paid, it counts as work time, so enter 0 minutes for the break. Only an unpaid break is taken off. Example: a worker starts at 08:30, finishes at 16:45 and takes an unpaid 45-minute break. From 08:30 to 16:45 is 8 hours 15 minutes. Take off 45 minutes and the day is 7 hours 30 minutes, which is 7.5 hours. Over 5 days that is 37.5 hours, and at ₹300 an hour the total is 37.5 × 300 = ₹11,250. For a week with different shifts each day, work out each day separately and add the decimal hours together, because adding hours and minutes by hand is where most slips happen.

What this does not include

The calculation counts clock time only. It does not apply overtime rates, rounding rules, paid breaks, night-shift extras, holidays, tax or other deductions. Employers and contracts follow their own rules on these, so check your contract or ask your employer before relying on a figure for pay. This is general information, not payroll or legal advice.

Common mistakes

  • Forgetting to subtract the break
  • Ignoring that a shift crossed midnight, which gives a negative or very small answer
  • Entering 7 hours 30 minutes as 7.30 instead of 7.5
  • Mixing 12-hour and 24-hour times, so 5 in the afternoon is entered as 05:00 instead of 17:00

In the calculator, choose the start and end times, enter the break in minutes and the number of days, and add an hourly rate if you want the pay. The result shows the hours each day in hours and minutes and as a decimal, the total hours, and the pay, with every step in the How this is calculated panel. The second is the SI base unit of time and an hour is 3,600 seconds, so the calculator works in minutes and converts at the end.

Sources

This article was written with AI assistance. How we research and check our articles.

Share

Email

Keep reading