Hours Worked Calculator (Free Weekly Time Card)

📅 Updated June 5, 2026 ⏱ 7 min read ✍️ By Anchor AI Tools
✓ Free, no signup ✓ Breaks & rounding ✓ Decimal total & pay ✓ Mobile-friendly
Weekly time card and clock used with an hours worked calculator for payroll

This free hours worked calculator totals a full week's timesheet from your clock-in and clock-out times. Enter each day's start and end, deduct unpaid breaks, choose a rounding rule if your employer uses one, and get the weekly total in both hours-and-minutes and decimal hours — plus gross pay if you add a rate.

Built by Anchor AI Tools, it works as a time card calculator for payroll, a work hours calculator for freelancers billing clients, and a quick way for employees to check their own hours against a pay stub.

Quick Answer: To calculate hours worked, convert the clock-in and clock-out times to a 24-hour format, subtract the start from the end to get the time on the clock, then subtract any unpaid break. For example, 9:00 to 17:30 with a 30-minute lunch is 8.5 hours on the clock minus 0.5 = 8 hours worked. Add each day for the weekly total, then multiply the decimal hours by your hourly rate for gross pay.

Hours Worked Calculator

Enter clock-in and clock-out times for each day you worked, plus any unpaid break in minutes. Leave blank days empty. Add an hourly rate for gross pay, then click Calculate.

📋 Weekly Time Card Calculator

24-hour or AM/PM time pickers. Break is in minutes and is unpaid.

DayClock InClock OutBreak (min)Total

Total Hours (H:MM)
Total Decimal Hours

Need to convert a single value instead? Use the time to decimal calculator, the hours to decimal calculator, or read the result back as clock time with decimal to time.

How to Use This Time Card

  1. Enter clock-in and clock-out for each day. Use the time pickers; leave days you did not work blank.
  2. Add unpaid breaks in minutes. A 30-minute lunch is entered as 30. Paid breaks are left out.
  3. Pick a rounding rule. Use Exact for digital clocks, or match your employer's rule (commonly nearest 15 minutes).
  4. Add an hourly rate (optional). The calculator multiplies your decimal total by the rate for gross pay.
  5. Click Calculate. You get the weekly total in hours-and-minutes and decimal, ready to copy into payroll.

How Hours Worked Are Calculated

Hours Worked = (Clock Out − Clock In) − Unpaid Break

Each day is totalled, then summed for the week

The calculator converts each clock time to minutes since midnight, subtracts clock-in from clock-out to find the time on the clock, then subtracts the unpaid break. If a shift crosses midnight (clock-out earlier than clock-in), it adds 24 hours so an overnight shift totals correctly. Each day's minutes are added for the week, then converted to decimal hours by dividing by 60.

  1. Convert to 24-hour time. 5:30 PM becomes 17:30.
  2. Subtract start from end. 17:30 − 9:00 = 8 hours 30 minutes on the clock.
  3. Deduct the unpaid break. 8:30 − 0:30 lunch = 8 hours 0 minutes worked.
  4. Convert to decimal and total. 8:00 = 8.00 decimal hours; repeat for each day and add.

Time Clock Rounding and the 7-Minute Rule

Many employers round clock times to a set interval. Under the U.S. Department of Labor's interpretation of the Fair Labor Standards Act, time may be rounded to the nearest 5 minutes, the nearest tenth of an hour (6 minutes), or the nearest quarter hour (15 minutes), provided the rounding does not consistently favour the employer.

The best-known method is the 7-minute rule for quarter-hour rounding: time from 1 to 7 minutes past an interval rounds down, and time from 8 to 14 minutes rounds up to the next quarter hour. So a punch at 8:07 is treated as 8:00, while 8:08 becomes 8:15. The calculator above applies your chosen rounding to each clock-in and clock-out before totalling.

RoundingIntervalExample punchRounds to
Nearest 15 min1/4 hour8:078:00
Nearest 15 min1/4 hour8:088:15
Nearest 6 min1/10 hour8:048:06
Nearest 5 min5 minutes8:078:05

Worked Weekly Example

📋 A standard work week at $25/hour

Each day is 9:00 to 17:30 with a 30-minute unpaid lunch — that is 8.5 hours on the clock minus 0.5 = 8.00 hours worked per day, across five days.

DayInOutBreakWorked
Monday9:0017:3030 min8.00
Tuesday9:0017:4530 min8.25
Wednesday9:0017:3030 min8.00
Thursday9:0018:0030 min8.50
Friday9:0016:5030 min7.33
Total40.08

The week totals 40.08 decimal hours (displayed rounded). Using the exact value for pay, 40.0833 × $25 = $1,002.08 gross. Entering the times wrong as plain clock numbers would miscount the partial hours on Tuesday and Friday.

Payroll team using an hours worked calculator to total a weekly time card

An hours worked calculator totals each day, deducts breaks, and gives the weekly decimal hours for payroll.

How to Calculate Hours Worked in Excel or Google Sheets

With clock-in in cell A2 and clock-out in B2, both stored as time values, subtract and multiply by 24 for decimal hours, then subtract the break:

// A2 = clock in, B2 = clock out, C2 = break in minutes
=((B2 - A2) * 24) - (C2 / 60)

// Sum the week (D2:D8 are daily decimal totals)
=SUM(D2:D8)

Format the daily cells as Number with two decimals, not Time. For overnight shifts where clock-out is the next day, add 1 before multiplying: =((B2 - A2 + 1) * 24). To convert any single value, use the minutes to decimal converter.

Who Uses an Hours Worked Calculator?

This time card calculator is used by hourly employees checking their pay, freelancers and contractors totalling billable hours for invoices, small business owners running weekly payroll, HR teams processing timesheets, and managers approving hours before submitting them. Anyone who tracks clock-in and clock-out times and needs an accurate weekly total in decimal hours can use it.

For the full payroll process including overtime rules, read our guide to converting time to decimal for payroll. To work out deductions on the gross figure, use the percentage calculator.

Need to convert a single clock time to decimal?

Use the Time to Decimal Calculator →

Frequently Asked Questions

How do I calculate hours worked?
Convert clock-in and clock-out to 24-hour time, subtract the start from the end to get time on the clock, then subtract any unpaid break. For example, 9:00 to 17:30 with a 30-minute lunch is 8 hours worked.
How do I calculate hours worked with a lunch break?
Find the total time between clock-in and clock-out, then subtract the unpaid break. A shift of 8 hours 30 minutes on the clock with a 30-minute lunch equals 8 hours of paid time.
How does the 7-minute rule work?
For quarter-hour rounding, a punch 1 to 7 minutes past an interval rounds down, and 8 to 14 minutes rounds up. So 8:07 becomes 8:00 and 8:08 becomes 8:15. It must round both ways to be fair.
How do I calculate hours for an overnight shift?
When clock-out is earlier than clock-in, add 24 hours. A shift from 22:00 to 06:00 is (6 + 24) − 22 = 8 hours. The calculator handles this automatically.
How do I convert my total to decimal for payroll?
Divide the leftover minutes by 60 and add to the whole hours. The calculator shows both the H:MM total and the decimal total, so you can copy the decimal value straight into payroll.
Is this hours worked calculator free?
Yes. The hours worked calculator from Anchor AI Tools is completely free, with no signup and no download. It runs entirely in your browser.
How do I calculate hours worked in Excel?
Use =((B2-A2)*24)-(C2/60) where A2 is clock-in, B2 is clock-out, and C2 is break minutes. Format the cell as Number, not Time.

Related Free Tools From Anchor AI Tools

⚠️ Accuracy Note: This hours worked calculator provides estimates for payroll and timesheet planning. Rounding rules and overtime laws vary by employer, state, and country. Always confirm final figures with a qualified payroll professional and check your local labour laws.
A
Anchor AI Tools Editorial Team

We build free, fast, and accurate online tools that explain the answer — not just show a number. Used by freelancers, payroll teams, students, and small businesses every day.

Published by Anchor AI Tools · © 2026 Anchor AI Tools