Date Time

How to Calculate Hours Worked

Updated September 20, 2026 · By calclu Team

Whether you are on a timesheet, billing clients or checking your paycheck, hours worked follows one simple rule — and a few traps.

The basic formula

Hours worked = (End time − Start time) − unpaid breaks

Times must be in 24-hour (military) format for the subtraction to work.

How to calculate hours worked step by step

  1. Convert both times to 24-hour format: 1:30 pm → 13:30.
  2. Subtract the start time from the end time.
  3. Convert minutes to a decimal: 45 min ÷ 60 = 0.75, so 7h 45m = 7.75 hours.
  4. Subtract unpaid breaks (lunch) from the total.

A worked example

Shift 9:00 am → 5:30 pm with a 45-minute unpaid lunch:

  1. End − start: 17:30 − 9:00 = 8 hours 30 minutes
  2. Decimal: 8.5 hours
  3. Minus lunch: 8.5 − 0.75 = 7.75 hours

At $20/hour: 7.75 × 20 = $155.00 gross pay.

The minutes-to-decimal table

  • 15 min = 0.25
  • 30 min = 0.50
  • 45 min = 0.75

Payroll almost always uses decimals — 7h 30m is 7.5, not 7.30.

Overnight shifts

If the end time is smaller than the start, add 24 hours first: a 10:00 pm → 6:00 am shift is (6 + 24) − 22 = 8 hours.

Weekly totals

Add each day's decimal hours: 7.75 + 8 + 7.75 + 8 + 7.5 = 39 hours → one hour of overtime at time-and-a-half in the US after 40 in a week.

Put it into practice

For multi-day spans, use the free Date Difference Calculator to count days between punch dates, and check Age Calculator style date math for anniversaries and tenure.

Put it into practice

Advertisement

Horizontal Banner

1200×628

Your ad here

calclu

A calm collection of handy calculators for everyday life.

Made with for everyone