Roman Numeral Converter: Numbers to Roman and Back
Heading to the field? Install this site from your browser menu and this tool works with no signal. See how
Roman Numeral Converter
Numbers to Roman numerals and back, using the standard subtractive rules. Anything that is not a valid numeral is rejected rather than quietly guessed at, so you can trust a result that comes back.
Jump to a common number
Numbers either side
| Number | Roman numeral | Broken down |
|---|
Every row and chip is a live link you can bookmark or share.
How to use this tool
Type a number in the left box or a numeral in the right box. Whichever you touch, the other follows. The breakdown underneath shows which symbols were used and what each is worth, which is the part that actually teaches you to read them rather than just look them up.
If you type something that is not a valid numeral the tool says so rather than producing a number anyway. That matters more than it sounds, because most online converters will happily accept IIII and hand back a four, which hides the mistake instead of catching it.
The rules, in the order they matter
There are seven symbols. I is one, V is five, X is ten, L is fifty, C is a hundred, D is five hundred and M is a thousand. Everything else follows from four rules.
Write symbols largest first and add them up. So MDCLXVI is 1000 plus 500 plus 100 plus 50 plus 10 plus 5 plus 1, which is 1666, and it happens to use every symbol exactly once in descending order.
Repeat a symbol at most three times. III is three, IIII is not four. This is the rule that forces the subtractive pairs to exist.
When a smaller symbol comes before a larger one, subtract it. There are exactly six legal pairs: IV is four, IX is nine, XL is forty, XC is ninety, CD is four hundred and CM is nine hundred. No others are allowed. IM is not a thousand less one, and IC is not ninety nine.
Only I, X and C can be subtracted, and only from the next two symbols up. That is why V, L and D never appear before a larger symbol, and why they are never repeated either. Two fives would just be a ten.
Why the system stops at 3999
M is the largest symbol, and you may write at most three of them. That caps the standard system at MMMCMXCIX, which is 3999. There is no MMMM.
The Romans did have a way past this. A bar written over a numeral, called a vinculum, multiplied it by a thousand, so a barred V was five thousand. That notation cannot be typed in ordinary text, which is why virtually every converter, including this one, stops at 3999 rather than inventing something.
A worked check you can repeat on paper
Take 1994. Start with the thousands: one M leaves 994. Nine hundred cannot be written as DCCCC because that repeats C four times, so use the subtractive pair CM, leaving 94. Ninety is likewise XC rather than LXXXX, leaving 4. Four is IV. Put them together and you have MCMXCIV.
Read it back to check. M is 1000. CM is 900 because C comes before M. XC is 90. IV is 4. Total 1994. The three subtractive pairs in a row are what make this year a common example.
Mistakes that catch people out
Writing IIII for four. It appears on clock faces, and that is a genuine typographic tradition rather than correct notation. Clockmakers used it for visual balance against the VIII opposite. In writing, four is IV.
Inventing subtractive pairs. IM, IC and VC look plausible and none of them are valid. Only I, X and C subtract, and only from the next two symbols up.
Repeating V, L or D. VV is not ten, it is a mistake. Those three symbols appear at most once in any numeral, because doubling them always produces a value that already has its own symbol.
Expecting a zero. There is no Roman symbol for nothing. The system counts rather than places, so it never needed one, which is also why arithmetic in Roman numerals is so unpleasant.
Numbers in Roman numerals
The numbers people look up most, including every year in recent memory. Each opens the converter on that value with its own address.
How this was checked
The converter was round tripped across the entire range. Every number from 1 to 3999 was converted to a numeral and parsed back, and all 3999 returned the original value. That is the strongest test available here, because it would catch any symbol table error or any greedy matching mistake immediately.
The parser was then tested on things it should refuse: IIII, VV, XXXX, IM, IC, VX, non letters and an empty box. All eight were rejected. The mechanism is worth explaining, because it is simple and it is what most converters skip. After parsing a numeral to a number, the tool converts that number back to a numeral and checks it matches what you typed. If it does not, the input was not canonical and it is refused. That single check enforces every rule at once without needing a separate rule engine.
Range guards were checked separately: zero, 4000 and a fractional number are all refused rather than producing nonsense.
Related Calculators and Reference
See also the Number to Words Converter for writing the same number out in English rather than Roman symbols.
- Decimal to Fraction Converter for another way of writing a number that does not use place value.
- Significant Figures and Rounding Calculator for deciding how many digits a number should carry.
- Scientific and Engineering Notation Converter for numbers far outside the Roman range.
- Percentage Calculator for everyday arithmetic that Roman numerals make almost impossible.
- Morse Code Translator: turn text into Morse code and play it back.
