CodeKitHub
English
Everyday Tools

Work Hours Calculator

Enter a clock-in and clock-out time to instantly see how many hours and minutes you worked. Add a lunch break to subtract it from the total, stack more than one shift in the same day, and add extra days to build a full weekly timesheet. Enter an hourly wage and it also totals your pay.

Total hours
Total pay

Everything is calculated in your browser.

What Is This Tool?

A work hours calculator turns clock-in and clock-out times into a duration — the number of hours and minutes actually worked. It subtracts any unpaid break you enter, such as a lunch, and correctly handles shifts that cross midnight (clocking in at 22:00 and out at 06:00 the next day).

It also adds up multiple shifts in a single day (for split shifts) and multiple days in a week, so you can build a weekly timesheet without a spreadsheet. If you enter your hourly wage, it multiplies the total time by the rate to show what you're owed.

Why Use It?

  • Handles multiple shifts per day and overnight shifts that cross midnight.
  • Deducts an unpaid lunch or break in minutes, so the total reflects actual hours worked.
  • Add multiple days to total a full week's hours and pay at once.
  • Optional hourly-wage field converts total time into total pay instantly.
  • Runs entirely in your browser — nothing you enter is sent anywhere.

How to Use

  1. Enter the clock-in and clock-out time for a shift.
  2. Enter any unpaid break in minutes (for example 30 for a lunch break) — it's subtracted from the shift.
  3. Add another shift row if you worked a split shift that day, or add a day row to build a weekly total.
  4. Enter your hourly wage in the optional field to see total pay alongside total hours.

Example

Input

Clock in 09:00, clock out 17:30, 30-minute lunch break

Output

Hours worked: 8h 0m

17:30 − 09:00 = 8h 30m of clocked time. Subtracting the 30-minute lunch break leaves 8h 0m actually worked.

Common shift lengths and lunch deductions

Clock inClock outBreakHours worked
09:0017:0030 min7h 30m
08:0016:3030 min8h 0m
09:0018:0060 min8h 0m
22:0006:00 (+1 day)0 min8h 0m
07:0019:0045 min11h 15m

Related tools

Once you have a total, the percentage calculator is useful for figuring out an overtime premium or a raise, and the unit converter handles other everyday conversions. For scheduling and counting days between dates, the date calculator is a natural companion.

Percentage Calculator · Unit Converter · Date Calculator

Frequently Asked Questions

How do I calculate actual hours worked after deducting a lunch break?

First find the raw clocked time by subtracting clock-in from clock-out. Then subtract the unpaid break in minutes. For example, clocking in at 08:30 and out at 17:00 gives 8h 30m raw; subtracting a 30-minute lunch leaves exactly 8h 0m actually worked. Only unpaid breaks should be subtracted — short paid breaks usually stay counted as worked time.

How do I calculate overtime duration?

Subtract your regular scheduled hours (commonly 8 hours a day or 40 hours a week) from the total hours worked; anything above that is overtime. If you worked 9h 45m in a day with an 8-hour standard shift, overtime is 1h 45m. For a week, add up all worked hours first, then subtract 40 to find the weekly overtime — many employers calculate it weekly rather than daily.

How does the calculator handle a shift that crosses midnight?

Enter the clock-out time as normal even if it's earlier numerically than the clock-in time — for example clock in at 22:00 and clock out at 06:00. The calculator detects that the end time is on the next day and adds 24 hours before subtracting, correctly returning 8 hours instead of a negative number.

Can I calculate a full week's hours and pay at once?

Yes. Add a row for each day worked, with its own clock-in, clock-out and break, then enter your hourly wage once. The tool sums every day's hours into a weekly total and multiplies it by your wage to show total pay for the week.

Is my data stored anywhere?

No. The calculation runs entirely in your browser with JavaScript; nothing you enter — times, wages or breaks — is sent to a server, stored or logged.

Related Tools