CalculationTime

Military Time Calculator

Convert regular 12-hour clock time to military time and 24-hour time, with minutes, decimal-hour cross-checks, shift-note context and a printable time-conversion record.

Live math canvas

Your numbers, formula and explanation together

Military Time Calculator: 33 HHMM with 24-hour clock, decimal-hour and optional end-time checks. Military Time Calculator uses the declared inputs to produce a transparent default result. 12-hour clock hour: 2 1–12; Minutes: 30 min; AM or PM: 1; Optional duration to add: 0 min; primary comparison: 2 and 30.

Formula applied

The exact method behind this answer

CalculationTime keeps the method visible so the number can be checked instead of blindly trusted.

If PM and hour is not 12, add 12 to the hour. If AM and hour is 12, use 00. Military time = two-digit 24-hour hour followed by two-digit minutes. Decimal hour = 24-hour hour + minutes ÷ 60. Optional end time adds duration minutes modulo 24 hours.
  1. Apply the formulaIf PM and hour is not 12, add 12 to the hour. If AM and hour is 12, use 00. Military time = two-digit 24-hour hour followed by two-digit minutes. Decimal hour = 24-hour hour + minutes ÷ 60. Optional end time adds duration minutes modulo 24 hours.33 HHMM with 24-hour clock, decimal-hour and optional end-time checksMilitary Time Calculator uses the declared inputs to produce a transparent default result. 12-hour clock hour: 2 1–12; Minutes: 30 min; AM or PM: 1; Optional duration to add: 0 min; primary comparison: 2 and 30.

Your live breakdown

Current inputs in the calculation

These values come from the controls above and update when the calculator changes.

12-hour clock hour
2 1–12
Enter the hour as it appears on a 12-hour clock.
Minutes
30 min
Enter minutes from 00 to 59.
AM or PM
1
Choose AM or PM. Noon is 12 PM; midnight is 12 AM.
Optional duration to add
0 min
Optional planning duration for a class, shift, appointment or travel note.

Resulting answer

33 HHMM with 24-hour clock, decimal-hour and optional end-time checks

Military Time Calculator uses the declared inputs to produce a transparent default result. 12-hour clock hour: 2 1–12; Minutes: 30 min; AM or PM: 1; Optional duration to add: 0 min; primary comparison: 2 and 30.

Answer
33 HHMM with 24-hour clock, decimal-hour and optional end-time checks
Live support
Military Time Calculator uses the declared inputs to produce a transparent default result. 12-hour clock hour: 2 1–12; Minutes: 30 min; AM or PM: 1; Optional duration to add: 0 min; primary comparison: 2 and 30.

Assumptions used

What this answer assumes

Best for shift notes, transport and travel plans, classroom time worksheets, medical appointment cards, event schedules and any record where 2:30 PM should be written unambiguously as 1430.

  • The calculator uses ordinary civil 24-hour clock notation, displayed as military-style HHMM without a colon and as 24-hour time with a colon.
  • 12:00 AM is midnight and becomes 0000; 12:00 PM is noon and becomes 1200.
  • The AM/PM selector is stored deterministically: AM is 0 and PM is 1 behind the interface.
  • Optional duration is added after conversion and wraps after 24 hours for next-day planning notes.
  • This is a time-format conversion, not a time-zone, daylight-saving, payroll-law or official roster approval tool.

Master’s Tip

How to use the result well

Master’s Tip: print both the original 12-hour time and the military-time result when handing a note to someone else. Most mistakes happen around noon, midnight or a missing AM/PM mark, not in the minute arithmetic.

Printable record

What belongs in the saved calculation

Save the inputs, result, formula, assumptions, page URL and date together so the calculation can be reviewed later.

12-hour clock hour
2 1–12
Enter the hour as it appears on a 12-hour clock.
Minutes
30 min
Enter minutes from 00 to 59.
AM or PM
1
Choose AM or PM. Noon is 12 PM; midnight is 12 AM.
Optional duration to add
0 min
Optional planning duration for a class, shift, appointment or travel note.

Embeddable calculator

Embed this calculator

Copy a clean iframe version with the required CalculationTime attribution link built in.

Formula

If PM and hour is not 12, add 12 to the hour. If AM and hour is 12, use 00. Military time = two-digit 24-hour hour followed by two-digit minutes. Decimal hour = 24-hour hour + minutes ÷ 60. Optional end time adds duration minutes modulo 24 hours.

Worked example

For 2:30 PM, PM is selected and the hour is not 12, so 12 is added: 2 + 12 = 14. Military time is 1430, 24-hour time is 14:30, and the decimal-hour cross-check is 14 + 30 ÷ 60 = 14.5.

Professional note

Master’s Tip: print both the original 12-hour time and the military-time result when handing a note to someone else. Most mistakes happen around noon, midnight or a missing AM/PM mark, not in the minute arithmetic.

Regional and unit assumptions

Standard or basis: civil 24-hour time notation and military-style four-digit HHMM display. Use official scheduling, aviation, medical, transport or workplace systems as the authority where exact procedure, time zone or legal recordkeeping matters.

Assumptions and limitations

Methodology & Accuracy

How this calculator is checked

CalculationTime pages are built around visible arithmetic: the formula, assumptions, worked example and practical limitations are shown so the result can be checked rather than simply trusted.

Formula used

If PM and hour is not 12, add 12 to the hour. If AM and hour is 12, use 00. Military time = two-digit 24-hour hour followed by two-digit minutes. Decimal hour = 24-hour hour + minutes ÷ 60. Optional end time adds duration minutes modulo 24 hours.

Standard or basis

Standard or basis: civil 24-hour time notation and military-style four-digit HHMM display. Use official scheduling, aviation, medical, transport or workplace systems as the authority where exact procedure, time zone or legal recordkeeping matters.

Where a calculator follows a named legal, trade or industry standard, that standard is cited visibly. Otherwise the page uses transparent general arithmetic and states its limits.

Master's Tip

Master’s Tip: print both the original 12-hour time and the military-time result when handing a note to someone else. Most mistakes happen around noon, midnight or a missing AM/PM mark, not in the minute arithmetic.

Questions

How do I convert PM to military time?

For PM times from 1 PM through 11 PM, add 12 to the hour and keep the minutes. For example, 2:30 PM becomes 1430.

What is 12 AM in military time?

12:00 AM is midnight, so it becomes 0000. Times after midnight use 00 for the hour until 00:59.

What is 12 PM in military time?

12:00 PM is noon, so it stays 1200. Do not add 12 to the hour for noon.

Is military time the same as 24-hour time?

The hour logic is the same. Military-style display often removes the colon and writes four digits, such as 1430, while 24-hour clock display writes 14:30.

What should I print for a military-time record?

Print the original 12-hour time, AM/PM basis, military-time result, 24-hour clock form, optional end time, formula, assumptions, page URL, date and notes about the shift, class, trip or appointment.

Calculation note

Twenty-four-hour time reduces AM/PM ambiguity by counting hours from midnight through 23:59. Military-style HHMM keeps that same logic but writes the result as a compact four-digit record.

Why four digits help

A compact HHMM value such as 0430 or 1830 leaves less room for a missing AM or PM marker. That is useful in rosters, travel notes, classroom examples and appointment records.

Noon and midnight are the danger points

The conversion is easy once the two special cases are named. Midnight is 0000, while noon is 1200. Those two entries cause more confusion than ordinary afternoon times.

Printable records preserve the original time

A good conversion note should not show only the final military time. It should also preserve the source 12-hour time and AM/PM basis so another person can audit the result later.