Time card arithmetic · punches, breaks and pay

Military Time Card Calculator: 24-Hour Punches and Night Shifts

A 24-hour clock removes the one ambiguity a time card cannot afford: whether 12:30 is noon or midnight. Type the punches as 22:00 and 06:30 and the card reads the overnight shift as eight and a half hours, one segment, no midnight split. A full cross-reference between the two clocks sits under the totals.

24-hour punchesShifts across midnight12h and 24h tableNo login

Calculator

Clock

Type times as 21:05, 0905 or 9:05. AM and PM are also accepted.

Punches · Mon, Nov 23 to Sun, Nov 29
Defaults to the Monday of the week you open the page.
Mon Mon, Nov 23 8:30
Tue Tue, Nov 24 8:30
Wed Wed, Nov 25 8:30
Thu Thu, Nov 26 8:30
Fri Fri, Nov 27 8:30
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.

42:30 which is 42.50 decimal hours, gross pay $850.00 at $20.00 an hour.
Week net
42:30
As decimal hours
42.50 h
Gross before breaks
42:30
Unpaid break
0 minutes
Paid short break
0 minutes
Gross pay
$850.00

At least one shift ends after midnight; it is read as an overnight shift and counts on the day it started.

Week chart: 42:30 total across 7 days, split into 42:30 regular, 0:00 at one and a half times and 0:00 at double time. 0h 4h 9h 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.
The same instant on both clocks, one row per hour of the day.
24-hour12-hour
00:00 12:00 AM
01:00 1:00 AM
02:00 2:00 AM
03:00 3:00 AM
04:00 4:00 AM
05:00 5:00 AM
06:00 6:00 AM
07:00 7:00 AM
08:00 8:00 AM
09:00 9:00 AM
10:00 10:00 AM
11:00 11:00 AM
12:00 12:00 PM
13:00 1:00 PM
14:00 2:00 PM
15:00 3:00 PM
16:00 4:00 PM
17:00 5:00 PM
18:00 6:00 PM
19:00 7:00 PM
20:00 8:00 PM
21:00 9:00 PM
22:00 10:00 PM
23:00 11:00 PM
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 — 8:30 8.50
Tue Tue, Nov 24 1 8:30 — 8:30 8.50
Wed Wed, Nov 25 1 8:30 — 8:30 8.50
Thu Thu, Nov 26 1 8:30 — 8:30 8.50
Fri Fri, Nov 27 1 8:30 — 8:30 8.50
Sat Sat, Nov 28 0 0:00 — 0:00 0.00
Sun Sun, Nov 29 0 0:00 — 0:00 0.00

Three shifts on a 24-hour clock

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.

22:00 to 06:30, five nights

42:30

which is 42.50 decimal hours, gross pay $850.00 at $20.00 an hour.

The preset: each night is eight and a half hours across midnight, so five of them is 42:30 and 42.50 decimal hours. The card shows one segment a night, not two, because the engine reads the early end as the next morning.

A day shift, 09:00 to 17:30

40:00

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

The same card on a daytime schedule: 09:00 to 17:30 is eight and a half hours, less a 30-minute unpaid lunch, which is eight hours a day and 40:00 for the week.

18:00 to 02:15, an evening shift

41:15

which is 41.25 decimal hours, gross pay $825.00 at $20.00 an hour.

A shift that starts in the evening and ends after midnight is eight hours and fifteen minutes. Entering 02:15 rather than 2:15 AM is what makes the card unambiguous.

A 24-hour clock removes the ambiguity

On a twelve-hour clock every hour but twelve appears twice a day, and the meridiem is the only thing that distinguishes them. Drop it, or misread it, and 12:30 becomes either noon or midnight and a shift is wrong by twelve hours. A twenty-four-hour clock has no such pair: 00:30 is half past midnight and 12:30 is half past noon, and there is nothing to misread.

This page reads punches on the 24-hour clock, which also means a bare four-digit entry like 0905 is understood without a colon or a suffix. The other pages default to the 12-hour clock because that is what most people type; the field on every card switches between the two, and the time values on the card are rewritten when it does.

The cross-reference table under the totals lists all twenty-four hours of the day on both clocks. It is there for the moments when a card and a schedule disagree, so the same instant can be found on either notation without counting on your fingers.

Crossing midnight is one subtraction, not two shifts

A night shift is the case that breaks a naive time card. Clock out at 06:30 and clock in at 22:00 the previous evening, and a plain subtraction gives a negative number. The engine handles it by noticing that the end is earlier than the start and adding a day to the end before subtracting, so 22:00 to 06:30 is eight and a half hours in one segment.

That matters for more than tidiness. Splitting the shift at midnight into two segments would produce two separate durations that each have to be added back, and it would make the day the hours belong to ambiguous: does the part after midnight belong to the night you started or the morning you finished? Keeping the shift whole puts the hours on the day the shift began, which is how a time card is normally written.

A day with two overnight shifts, or a shift that runs past a full day, is not something the card pretends to handle. A single segment is capped at twenty-four hours, and a duration longer than that is an error rather than a guess.

Reading a night shift on a card

Night shifts interact with two things that day shifts do not. The first is the break: a night worker may take a break at three in the morning, and whether it is paid depends on the same federal rules that govern a lunch, not on the hour it is taken. The second is the workweek boundary: a shift that begins on Sunday night and ends on Monday morning is normally counted in the week it began, which can move hours between weeks and change the overtime.

Both of those are policy questions the card cannot answer for you, and it does not try. It records the punches you give it, reads an early end as the next morning, applies the break you enter, and totals the week. Where the week boundary falls is set by the employer workweek, which the two-week page lays out in full.

If a shift is entered on the twelve-hour clock by mistake, the card will ask for AM or PM rather than assume one. That refusal is deliberate: the whole point of a 24-hour entry is that there is nothing to assume, and a silent guess is exactly the error this page exists to avoid.

Questions this page answers

How do I enter a shift that ends after midnight?

Enter the clock-out time as it reads, such as 06:30, and the clock-in time as 22:00. The calculator sees an end earlier than the start, treats the shift as overnight and adds a day to the end, so the shift is eight and a half hours in one segment.

What is 9:05 PM in military time?

21:05. Military time counts from 00:00 at midnight to 23:59, so every PM hour from 1 PM onward is the twelve-hour hour plus twelve. The cross-reference table on this page lists all twenty-four hours.

Is military time the same as a 24-hour clock?

Yes, for the purposes of a time card. The 24-hour clock runs from 00:00 to 23:59 with no AM or PM, which is what removes the noon-or-midnight ambiguity that a twelve-hour clock leaves open.

Which day do the hours of a night shift belong to?

Normally the day the shift began, and that is how this card counts them. A shift that starts Sunday night and ends Monday morning is usually counted in Sunday. The employer workweek boundary, not the calendar day, decides which week it falls in.

Why does the card refuse a time with no AM or PM?

On a twelve-hour clock a bare time is ambiguous, because 12:30 could be noon or midnight. The card asks for AM or PM instead of guessing. On the 24-hour clock a bare time is read literally and no suffix is needed.

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

Sources

Every rule on this site that is not arithmetic comes from one of these pages, read while this build was made on 2026-11-25. Five are federal sections that decide what a workweek is, what counts as hours worked, when a break is paid and whether a punch may be rounded. One is a state page, printed only because it states the daily overtime thresholds in one place; no other state rule is stated anywhere on the site, and none is written from memory.