Timecard Calculator: Convert Clock In & Out to Hours Worked

A timecard total is clock-out time minus clock-in time minus unpaid breaks, and most mistakes come from how the times are typed, not from the subtraction. This timecard calculator takes clock-in and clock-out times as decimal 24-hour values, subtracts an unpaid break in minutes, and handles shifts that cross midnight.

Time: Work & Legal Calculators

Time Card Calculator

Total hours worked in a day from clock-in and clock-out times, minus any unpaid break.

min

The starting values are a shift from 8 to 16.5 with a 30 minute unpaid break, which gives 8.00 hours.

How is a timecard total calculated?

The calculator subtracts the clock-in value from the clock-out value. When the clock-out value is earlier than the clock-in value, it adds 24 first, which is how an overnight shift works. Then it removes the break, converted from minutes to hours.

Hours = (Out − In) − Break ÷ 60
Overnight: Hours = (Out + 24 − In) − Break ÷ 60

Where In and Out are clock times on a 24 hour scale written as decimals, and Break is the unpaid break in minutes. The result is shown to 2 decimals and the calculator does no rounding.

Worked example: the starting values

Hours = (16.5 − 8) − 30 ÷ 60 = 8.5 − 0.5 = 8.0

So 8:00 to 4:30 pm with a half hour unpaid break is 8.00 paid hours.

How do I enter times such as 8:30 or 7:40?

Clock time Decimal to enter Calculation
8:15 8.25 8 + 15 ÷ 60
8:30 8.5 8 + 30 ÷ 60
7:45 7.75 7 + 45 ÷ 60
7:40 7.67 7 + 40 ÷ 60

Checking the break mistake

Enter 9 as the clock-in and 17.5 as the clock-out. Without a break the result is 17.5 − 9 = 8.5. With a 30 minute break it is 8.5 − 0.5 = 8.0, which is the figure the calculator returns once the break field is filled in.

How does rounding affect the total?

This calculator applies no rounding, so it returns the exact paid time. Many employers round punches instead. Under 29 CFR 785.48, which Cornell’s Legal Information Institute publishes, an employer may round to the nearest 5 minutes, the nearest one-tenth of an hour or the nearest quarter of an hour, provided the rounding averages out so employees are fully compensated over time.

Worked examples for different shifts

Worked examples

A shift that starts at a quarter past

Enter 8.25 as the clock-in and 17 as the clock-out, with a 30 minute break. The calculation is (17 − 8.25) − 0.5 = 8.75 − 0.5 = 8.25 hours.

A late night start

A worker clocks in at 10:15 pm, which is 22.25, and out at 6 am with a 30 minute break. The calculation is (6 + 24 − 22.25) − 0.5 = 7.75 − 0.5 = 7.25 hours.

What the calculator leaves out

It totals one shift at a time. It does not add a week, apply overtime, work out pay or round punches, and it expects the break to be unpaid. A shift longer than 24 hours cannot be entered because the overnight logic adds only one day. Check the decimals before you rely on a total, since a mistyped 8.45 looks as plausible as a correct 8.75. For payroll, keep the result next to the original punch times so the rounding you applied can be shown later.

Frequently asked questions

How do I calculate hours worked on a timecard?

Subtract the clock-in time from the clock-out time and subtract the unpaid break. For 8 to 16.5 with a 30 minute break that is 8.5 − 0.5 = 8.0 hours.

How do I convert 8:30 to a decimal?

Divide the minutes by 60 and add the hours. 30 ÷ 60 = 0.5, so 8:30 is 8.5.

Why is 8:45 not 8.45?

Because 45 minutes is 45 ÷ 60 = 0.75 of an hour. Typing 8.45 means 27 minutes, a 0.30 hour error.

Does the calculator handle night shifts?

Yes. When the clock-out value is earlier than the clock-in value it adds 24 hours, so 22 to 6.5 with a 30 minute break is 8.0 hours.

Can I round to the nearest quarter hour?

Employers may round to the nearest 5 minutes, one-tenth of an hour or quarter hour under 29 CFR 785.48 if it averages out. This calculator does not round.

What is the 7-minute rule?

For quarter-hour rounding, 1 to 7 minutes round down and 8 to 14 minutes round up. It has to be applied neutrally.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 836