How to convert a number to Roman numerals (and back)
- Type or paste one value into Value to convert, for example a year such as 1987.
- Pick the conversion in the Direction list: "Number → Roman" for 1987 → MCMLXXXVII, or "Roman → Number" to read a numeral such as XLII.
- The result appears in Converted value as you type. It also updates as soon as you change the direction, and the "Convert" button runs the conversion again by hand.
- If the input doesn't fit the chosen direction, you'll see the message "Invalid input for the selected direction." and the output field stays empty. Check the direction first: a number typed in "Roman → Number" mode is rejected.
- Press Copy result to put the output on the clipboard.
- Press Clear to empty the field before you enter the next value.
The "Characters" counter in the results panel shows how long the output is. This helps when space is limited, such as on an engraving, a tattoo or a fixed-width design.
Worked examples
| Input | Direction | Result |
|---|---|---|
1987 |
Number → Roman | MCMLXXXVII |
1999 |
Number → Roman | MCMXCIX |
3888 |
Number → Roman | MMMDCCCLXXXVIII (15 characters, the longest in the range) |
mcmxc |
Roman → Number | 1990 |
XLII |
Roman → Number | 42 |
To read a numeral, split it into thousands, hundreds, tens and units, then add the groups. For MCMXCIX that is:
M = 1000
CM = 900
XC = 90
IX = 9
---------------
MCMXCIX = 1999
Where Roman numerals still turn up
- Copyright years in film and TV credits: "MCMXCIV" at the end of a 1990s film is 1994. Switch to "Roman → Number" and paste it.
- Clock and watch faces: most dials use IIII for four, but the converter only reads IV.
- Monarchs, popes and events: Louis XIV, Super Bowl LVIII, the XXXIII Olympiad. Paste only the numeral (XIV, LVIII, XXXIII), not the name around it.
- Book front matter and outlines: pages numbered i, ii, iii… and sections numbered IV or IX. Lowercase input is accepted.
- Dates on cornerstones, invitations and tattoos: convert the day, month and year separately. The tool takes one whole number at a time, so July 14, 2026 (or 14 July 2026) takes three conversions: XIV, VII, MMXXVI.
If the next step is a different base, for example the same year in binary or hexadecimal, use the Number Base Converter. To work out how many years have passed since a date you've just decoded, use Date Difference.
Limits and inputs that are rejected
- The range is 1 to 3999. Classical numerals have no symbol for zero. Anything from 4000 up needs a bar over the letter (vinculum, ×1000), which this converter doesn't produce or accept, so 0 and 4000 both produce the error message.
- Only whole digits are accepted in "Number → Roman" mode.
12.5,-7and1,000with a thousands separator are rejected. Spaces around the value and leading zeros are ignored, so0049gives XLIX. - Numerals must be in standard form. Each symbol repeats at most three times, and only the six standard subtractive pairs (IV, IX, XL, XC, CD, CM) are allowed. So
IIII,VX,IC,IIXandMIM(a shortcut sometimes used for 1999) are all rejected. Write 1999 as MCMXCIX. - One value per conversion. With several lines in the field, such as a list of years, the whole input is treated as one value and rejected. Convert the values one at a time.