Hours Calculator

Work out the hours and minutes between two times, minus breaks, for one shift or a whole week. It handles overnight and split shifts, totals working hours by day, and gives decimal hours for payroll.

Time format
Shift 1
8:00 hrs · 8.00 decimal

Results

Total hours
8:00
8.00 decimal hours · 8 hrs 0 mins
Estimate pay (optional)Hourly rate and currency
Total a whole week →

Runs entirely in your browser. Nothing you enter is uploaded or stored on a server.

How to use the hours calculator

  1. Type the start time and end time of your shift, for example 8:30am and 5pm, or 24-hour times like 17:00.
  2. Enter any unpaid break in minutes (for example 30 for a lunch break).
  3. Add more shifts with Add another shift if you worked a split shift.
  4. Read your total in hours and minutes and in decimal hours; optionally enter an hourly rate to estimate pay.

How the hours calculation works

The calculator turns each clock time into minutes after midnight, subtracts the start from the end, and then takes off your unpaid break. If the end time is earlier than the start time, it adds 24 hours, because the shift must have finished the next day.

Worked example: a day shift with lunch

  • Start 8:45 AM, end 5:15 PM → 8 hours 30 minutes on the clock
  • Unpaid lunch 30 minutes → 8:00 hours worked (8.00 decimal)

Worked example: a night shift

  • Start 9:30 PM, end 6:15 AM → 8 hours 45 minutes
  • Unpaid break 45 minutes → 8:00 hours worked

Worked example: a split shift

  • Shift 1: 7:00 AM – 11:00 AM = 4:00
  • Shift 2: 4:00 PM – 8:30 PM = 4:30
  • Total = 8:30 hours, which is 8.50 decimal hours

Weekly working hours

To total a work week, choose a day for each shift (or press Fill a Mon–Fri week and edit the times). The calculator lists hours for each day and the weekly total. For example, five days of 9:00 AM–5:30 PM with a 30-minute lunch is 8:00 a day and 40:00 hours a week. Need overtime, rounding or a biweekly period? Use the time card calculator, which is built for full pay periods.

Payroll hours

Payroll systems multiply decimal hours by the hourly rate, so every result here includes the decimal figure (to two places). Enter a rate under Estimate pay to check gross pay before tax. If your employer rounds clock punches, see time clock rounding rules.

Hours:minutes vs decimal hours

Clocks count in 60s, but payroll systems multiply hours by a pay rate, so they need decimals. 7 hours 45 minutes is 7.75 hours, not 7.45. Mixing the two formats is one of the most common timesheet mistakes, which is why every result here is shown both ways. Read more in Decimal hours explained.

When to use a different tool

Want to do it on paper? Our guide How to calculate hours worked walks through the manual method step by step.

Frequently asked questions

How do I calculate hours worked between two times?

Subtract the start time from the end time, then subtract any unpaid break. For example, 8:45 AM to 5:15 PM is 8 hours 30 minutes; minus a 30-minute lunch gives 8:00 hours. The calculator does this for you and also handles shifts that end after midnight.

What if my shift goes past midnight?

Just enter the times as they appear on the clock, for example start 10:00 PM and end 6:00 AM. When the end time is earlier than the start time, the calculator assumes the shift ended the next day and gives 8 hours.

What is 8 hours 30 minutes in decimal?

8.50 hours. Divide the minutes by 60 and add them to the hours: 30 ÷ 60 = 0.5. Every result above is shown in both hours:minutes and decimal form. For a full table, see the decimal hours converter.

Can I add more than one shift in a day?

Yes. Use “Add another shift” for split shifts or a second job. The total adds every shift together, with each shift’s own break deducted.

Should I enter my lunch break?

Enter unpaid breaks only. Short paid rest breaks (often 5–20 minutes, depending on local rules) normally count as hours worked, so leave them out of the break field.

Do I need to type AM and PM?

No. You can type 24-hour times such as 17:30, or shorthand such as 930a or 5:30pm. The small note under each box shows how your entry was read, so you can spot mistakes immediately.

Is my information saved?

Your last entries are saved only in this browser’s local storage, so they are there when you come back. Nothing is sent to our servers. Use Reset to clear them.