Hours between two times
Subtract the start from the end. When the end is earlier, add 24 hours first, because the shift finished the next morning. 10:00 p.m. to 6:30 a.m. is 8.50 decimal hours, written 8:30. 11:30 p.m. to 12:15 a.m. is 0:45. Quarter hours are 0.25, half hours are 0.50, and one minute is 0.02 only as a display rounding. The underlying count stays in minutes.
Switch the clocks between AM/PM and 24-hour at any time. 22:00 is 10:00 p.m. The hours do not change when the labels do.
Adding spans
“Add spans” opens more rows. Each completed row is its own shift, with its own break, and the total is the sum. The overnight span above plus a second span from 9:00 a.m. to 12:15 p.m. is 11:45 (11.75 hours). A row you leave empty is ignored. A row with a start and no end is listed and not added, so a half-entered punch does not become midnight.
Use this for a couple of shifts or a split day. For a Monday-to-Sunday card with a weekly overtime line, use the time card calculator. Once the hours are known, gross pay at time and a half is the overtime calculator, and take-home pay is the hourly paycheck calculator.
Questions
How do I count a shift that goes past midnight?
If the end time is earlier than the start time, the hours cross midnight. 10:00 p.m. to 6:30 a.m. is 8.50 hours, or 8:30.
What if the start and end are the same?
That is 0 hours. The calculator does not treat equal clocks as a 24-hour shift. A full day on the clock needs an end time one minute shy of a full turn, or it belongs on the weekly time card as a noted exception.
Can I add several shifts together?
Yes. Choose “Add spans” and fill each row that you worked. Empty rows are ignored. A row with only one clock is not added. The overnight example plus 9:00 a.m. to 12:15 p.m. is 11.75 hours (11:45).
Do breaks come out of the total?
Each span has its own break, in minutes. Those minutes are subtracted, and the result cannot go below 0. Leave the break at 0 if the time was paid. A short rest break of about 5 to 20 minutes is usually hours worked under federal rules. A real meal period, when you are relieved of duty, usually is not.
Will this tell me overtime or take-home pay?
No. This page is only the length of the spans. A full week with daily overtime is the time card calculator. Gross pay at 1.5× or 2×, once you know the hours, is the overtime calculator. Tax comes off in the paycheck calculator.