🏛️ Roman Numeral Converter

Convert a number from 1 to 3999 to Roman numerals, or convert a Roman numeral back to a number.

Thirteen values, taken largest first

Going out to Roman, the converter repeatedly subtracts the biggest value that still fits, from a table that includes the six subtractive pairs:

M 1000  CM 900  D 500  CD 400  C 100  XC 90  L 50
XL 40   X 10    IX 9   V 5     IV 4   I 1

1994 becomes M (1000), then CM (900), then XC (90), then IV (4): MCMXCIV. Coming back the other way, each letter is added unless a larger one follows it, in which case it is subtracted - the C in CM counts as -100.

Why some numerals are rejected

After reading a numeral the tool re-encodes the total and compares it with what you typed. If the two differ, the input is refused even though it could be read. That catches the loose forms that turn up in the wild:

The range is 1 to 3999. Romans had no zero and no negative numbers, and 4000 would need MMMM or an overbar for thousands, neither of which this converter writes.

Frequently asked questions

How do you write 2026 in Roman numerals?

MMXXVI - two thousands, two tens, a five and a one. Film copyright lines and building dates use this form.

Why is 4 written IV and not IIII?

The subtractive pair IV is the standard form and the only one this tool accepts. IIII survives on clock faces, where it balances the VIII opposite it, but it is not well-formed.

What is MCMXCIV?

1994. Read it as 1000 + (1000 - 100) + (100 - 10) + (5 - 1), which is the year that turns up most often in Roman numeral puzzles.