Time Card Calculator
Calculate paid hours and simple straight-time amount for one shift. The clock calculation also handles an overnight shift and subtracts unpaid breaks.
How the result changes
Only clock-in hour changes; all other inputs stay at your current values. Each dot represents one whole-number input. This is not a forecast of real-world outcomes.
About this calculation
A time card needs elapsed clock time before an unpaid break can be removed. This tool handles a shift that crosses midnight and converts the resulting paid minutes to decimal hours and a simple rate-based amount. Estimate time card when planning work or study time.
Formula
paid hours = elapsed clock minutes modulo one day − unpaid break minutes, divided by 60
Worked example
With Clock-in hour: 9 24-hour clock, Clock-in minute: 0 min, Clock-out hour: 17 24-hour clock, Clock-out minute: 30 min, Unpaid break: 30 min, Hourly rate: 20 currency units/h, paid hours is 8 h.
Inputs and units
Use separate whole-hour and minute fields for 24-hour clock-in and clock-out. An end time earlier than start time is treated as the next day; identical times are treated as zero elapsed time, not a full-day shift.
- Clock-in hour (24-hour clock): Use a whole hour between 0 and 23.
- Clock-in minute (min): Enter the minute within the starting hour.
- Clock-out hour (24-hour clock): Use the hour when work ends; an earlier value implies crossing midnight.
- Clock-out minute (min): Enter the minute within the ending hour.
- Unpaid break (min): Subtract only time that is not paid.
- Hourly rate (currency units/h): Enter the rate used for a simple straight-time estimate.
Calculation and worked example
Convert each clock time to minutes after midnight. Subtract start from end and wrap once through 1,440 minutes when necessary. Subtract unpaid break minutes, divide by 60 for paid hours, and multiply by the entered hourly rate In compact notation, paid hours = elapsed clock minutes modulo one day − unpaid break minutes, divided by 60.
A 09:00 clock-in and 17:30 clock-out span 8.5 hours. After a 30-minute unpaid break, paid time is eight hours. At 20 currency units per hour, straight-time amount is 160.
How to use the answer
The hours result is decimal paid time, so 7.5 means seven hours and thirty minutes. The monetary amount is arithmetic only; overtime, premiums, payroll taxes, and employer rounding can change actual pay.
Check a single shift record or compare break lengths. For several days, calculate each shift separately and add paid hours before applying any policy that depends on weekly totals.
Assumptions and checks
The shift lasts less than 24 hours, clocks are in one time zone, and the entire unpaid break fits inside the shift. An overlong break produces no valid result rather than a negative paid duration.
Do not enter 17:30 as decimal 17.30 hours; the clock is split into fields. Also do not subtract a paid break, and do not assume an overnight shift is a negative number of hours.
With zero unpaid break, paid hours should equal the clock span. In the default example, 8.5 elapsed minus 0.5 break must give exactly eight hours.
Common questions
What does the paid hours result represent?
It is one shift's elapsed time after subtracting the entered unpaid break, shown in decimal hours.
What should I check before relying on this result?
Verify the shift spans less than a day, the break is unpaid, and payroll rules governing overtime or rounding are handled separately.
Inputs
- Clock-in hour (24-hour clock)
- Clock-in minute (min)
- Clock-out hour (24-hour clock)
- Clock-out minute (min)
- Unpaid break (min)
- Hourly rate (currency units/h)