Time card arithmetic · punches, breaks and pay

Time Card Calculator: Weekly Hours From Your Punch Times

Type the times you clocked in and out and the card adds the week up for you: one row per day, one total per day, and a week total shown both as HH:MM and as decimal hours. Deduct an unpaid lunch, round the punches if your employer does, and put an hourly rate on it to see the gross pay the card represents.

Punches in and out Day and week totals HH:MM and decimal No login

Calculator

Clock

Type times with AM or PM, such as 9:05 AM or 5:30 PM.

Punches · Mon, Nov 23 to Sun, Nov 29
Defaults to the Monday of the week you open the page.
Mon Mon, Nov 23 8:00
Tue Tue, Nov 24 8:00
Wed Wed, Nov 25 8:00
Thu Thu, Nov 26 8:00
Fri Fri, Nov 27 8:00
Sat Sat, Nov 28 0:00

Day off — no punches.

Sun Sun, Nov 29 0:00

Day off — no punches.

Breaks

The unpaid break is deducted from the day. A paid short break is already inside the punches, so it is shown but never deducted.

Rounding

Rounding is applied to each punch before the duration is taken. 29 CFR 785.48(b) accepts it only if it does not underpay over time.

Pay

Gross pay only: the card does not apply tax, deductions or withholding.

Overtime

The weekly rule is the federal one. A daily rule is a state rule and is off by default.

40:00 which is 40.00 decimal hours, gross pay $800.00 at $20.00 an hour.
Week net
40:00
As decimal hours
40.00 h
Gross before breaks
42:30
Unpaid break
210 minutes
Paid short break
0 minutes
Gross pay
$800.00
Week chart: 40:00 total across 7 days, split into 40:00 regular, 0:00 at one and a half times and 0:00 at double time. 0h 4h 8h Mon Tue Wed Thu Fri Sat Sun
Hours worked each day. Green is regular time, gold is one and a half times, red is double time; an empty slot is a day off.
One row per day: punches, clock time, the unpaid break, and the hours worked as HH:MM and as decimal hours.
DayDatePunchesGrossBreak (min)Net HH:MMNet decimal
Mon Mon, Nov 23 1 8:30 30 8:00 8.00
Tue Tue, Nov 24 1 8:30 30 8:00 8.00
Wed Wed, Nov 25 1 8:30 30 8:00 8.00
Thu Thu, Nov 26 1 8:30 30 8:00 8.00
Fri Fri, Nov 27 1 8:30 30 8:00 8.00
Sat Sat, Nov 28 0 0:00 30 0:00 0.00
Sun Sun, Nov 29 0 0:00 30 0:00 0.00

Three weeks, added up

Every figure below is produced by the same engine that runs in the browser, at build time — so an example cannot drift from the calculator above.

Five eight-hour days

40:00

which is 40.00 decimal hours, gross pay $800.00 at $20.00 an hour.

The preset: 9:00 to 17:30 is eight and a half hours of clock time, less a 30-minute unpaid lunch, which is eight hours. Five of them is 40:00, or 40.00 decimal hours, and $800.00 at $20.00 an hour.

A 45-hour week with weekly overtime

45:00

which is 45.00 decimal hours, split into 40:00 regular and 5:00 at one and a half times, gross pay $950.00 at $20.00 an hour.

Five days of 9:00 to 18:30 is 45 hours after the same lunch. The federal rule turns the five hours above 40 into overtime at 1.5x, so the same $20 rate pays $800.00 plus $150.00.

Two punches a day instead of one

40:00

which is 40.00 decimal hours, gross pay $800.00 at $20.00 an hour.

When the lunch is punched out and back in, the gap is not on the card at all, so no break is deducted. 9:00 to 12:00 and 12:30 to 17:30 is three hours plus five, which is still eight hours a day.

What a time card calculator actually has to do

A time card is a list of instants: the minute you clocked in, the minute you clocked out, and then the same pair again after lunch. Everything else on the card is arithmetic on those instants. The job of a calculator is to subtract one from the other, add the pieces back together for the day, deduct whatever the day does not pay for, and then total the week. None of that is hard, and all of it is easy to get wrong by hand at the end of a long week.

This calculator does that arithmetic in one place and shows it two ways at once. Every total appears as HH:MM, the way a punch clock reports it, and as decimal hours, the way payroll almost always wants it. The two columns are never shown apart, because the commonest mistake on a time card is mixing them: reading 8:30 as eight and a half hours is right, but reading it as 8.30 hours is wrong by twelve minutes.

The card starts on the Monday of the week you open it, so the default is always this week rather than a date frozen into the page. Nothing you type leaves the browser, and there is no account, no upload and no server to send a timesheet to.

From punch times to a weekly total

The engine reads each punch as minutes after midnight and each day as a list of segments. A segment is one in-and-out pair, so a day with a lunch break punched in and out has two segments and a day without one has a single segment. A day off has none. That shape handles every ordinary week without a special case, including the shift that ends after midnight: if the clock-out is earlier than the clock-in, the engine reads it as an overnight shift and rolls the end past midnight.

The week total is the sum of the day totals, and the day total is the sum of its segments minus the unpaid break. A break that is larger than the time worked cannot make a day negative; the card stops at zero and says so. The running figures on the page are recomputed from the same functions the build used, so the number you see while typing is the same number the first paint showed.

Breaks, overtime and pay are three separate steps

A time card ends with three questions that look like one. The first is how many hours were worked, which is the total after unpaid breaks. The second is how those hours are priced, which is where the weekly forty-hour threshold and any daily rule apply. The third is what the hours are worth, which is the total multiplied by a rate with the overtime multipliers applied to the right hours. Keeping them apart is what makes the answer checkable, because each one can be verified on its own.

This page answers the first two and prices the total at a single rate unless you turn overtime on. The lunch-break page is about the first question in more detail, the two-week page about the second across a fortnight, and the overtime page about the second and third together. The four pages share one engine, so a week measured here and priced there cannot disagree.

One thing the card does not know is your employer policy. Whether lunch is paid, whether short breaks count, and whether punches are rounded are all decisions the employer makes within the law, and the card simply applies the choice you enter. The rules it does state are quoted at the foot of every page, with the date they were read.

Questions this page answers

How do I calculate my hours from a time card?

Subtract each clock-in from its clock-out to get the minutes in that segment, add the segments for the day, subtract any unpaid break, and add the days for the week. This calculator does exactly that and shows every day and the week both as HH:MM and as decimal hours.

Why is 8:30 not 8.30 hours?

Because decimal hours are not minutes. Thirty minutes is half an hour, so 8:30 is 8.50 decimal hours, and 8.30 would be 8 hours and 18 minutes. The card prints the HH:MM and decimal columns together so the two conventions cannot be confused.

Does the calculator deduct my lunch break?

Only if you tell it to. Enter the break as minutes on the breaks field and it is deducted from the day. If you punch out and back in for lunch, the gap is already missing from the card and you should leave the deduction at zero.

What happens if my shift ends after midnight?

Enter the clock-out time as it reads, for example 06:30, and the calculator sees an end earlier than the start, treats the shift as overnight and adds a day to the end. A 22:00 to 06:30 shift is eight and a half hours, and the card shows it as one segment rather than two.

Does the card round my punch times?

Not unless you choose it. Rounding to the nearest 5, 6 or 15 minutes is allowed under 29 CFR 785.48(b) as long as it does not underpay over time, and some employers do it. The rounding field applies the step to each punch and shows the difference.

Estimating tool only. It applies the arithmetic you give it and nothing else: no employer policy, no state rule outside the sources listed below, no overtime agreement and no tax withholding. Confirm any figure against your own time records, your written policy and your state labor department. Nothing you type is uploaded.

Put this calculator on your site

Embed this calculator

Copy the snippet into any page. The widget is free, needs no key and sends nothing until a visitor interacts with it.

Open widget view