Calculate total hours worked and gross pay
Enter clock-in and clock-out times and unpaid breaks for each day to get your total hours and gross pay for the period.
About the time card calculator
A time card totals the hours worked across multiple days, with each day's clock-in time, clock-out time, and any unpaid break subtracted out. For each row, the calculation converts both times to minutes since midnight, subtracts clock-in from clock-out to get raw minutes worked, then subtracts the unpaid break in minutes before converting the result back to hours: hoursWorked = max(0, (clockOutMinutes β clockInMinutes)/60 β breakMinutes/60).
The result is clamped at zero so that a mistakenly entered clock-out time before the clock-in time never produces a negative number of hours for that day β it just shows zero, which also acts as a visual flag that something in that row needs a second look.
This calculator treats every row as a same-day shift: clock-in and clock-out are assumed to happen on the same calendar day. If you work an overnight shift that crosses midnight (for example, 10 PM to 6 AM), that isn't a same-day subtraction and this tool isn't built for it β use the Time Duration Calculator instead, which has the wraparound logic needed for overnight spans, then enter the resulting hours here manually if you still want it included in a weekly total.
Once every row's hours are calculated, they're summed into a total for the pay period, and that total is multiplied by your hourly rate to get gross pay: grossPay = totalHours Γ hourlyRate. This is a pre-tax, pre-deduction number β it doesn't account for overtime multipliers, taxes, or other withholdings, so treat it as a quick estimate of gross earnings rather than a final paycheck figure.
Unpaid breaks (lunch, rest periods that aren't compensated under your employer's policy) should be entered in minutes per row, since break length often varies day to day. Paid breaks shouldn't be entered here at all, since they don't reduce the hours you're paid for.
Time card calculator questions
How to total hours worked, handle breaks, and calculate gross pay.
How do I calculate hours worked on a time card?
For each day, subtract the clock-in time from the clock-out time to get raw minutes worked, subtract any unpaid break in minutes, then divide by 60 to get hours. Add every day's hours together for your total for the pay period.
How does the time card calculator handle unpaid breaks?
Enter the unpaid break length in minutes for each row. That amount is subtracted from the raw time between clock-in and clock-out before the hours for that day are calculated. Paid breaks shouldn't be entered since they don't reduce paid hours.
Does the time card calculator handle overnight shifts?
No β each row assumes clock-in and clock-out happen on the same calendar day. For a shift that crosses midnight, use the Time Duration Calculator to find the correct overnight duration first.
How is gross pay calculated from a time card?
Gross pay = total hours worked Γ hourly rate. This is a pre-tax estimate and doesn't include overtime multipliers, taxes, or other deductions.
Can I add or remove days on the time card calculator?
Yes β it starts with five rows for Monday through Friday, but you can add extra rows for weekend shifts or remove rows you don't need using the add and remove buttons.
What happens if I enter a clock-out time before the clock-in time?
The hours for that row are clamped at zero rather than going negative, which signals that the times for that row need to be corrected.
Sources & references
The formulas and guidelines used on this page are based on publicly available data from: