Everyday

Hours Calculator

Hours worked between two times, with breaks deducted and the decimal figure payroll actually wants.

Free, no sign-up Updates as you type Formula shown below
Start and end
min
Pay & overtime
$
h/day
×
Hours worked
Decimal hours
Total minutes
Regular / overtime
Gross pay
Shift breakdown
Advertisement

Working out hours between two times

Convert both times to minutes past midnight, subtract, then deduct any unpaid break. If the end time is earlier than the start, add 24 hours first — the shift crossed midnight.

Hours = (End − Start) − Unpaid break
If End < Start: add 24 hours to End first
09:00 to 17:30 with a 30-minute unpaid break
Convert. 09:00 = 540 minutes, 17:30 = 1,050 minutes.
Elapsed. 1,050 − 540 = 510 minutes = 8h 30m.
Deduct the break. 510 − 30 = 480 minutes.
Convert. 480 minutes = 8h 0m, or 8.00 decimal hours.
Hours worked: 8.00

Overnight shifts

A shift from 22:00 to 06:00 subtracts to −16 hours if handled naively. Adding 24 hours to the end time gives 30:00 − 22:00 = 8 hours, which is correct. This calculator detects the case automatically.

Decimal hours and the rounding trap

Payroll runs on decimal hours, because rates multiply cleanly. 8h 30m is 8.5 hours, not 8.30.

Common conversions.
TimeDecimalTimeDecimal
15 min0.256h 15m6.25
30 min0.507h 30m7.50
45 min0.758h 45m8.75
20 min0.337h 20m7.33
40 min0.678h 40m8.67
10 min0.179h 10m9.17
Writing 8h 30m as 8.30 underpays by 12 minutes per shift. Over a year of five-day weeks that is about 26 hours of unpaid work. It is one of the most common payroll errors there is.

Legal rounding

US federal regulations permit rounding to the nearest quarter hour, provided the rounding is neutral over time — it must not systematically favour the employer. Rounding that only ever goes down is a violation. Some states, notably California, apply stricter interpretations.

Advertisement

Overtime and breaks

Under the US Fair Labor Standards Act, non-exempt employees earn 1.5× their regular rate for hours beyond 40 in a workweek. There is no federal daily overtime requirement — that comes from state law.

Selected daily overtime rules.
JurisdictionRule
US federal1.5× after 40 hours in a week
California1.5× after 8 hours a day, 2× after 12; 1.5× on the 7th consecutive day
Alaska, Nevada1.5× after 8 hours a day
Colorado1.5× after 12 hours a day or 40 a week
India (Factories Act)2× after 9 hours a day or 48 a week
UKNo statutory overtime premium; contractual only
EU Working Time Directive48-hour weekly average cap, not a pay premium

Breaks

Whether a break is paid depends on length and jurisdiction. Under US federal rules, breaks under 20 minutes are generally compensable and count toward hours worked, while bona fide meal periods of 30 minutes or more are not — provided the employee is fully relieved of duty.

For a full week of shifts, use the time card calculator. For salary conversions, the salary calculator.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the end time, then deduct unpaid breaks. From 09:00 to 17:30 is 8h 30m; less a 30-minute break, that is 8 hours.

If the end time is earlier than the start, the shift crossed midnight — add 24 hours to the end first.

How do I convert hours and minutes to decimal?

Divide the minutes by 60 and add to the hours. 8h 30m is 8 + 30÷60 = 8.5 hours.

Writing it as 8.30 is the classic error and underpays by 12 minutes.

Do unpaid breaks count as hours worked?

Generally not, if you are fully relieved of duty. Under US federal rules, bona fide meal periods of 30 minutes or more are unpaid, while short breaks under 20 minutes are compensable.

If you must remain at your desk or answer calls, it usually counts as work time regardless of what it is called.

When does overtime start?

Under US federal law, after 40 hours in a workweek at 1.5×. Some states add daily thresholds — California requires 1.5× after 8 hours in a day and 2× after 12.

Other countries differ substantially; the UK has no statutory overtime premium at all.

Can my employer round my hours?

In the US, yes, to the nearest quarter hour — but the rounding must be neutral over time. Rounding that consistently favours the employer is unlawful.

Some states apply stricter standards, and several court decisions have limited the practice further.

This is an estimate, not advice. Overtime and break rules vary by jurisdiction and by employment contract. Check your local labour law and your own agreement. Read the full disclaimer.
Advertisement