Account

What new tool do you want?

Math & Education

Roman Numeral Converter

Convert numbers to Roman numerals and Roman numerals back to numbers (1–3,999), with validation of properly formed numerals.

How to use

  1. 1Type a number (1–3999) or a Roman numeral like MMXXVI.
  2. 2The direction is detected automatically.

How it's calculated

Symbols I 1, V 5, X 10, L 50, C 100, D 500, M 1000; a smaller symbol before a larger one is subtracted (IV = 4, XC = 90, CM = 900).

Frequently asked questions

Why do Roman numerals stop at 3,999?

Standard numerals don't repeat a symbol more than three times, and 4,000 would need MMMM or an overline notation for thousands.

Is IIII ever correct?

Clock faces traditionally use IIII for 4, but standard notation is IV.

How do I write years?

Break the year into thousands, hundreds, tens and units: 2026 = MM + XX + VI = MMXXVI.

It's subtraction, not just a symbol list

Most of a Roman numeral just adds symbols left to right (III = 3, VII = 7), but six pairs — IV, IX, XL, XC, CD, CM — work by placing a smaller symbol before a larger one to subtract it, which is why 1994 is MCMXCIV (1000 + (1000−100) + (100−10) + (5−1)) rather than a run of nine Cs and Is. The converter reads this directly: when a symbol's value is smaller than the one after it, it's subtracted instead of added.

Why 3,999 is the practical ceiling

Standard Roman numerals never repeat a symbol more than three times in a row, which caps M at MMM (3,000) — there's no single symbol for 5,000 without resorting to an overline notation that most fonts and keyboards can't produce. So 1 through 3,999 is the range this tool (and virtually every Roman numeral converter) supports; beyond that you're into non-standard territory.

Catching numerals that look right but aren't

Converting a numeral back to a number and validating it isn't just pattern-matching the letters — the tool computes the value (fromRoman) and then re-renders that value in canonical form (toRoman) to check it matches what you typed. That's how it catches something like IIII (a numeral some clock faces use for 4, but non-standard) and suggests IV instead, rather than accepting any string that happens to use valid letters.

mcmxciv works, and 3,999 with a comma does not

Whatever you type is trimmed, and letters are read as capitals. A box of only digits is a number from 1 to 3,999, written with the standard symbols, largest first. Anything else has to be only the letters I, V, X, L, C, D, and M. That is why mcmxciv becomes 1994, and why 3,999, 1.5, and IV 4 all fail. A comma, a decimal point, or a space is neither a plain number nor a plain Roman numeral. 0 and 4000 are refused because they sit outside 1 to 3,999. Leading zeros still count as digits, so 0004 becomes IV.

IC adds up to 99 and is still rejected

A smaller symbol placed before a larger one is subtracted, and that rule is applied to every pair, not only the six standard ones. IC is read as 100 minus 1, which is 99. VV is read as 5 plus 5, which is 10. The result is then written in standard form and compared with what you typed. 99 is XCIX and 10 is X, so neither input is kept. The message names the form to use: IC isn't a standard Roman numeral (did you mean XCIX?), and VV is told to use X. The only subtractive pairs this converter will write are CM, CD, XC, XL, IX, and IV. An illegal pair can be added up, and it still will not match the standard spelling of that number.

Related tools

More: Math & Education