Hours Calculator

Calculate hours worked between two times, minus breaks, including overnight shifts. Add a row per day for a weekly time card total in hours and decimal.

Rate this tool
  • 7 h 30 min

Total worked

7 h 30 min

Decimal hours

7.50

Calculated in your browser; nothing you enter is saved or sent.

About this tool

The hours calculator works out how long you worked between a start and an end time, takes off your unpaid break, and handles night shifts that finish after midnight. Add a row for each day to total a week's time card. The total is shown both as hours and minutes (38 h 45 min) and as decimal hours (38.75), which is the figure timesheets and payroll multiply by an hourly rate. Enter a rate and it shows the pay as well. Everything is calculated in your browser.

How to Calculate Hours Worked

  1. 1

    Enter the start and end time for the shift. If the end time is earlier than the start, such as 22:00 to 06:00, the calculator treats it as finishing the next day.

  2. 2

    Enter the unpaid break in minutes. It is subtracted from the time between start and end.

  3. 3

    Press Add a day for each further shift; each new row copies the previous times so a regular week takes a few clicks. The totals update as you type, and an hourly rate turns them into pay.

Minutes to Decimal Hours

Decimal hours = minutes ÷ 60. Rounded to two places, as most timesheets require.

MinutesDecimal hoursMinutesDecimal hours
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

What This Hours Calculator Handles

Overnight Shifts
An end time before the start time is counted into the next day, so 22:00 to 06:00 is 8 hours rather than an error or a negative number.
Decimal Hours for Payroll
Payroll needs 7.75, not 7 h 45 min. Both are shown, rounded to two decimal places.
A Week in One Place
One row per shift, one running total. No sign-up, and the times you enter are not stored or sent anywhere.

Worked Examples

The same calculation the tool runs: end − start (+ 24 h if the end is on the next day) − break.

MethodVerdictWhat that means
Day shift: 09:00 to 17:30, 30 min break8 h = 8.008 h 30 min between the times, minus the 30-minute break.
Night shift: 22:00 to 06:00, no break8 h = 8.00The end is before the start, so it runs to 06:00 the next morning: 2 h before midnight plus 6 h after.
Part day: 13:15 to 18:00, 15 min break4 h 30 min = 4.504 h 45 min between the times, minus 15 minutes.
Week: five days of 09:00 to 17:15 with a 30 min break38 h 45 min = 38.75Each day is 7 h 45 min (7.75). At an hourly rate of 250, that week pays 38.75 × 250 = 9,687.50.

Tips for Accurate Timesheets

  • Record times as you go rather than at the end of the week; most timesheet errors are remembered times, not arithmetic.
  • Enter only unpaid breaks in the break column. Paid breaks are part of hours worked.
  • Use decimal hours when filling in payroll forms, and hours and minutes when telling someone how long a shift was.
  • Use 24-hour times or check AM and PM carefully; 7:00 PM entered as 7:00 AM turns a 4-hour shift into a 16-hour one.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the end time, then subtract any unpaid break. For 09:00 to 17:30 with a 30-minute lunch, that is 8 h 30 min − 30 min = 8 hours. If the shift ends after midnight, add 24 hours to the end time first.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 45 minutes is 45 ÷ 60 = 0.75 hours, so 7 h 45 min is 7.75 hours. The table above lists common values; 15 minutes is 0.25, 30 is 0.50 and 20 is 0.33.

How does it handle a night shift?

When the end time is the same as or earlier than the start time, the calculator assumes the shift ends the next day. 22:00 to 06:00 is 8 hours. A single shift can be at most 24 hours, because a time of day can't tell 26 hours from 2.

How do I calculate my pay from hours?

Multiply decimal hours by the hourly rate. 38.75 hours at 250 per hour is 9,687.50. Enter your rate in the calculator and it does this for the whole week. Overtime at a higher rate is not applied automatically; calculate those hours separately.

What counts as overtime?

It depends on the law where you work and on your contract. In India, the Factories Act limits adult workers to 9 hours a day and 48 hours a week, with overtime paid at twice the ordinary rate. In the US, the Fair Labor Standards Act requires 1.5 times the regular rate for hours over 40 in a workweek for non-exempt employees. Check your own employer's policy.