How to calculate military time
PM hours: military = hour + 12 · 12 AM = 0000
Worked example. Military time: 1830 hours.
Example inputs — Time: 18:30. Starting values are illustrative.
From George Guju, founder of Calculyn · Educational calculator guidance, not professional advice.
How it works
Military time counts hours from 00 to 23, so there's no need for AM or PM. For afternoon times, add 12 to the hour.
Assumptions & limitations
- Results are rounded for display.
Formula and assumptions reviewed October 2026 by the Calculyn team. How we build our calculators
Frequently asked questions
Is midnight 0000 or 2400?
Usually 0000, marking the start of the day. 2400 is sometimes used to mark the end of a day.
