🏛️ Roman Numeral Converter

Convert numbers to Roman numerals and back.

How Roman numerals are built

Seven letters carry the values: I = 1, V = 5, X = 10, L = 50, C = 100, D = 500 and M = 1000. To write a number, the tool takes the largest value that fits, again and again, using the six subtractive pairs IV (4), IX (9), XL (40), XC (90), CD (400) and CM (900). Reading works from right to left: a letter smaller than the one after it is subtracted, otherwise it is added.

Worked example

1947 is M (1000) + CM (900) + XL (40) + VII (7) = MCMXLVII. 2026 is MMXXVI. Republic Day, 26 January 1950, can be written XXVI·I·MCML.

Limits and common mistakes

Frequently Asked Questions

Why does IIII decode even though the usual form is IV?
The decoder adds and subtracts recognised numeral letters without enforcing every writing convention. It can accept nonstandard forms. Convert the decoded number back to Roman numerals to see the form this encoder produces.
What range can I convert from an ordinary number?
The number-to-Roman direction accepts whole numbers from 1 to 3999. It does not create an overbar notation for larger values, a fraction or a symbol for zero.
How can I check a year by hand?
Split it into thousands, hundreds, tens and ones. For 1947, use M for 1000, CM for 900, XL for 40 and VII for 7, giving MCMXLVII. Check subtractive pairs such as CM separately.