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
42:30which 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.
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-hour
12-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.
Day
Date
Punches
Gross
Break (min)
Net HH:MM
Net 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.
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.
29 CFR 778.104 — Each workweek stands alone — Read 2026-11-25: "The Act takes a single workweek as its standard and does not permit averaging of hours over 2 or more weeks. Thus, if an employee works 30 hours one week and 50 hours the next, he must receive overtime compensation for the overtime hours worked beyond the applicable maximum in the second week, even though the average number of hours worked in the 2 weeks is 40."
29 CFR 778.103 — The workweek as the basis for applying section 7(a) — Read 2026-11-25: "the employer must total all the hours worked by the employee for him in that workweek ... and pay overtime compensation for each hour worked in excess of the maximum hours applicable under section 7(a)".
29 CFR 785.18 — Rest — Read 2026-11-25: "Rest periods of short duration, running from 5 minutes to about 20 minutes, are common in industry. They promote the efficiency of the employee and are customarily paid for as working time. They must be counted as hours worked."
29 CFR 785.19 — Meal — Read 2026-11-25: "Bona fide meal periods are not worktime. Bona fide meal periods do not include coffee breaks or time for snacks. These are rest periods. The employee must be completely relieved from duty for the purposes of eating regular meals. Ordinarily 30 minutes or more is long enough for a bona fide meal period."
29 CFR 785.48 — Use of time clocks — Read 2026-11-25: "(b) “Rounding” practices. ... there has been the practice for many years of recording the employees’ starting time and stopping time to the nearest 5 minutes, or to the nearest one-tenth or quarter of an hour. ... this practice of computing working time will be accepted, provided that it is used in such a manner that it will not result, over a period of time, in failure to compensate the employees properly for all the time they have actually worked."
California DIR — Overtime (Labor Commissioner FAQ) — Read 2026-11-25, quoting Labor Code section 510: overtime at "one and one-half times the employee’s regular rate of pay for all hours worked in excess of eight hours up to and including 12 hours in any workday, and for the first eight hours worked on the seventh consecutive day of work in a workweek; and double the employee’s regular rate of pay for all hours worked in excess of 12 hours in any workday and for all hours worked in excess of eight on the seventh consecutive day of work in a workweek."