Skip to content

Hours Worked Calculator

Total your weekly hours from start and end times, with breaks and overtime pay.

Shifts this week

Optional. Leave at 0 to total hours only.

More options

US federal law (FLSA) requires overtime after 40 hours in a workweek for most employees.

Calculated on your device. Nothing you enter is sent anywhere.

Total hours (decimal)

Total hours (decimal): 40

You worked 40 h this week, which is 40 hours as a decimal.

Total in hours and minutes
40 h

Hours for each shift
ShiftHours
18
28
38
48
58

In short

For each shift, hours worked are the time from start to finish minus any unpaid break: 9:00 to 17:30 with a 30-minute break is 8 hours. Shifts that end after midnight simply carry over. Adding the week gives total hours, shown both as hours and minutes and as decimal hours for payroll. With an hourly rate, hours over 40 can be paid at time and a half.

How it works

Each shift

hours = (end − start − break minutes) ÷ 60

If the end time is earlier than the start, the shift ran past midnight, so 24 hours are added: 22:00 to 06:30 is 8½ hours before the break. Minutes become decimal hours by dividing by 60, so 7 h 45 min is 7.75 hours, not 7.45.

Pay with overtime

pay = rate × min(hours, 40) + rate × 1.5 × max(0, hours − 40)

The US Department of Labor explains that, unless exempt, employees covered by the Fair Labor Standards Act must get at least time and one-half for hours over 40 in a workweek, that the workweek is a fixed period of seven consecutive days, and that hours may not be averaged over two or more weeks. Some states and other countries have different rules, such as daily overtime; change the threshold under More options if yours does.

Worked examples

A standard week: 9:00 to 17:30, five days

Each day is 8½ hours minus a 30-minute break, so 8 hours. Five days make 40 hours, and at $20 an hour that is $800.00 before tax.

Open this example in the calculator

An extra Saturday morning

Adding 9:00 to 14:30 with a 30-minute break brings the week to 45 hours, 5 of them overtime. Pay is 40 × $20 + 5 × $30 = $950.00.

Open this example in the calculator

A night shift from 22:00 to 06:30

The shift crosses midnight: 2 hours before it and 6½ after, 8½ in all. Less a 30-minute break, that is 8 h.

Open this example in the calculator

Using this calculator well

  • Paid or unpaid breaks. Only enter breaks you are not paid for. Short rest breaks are often paid time; check your contract or local law.
  • Use decimal hours for payroll. Payroll systems multiply decimal hours by the rate, so 37 h 30 min is entered as 37.5.
  • One workweek at a time. Enter the shifts of a single workweek, as overtime is counted per week.
  • Exempt employees on salary may not be owed overtime. The Department of Labor explains who is covered.

Frequently asked questions

How do I calculate hours worked?

For each shift subtract the start time from the end time, then subtract any unpaid break. From 8:15 to 16:45 is 8 h 30 min; minus a 45-minute lunch leaves 7 h 45 min, or 7.75 hours. Add the shifts to get the week.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 15 minutes is 0.25 hours, 30 minutes 0.5, 45 minutes 0.75 and 20 minutes 0.333. So 6 hours 20 minutes is 6.33 hours. Writing it as 6.20 would underpay by 8 minutes.

How is overtime calculated?

Under the US federal rule, hours over 40 in a workweek are paid at least 1.5 times the regular rate. At $18 an hour, a 46-hour week pays 40 × $18 + 6 × $27 = $882. Some places add daily overtime or other rules.

How do I count a shift that ends after midnight?

Count it as running into the next day. From 23:00 to 07:00 is 8 hours: 1 hour before midnight and 7 after. The calculator does this automatically when the end time is earlier than the start.

Sources and methodology

  1. Overtime Pay, U.S. Department of Labor, Wage and Hour Division, FLSA: overtime at not less than time and one-half the regular rate for hours worked over 40 in a workweek; workweek basis; averaging over two or more weeks not permitted (accessed November 24, 2026)
  2. Prealgebra 2e, 7.5 Systems of Measurement, OpenStax, Rice University, Table 7.2: 1 h = 60 min, 1 day = 24 h (accessed November 24, 2026)

Rounding: Minutes are counted exactly. Decimal hours are shown to 2 places, and pay is rounded half-up to the cent. Employers may round punch times under their own policy.

Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.

Changelog
  • 1.0.0 · November 24, 2026: First published.

How we build and test calculators

Embed this calculator on your site

Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.

<iframe src="https://northcalculator.com/embed/en/hours-worked" title="Hours Worked Calculator" width="100%" height="760" style="border:0" loading="lazy"></iframe>