Time Card Calculator
Calculate hours worked from clock-in and clock-out times, minus breaks — plus pay.
Inputs
Hours Worked
8h 0m
Decimal Hours
8.00
Gross Pay
$200.00
Step by step
Raw shift span (end − start)
17:30 − 09:00
= 8h 30m
Subtract unpaid break
8h 30m − 30 min
= 8h 0m
Convert to decimal hours
480 min ÷ 60
= 8.00 h
Gross pay = decimal hours × hourly rate
8.00 h × $25.00/h
= $200.00
How it works
Hours worked equals clock-out minus clock-in, minus your unpaid break. Overnight shifts (where end is earlier than start) are handled by rolling over midnight. Gross pay multiplies decimal hours by your rate.
Formulas
Working minutes
Working minutes = (end − start + 1440) mod 1440 − break minutes
- 1440
- Minutes in a day — added then mod'd to handle overnight shifts
- t_end
- Clock-out time in minutes since midnight
- t_start
- Clock-in time in minutes since midnight
- b
- Unpaid break in minutes
Gross pay
Gross pay = (working minutes ÷ 60) × hourly rate
- t
- Working minutes after break deduction
- r
- Hourly pay rate
Frequently Asked Questions
How do overnight shifts work?
If your end time is earlier than your start time, the calculator assumes you clocked out the next day and adds 24 hours automatically.
Is this gross or net pay?
It's gross pay before taxes and deductions. Use the Salary calculator to estimate take-home pay.