Roman Numeral Converter
Convert Roman numerals to numbers and back using the standard subtractive rules, with why the system has no zero and no easy way past 3,999.
Writing IV instead of IIII saves exactly a sixth
Subtractive notation — IV for four, IX for nine, XL for forty — is the part of the system that trips people up, and it is easy to assume it is decoration. It is not. Writing every number from 1 to 3,999 both ways and counting the characters settles what it buys.
| Notation | Total characters | Average per number | Longest numeral |
|---|---|---|---|
| Subtractive (IV, IX, XL…) | 30,000 | 7.50 | 3888 = MMMDCCCLXXXVIII (15) |
| Purely additive (IIII, VIIII…) | 36,000 | 9.00 | 3999 = MMMDCCCCLXXXXVIIII (18) |
36,000 characters against 30,000 is a saving of 6,000 — exactly one sixth, which is a suspiciously round number for something nobody designed. It is not a coincidence, and the decomposition is exact. Subtraction applies to six values, and across 1 to 3,999 each of the six is used exactly 400 times. They do not all save the same amount: IIII → IV saves two characters, but VIIII → IX saves three, because the additive form has to spell out the V as well. Three pairs saving two and three saving three is 15 characters per set of six, and 400 × 15 = 6,000 — the entire difference, with nothing left over.
The worst case improves as well. The longest numeral you can be asked to write is
3888 = MMMDCCCLXXXVIII, at
15 characters — note that it is not the largest
number. 3999 is 9 characters, because 900 and 90 and 9 each
compress to two. Additively the worst case is 3999, at
MMMDCCCCLXXXXVIIII, 18 characters long.
Worth knowing: subtractive notation was never universal in Rome. IIII appears on plenty of inscriptions, and still does on most clock faces. The sixth it saves was a choice rather than a rule of the language, not a correctness rule — so the tool above writes either notation and reads both, and tells you which one you have typed rather than refusing the older one.
Why it stops at 3,999, and why there is no zero
M is the largest symbol and no symbol may repeat more than three times, so 3,999 is the ceiling — MMM is three thousand and there is no fourth M available. Four thousand is not hard to write; it is unwritable without inventing notation. The overbar meaning "times a thousand" is a later convention layered on top, not part of the system, which is why converters almost universally stop where this one does.
The missing zero is a better story, because it is not an oversight. A positional system needs a symbol for "nothing in this column" — without it you cannot tell 12 from 102. Roman numerals have no columns: each symbol carries its full value wherever it appears, so MCX means the same whatever order you read it in. A system with no columns has no empty columns to mark, and nothing is simply nothing written. Zero as a number arrived later and separately from zero as a placeholder, and the Romans needed neither.
One last oddity, which turns up only if you count. The lengths are not merely roughly balanced — they are exactly symmetric. 7 numerals are one character long and 7 are fourteen; 691 need seven and 691 need eight; every length from 1 to 14 has precisely as many numerals as its mirror at 15 − n. That accounts for 3,998 of the 3,999, and the one left over is 3888, alone at fifteen characters.
The single-character end of that symmetry is easy to see — there are seven numerals of length one because there are seven symbols, and nothing else can be shorter than two. That the fourteen-character end matches it exactly is measured rather than obvious, and it holds for every pair in between.
How to use
- Type a number or a Roman numeral into either box.
- Invalid numerals are rejected rather than guessed at.
- Check the breakdown to see how the numeral is built.
- Use the table for years, clock faces and chapter numbers.
Frequently asked questions
What are the seven symbols?
I is 1, V is 5, X is 10, L is 50, C is 100, D is 500 and M is 1,000. Every Roman numeral is built from these, with no others in standard use.
How does subtractive notation work?
A smaller symbol before a larger one is subtracted: IV is 4, IX is 9, XL is 40, XC is 90, CD is 400 and CM is 900. Only those six pairs are valid — I before V or X, X before L or C, and C before D or M. IL for 49 is not correct; XLIX is.
Why is there no zero?
Because the system counts rather than positions. Roman numerals are additive symbols, not place values, so there is no empty column needing a placeholder. Zero as a number entered European mathematics much later, by way of Indian and Arabic scholarship.
What is the largest number you can write?
3,999 — MMMCMXCIX — using standard notation, since writing 4,000 would need four Ms. Larger values used a vinculum, a bar over a numeral multiplying it by a thousand, but that convention is rarely supported and rarely needed.
Why do clock faces use IIII instead of IV?
Nobody is certain. The usual explanations are visual balance against the VIII opposite it, easier casting of moulds when the numerals are struck rather than painted, and a reluctance to put the first letters of Jupiter's name on a clock. IIII on clocks long predates any of these explanations.
Where are Roman numerals still used?
Monarchs and popes, film copyright dates, Super Bowls, book prefaces, clock faces, and the outline levels of formal documents. In each case the appeal is that they look weightier and older than digits, which is essentially the only remaining function.
🔒 This tool runs entirely in your browser. Nothing you enter is uploaded, logged, or stored.