Roman Numerals Converter (number ↔ Roman, I–MMMCMXCIX)
Free Roman numerals converter — type a number to get the Roman form, or a Roman numeral to get the number. Validates subtractive notation (IV, IX, XL, XC, CD, CM).
Switch between “Number to Roman” and “Roman to number” and type the value. The Roman direction takes any whole number from 1 to 3999; the reverse accepts any properly-formed Roman numeral in the same range.
How the math works
For number → Roman the algorithm is a simple greedy decomposition: walk
through the value table in descending order — [1000=M, 900=CM, 500=D, …, 4=IV, 1=I] — and emit the symbol as many times as it fits.
For Roman → number the algorithm reads left to right: a smaller letter followed by a larger one is subtracted; otherwise it’s added. So MCMXCIV is M (1000) + CM (900) + XC (90) + IV (4) = 1994.
What counts as valid
Valid input follows these rules:
- Only the seven letters: I, V, X, L, C, D, M (or lowercase — the calculator normalizes case).
- Each repeating letter (I, X, C, M) appears at most three times in a row. Four-in-a-row (IIII, XXXX, CCCC, MMMM) is rejected.
- V, L, D never repeat — they appear at most once.
- The only subtractive pairs are IV, IX, XL, XC, CD, CM. Pairs like IL, IC, VX, LC, DM are invalid.
The calculator enforces these implicitly by converting your input back to Roman with the canonical greedy algorithm and rejecting anything that doesn’t round-trip.
What was 0 for the Romans?
Nothing — Roman mathematics had no symbol for zero. (The Latin word nulla, “none”, was used in late-medieval calendars when a column needed to read “no entry”, but it wasn’t an arithmetic numeral.) The modern zero digit arrived in Europe via Arabic translations of Indian mathematics in the 12th century. That’s why every “valid Roman numeral” the calculator accepts is positive: there is no Roman zero to be tolerant of.
Why not 4000+?
To express 4000+ you need the vinculum: a horizontal overline that multiplies the underlying letter by 1000 (so V̄ = 5,000, M̄ = 1,000,000). This calculator doesn’t support it, because the rendering is medium-specific (an overline doesn’t survive plain text well) and the practical demand is nearly nil — every movie credit, every clock face, every Super Bowl number fits comfortably under 3999.
Worked examples
-
2024 in Roman numerals
2,024 in Roman numerals is MMXXIV.
-
1994 — a year you've seen on movie credits
1,994 in Roman numerals is MCMXCIV.
-
MMXXIV back to a number
MMXXIV is 2,024.
-
MCMXCIV back to a number
MCMXCIV is 1,994.
Frequently asked questions
What numbers can be expressed?
**1 to 3999.** The Romans did not have a numeral for zero, and numbers ≥ 4000 require non-standard notation (a vinculum — a horizontal bar over a letter to multiply it by 1000) that this calculator doesn't accept. The 1–3999 range is what modern usage (movie credits, watch dials, monarch numbering) actually needs.
Why does the calculator reject IIII?
Modern Roman numeral convention uses **subtractive notation**: IV, IX, XL, XC, CD, CM. Writing 4 as IIII or 9 as VIIII is *historically* attested (some clock faces still do it for visual balance), but it's not canonical and tools that accept both lead to ambiguity. The calculator enforces canonical form by round-tripping: it parses your input, re-serializes it, and rejects the value if the two don't match.
What are the subtractive pairs?
Only six are valid: **IV** (4), **IX** (9), **XL** (40), **XC** (90), **CD** (400), **CM** (900). Anything else (IL, IC, VX, LC) is invalid — a smaller letter can only subtract from one of the next two larger letters in the sequence I → V → X → L → C → D → M.
How does the algorithm work?
Left to right, single pass. Look at each letter and the one after it: if the current letter is smaller than the next, subtract it; otherwise add it. So MCMXCIV is M (+1000) + CM (−100 + 1000 = +900) + XC (−10 + 100 = +90) + IV (−1 + 5 = +4) = 1994. The validation comes from a second pass: convert the parsed number back to Roman with the canonical greedy algorithm and check it matches the input.
Where are Roman numerals still used?
Movie credits (year of release), clock and watch faces, book chapter titles, monarch and pope names (Elizabeth II, Pope Francis I), Super Bowl numbering, outline headings (I, II, III), and academic citation styles. Knowing how to read a four-digit Roman year is the practical floor — recognizing MCMXCIX as 1999 reads the year off a tombstone or a building cornerstone.
Related calculators
Fraction Calculator
Free fraction calculator — add, subtract, multiply or divide two fractions. The result is shown in lowest terms with the decimal value. Works in your browser.
MathPercentage Calculator
Free percentage calculator — find X% of a number, work out what percent one number is of another, or calculate a percentage increase or decrease. Instant, works in your browser, no sign-up.