Roman Numeral Converter (Both Ways, 1 to 3999)
Roman Numeral Converter
Type a number and get the numeral; paste a numeral and get the number. The card splits the answer into its place values, each one as a numeral and as a number — 1994 is M + CM + XC + IV, which is 1000 + 900 + 90 + 4 — and refuses anything that is not strict classic form, because IIII is not four and IC is not ninety-nine. All 3,999 numerals from I to MMMCMXCIX are covered, and nothing above 3,999 is faked: that needs an overline, which plain text cannot draw.
Number to numeral, numeral to number
1994, the year on a film copyright — and MCMXCIV read back the other way
Four place values, three letters each
- place value
- Each decimal digit has exactly one classic spelling in its place: 0 nothing, 1–3 the unit letter repeated, 4 unit before five, 5 the five letter, 6–8 five then the unit repeated, 9 unit before ten. Substitute I V X for the ones, X L C for the tens and C D M for the hundreds and you have the whole system.
- the six pairs
- IV 4, IX 9, XL 40, XC 90, CD 400, CM 900. Only I, X and C are ever subtracted, and only from the next two letters up. That closed list is what makes IC, IL, IM, XD and VX invalid rather than merely unusual.
- round trip
- A numeral you type is converted to a number and then written back out. It is accepted only if the result is character-for-character what you typed. One rule, no rule list to fall out of step with the spelling, and it rejects IIII (which does sum to 4) and IC (which does sum to 99) for exactly the right reason: neither is how 4 and 99 are written.
- MMMCMXCIX
- M is the largest letter and it repeats at most three times, so MMMCMXCIX is the largest number expressible. Above it Rome used a vinculum (an overline, meaning times one thousand) or the apostrophus (CIↃ for 1,000, IↃↃ for 5,000). An overline is not a character, so this page explains them and converts neither.
- no zero
- The notation has no place-holder and no sign. Roman accounting did use duodecimal fractions with their own marks — an uncia for a twelfth — but they are a separate notation, not part of the letters, and nothing here represents them.
Worked example
1994, the year on a film copyright — and MCMXCIV read back the other way
Split 1994 into its place values: 1000 + 900 + 90 + 4.
Write each place with its own letters: 1000 is M, 900 is CM, 90 is XC, 4 is IV.
Join them, largest first: M + CM + XC + IV = MCMXCIV, seven symbols, three of the four place values written as a subtractive pair.
Going the other way, MCMXCIV is read as 1000 + (1000 − 100) + (100 − 10) + (5 − 1) = 1994, and the page checks that answer by writing 1994 back out and comparing.
The near misses are instructive. MDCCCCLXXXXIIII sums to 1994 as well, and is refused: four C, four X and four I are all past the three-in-a-row limit, and the subtractive pairs exist precisely to avoid them.
The thirteen building blocks, and nothing else
| Value | Written | Kind | Why |
|---|---|---|---|
| 1,000 | M | additive | One thousand. The largest letter there is, and the reason the system stops at 3,999. |
| 900 | CM | subtractive | C before M subtracts: 1000 − 100. This is why 1900 is MCM and not DCCCC. |
| 500 | D | additive | Five hundred. Never repeated — DD would be M. |
| 400 | CD | subtractive | C before D subtracts: 500 − 100. |
| 100 | C | additive | One hundred. Repeatable up to three times. |
| 90 | XC | subtractive | X before C subtracts: 100 − 10. |
| 50 | L | additive | Fifty. Never repeated — LL would be C. |
| 40 | XL | subtractive | X before L subtracts: 50 − 10. |
| 10 | X | additive | Ten. Repeatable up to three times. |
| 9 | IX | subtractive | I before X subtracts: 10 − 1. |
| 5 | V | additive | Five. Never repeated — VV would be X. |
| 4 | IV | subtractive | I before V subtracts: 5 − 1. The form a clock face traditionally breaks. |
| 1 | I | additive | One. Repeatable up to three times. |
Every digit, in every place
| Digit | Thousands | Hundreds | Tens | Ones |
|---|---|---|---|---|
| 0 | — | — | — | |
| 1 | M | C | X | I |
| 2 | MM | CC | XX | II |
| 3 | MMM | CCC | XXX | III |
| 4 | — | CD | XL | IV |
| 5 | — | D | L | V |
| 6 | — | DC | LX | VI |
| 7 | — | DCC | LXX | VII |
| 8 | — | DCCC | LXXX | VIII |
| 9 | — | CM | XC | IX |
Years people actually look up
| Year | Numeral | Pieces | Values |
|---|---|---|---|
| 1066 | MLXVI | M + LX + VI | 1,000 + 60 + 6 |
| 1215 | MCCXV | M + CC + X + V | 1,000 + 200 + 10 + 5 |
| 1492 | MCDXCII | M + CD + XC + II | 1,000 + 400 + 90 + 2 |
| 1607 | MDCVII | M + DC + VII | 1,000 + 600 + 7 |
| 1776 | MDCCLXXVI | M + DCC + LXX + VI | 1,000 + 700 + 70 + 6 |
| 1789 | MDCCLXXXIX | M + DCC + LXXX + IX | 1,000 + 700 + 80 + 9 |
| 1888 | MDCCCLXXXVIII | M + DCCC + LXXX + VIII | 1,000 + 800 + 80 + 8 |
| 1900 | MCM | M + CM | 1,000 + 900 |
| 1901 | MCMI | M + CM + I | 1,000 + 900 + 1 |
| 1939 | MCMXXXIX | M + CM + XXX + IX | 1,000 + 900 + 30 + 9 |
| 1945 | MCMXLV | M + CM + XL + V | 1,000 + 900 + 40 + 5 |
| 1969 | MCMLXIX | M + CM + LX + IX | 1,000 + 900 + 60 + 9 |
| 1984 | MCMLXXXIV | M + CM + LXXX + IV | 1,000 + 900 + 80 + 4 |
| 1994 | MCMXCIV | M + CM + XC + IV | 1,000 + 900 + 90 + 4 |
| 1999 | MCMXCIX | M + CM + XC + IX | 1,000 + 900 + 90 + 9 |
| 2000 | MM | MM | 2,000 |
| 2001 | MMI | MM + I | 2,000 + 1 |
| 2012 | MMXII | MM + X + II | 2,000 + 10 + 2 |
| 2024 | MMXXIV | MM + XX + IV | 2,000 + 20 + 4 |
| 2025 | MMXXV | MM + XX + V | 2,000 + 20 + 5 |
| 2026 | MMXXVI | MM + XX + VI | 2,000 + 20 + 6 |
The current decade
| Year | Numeral | Symbols | Subtractive pairs |
|---|---|---|---|
| 2020 | MMXX | 4 | 0 |
| 2021 | MMXXI | 5 | 0 |
| 2022 | MMXXII | 6 | 0 |
| 2023 | MMXXIII | 7 | 0 |
| 2024 | MMXXIV | 6 | 1 |
| 2025 | MMXXV | 5 | 0 |
| 2026 | MMXXVI | 6 | 0 |
| 2027 | MMXXVII | 7 | 0 |
| 2028 | MMXXVIII | 8 | 0 |
| 2029 | MMXXIX | 6 | 1 |
| 2030 | MMXXX | 5 | 0 |
Refused forms, what they look like they mean, and what is correct
| Refused | Naive sum | Correct form | Why it is refused |
|---|---|---|---|
| IIII | 4 | IV | Four I in a row. I, X, C and M repeat at most three times; V, L and D never repeat at all. |
| VIIII | 9 | IX | Same rule, one letter later. |
| VV | 10 | X | V never repeats. Two fives is X. |
| LL | 100 | C | L never repeats. Two fifties is C. |
| DD | 1,000 | M | D never repeats. Two five-hundreds is M. |
| XXXX | 40 | XL | Four X in a row. |
| CCCC | 400 | CD | Four C in a row. |
| MMMM | 4,000 | no numeral exists | There is no letter above M, so the fourth one has nothing to collapse into. This is the ceiling. |
| IC | 99 | XCIX | I may only be placed before V and X. Ninety-nine is built from XC and IX. |
| IL | 49 | XLIX | I may only be placed before V and X. |
| IM | 999 | CMXCIX | I may only be placed before V and X. |
| XD | 490 | CDXC | X may only be placed before L and C. |
| XM | 990 | CMXC | X may only be placed before L and C. |
| VX | 5 | V | Only I, X and C are ever subtracted. V, L and D never are. |
| LC | 50 | L | Only I, X and C are ever subtracted. |
| DM | 500 | D | Only I, X and C are ever subtracted. |
| IVI | 5 | V | A subtractive pair is finished: nothing of the same letter may follow it. |
| VIV | 9 | IX | Nine is IX, one pair, not V plus IV. |
| IIX | 10 | X | Only one letter is ever subtracted, never two. |
| IXI | 10 | X | A subtractive pair may not be reopened. |
Why IIII is not four
Roman numerals are a positional system wearing letters. That is not how they are usually taught, and it is the fastest way to learn them. Break the number into thousands, hundreds, tens and ones; write each place with its own three letters — I V X for the ones, X L C for the tens, C D M for the hundreds, M alone for the thousands; then join the pieces largest first. The nine shapes are identical in every place: 1, 2, 3 repeat the unit; 4 is the unit before the five; 5 is the five; 6, 7, 8 are the five followed by repeats; 9 is the unit before the ten. 1994 is 1000 + 900 + 90 + 4, which is M + CM + XC + IV, and no step of that needs memorising a list.
IIII sums to four and is still not four. This is the objection everybody has, and it deserves a straight answer rather than a rule quoted at it. The strict classic form allows I, X, C and M to repeat at most three times and V, L and D not at all, and it allows exactly six subtractive pairs: IV, IX, XL, XC, CD, CM. IIII breaks the first rule; IC and IL and IM break the second, because I is only ever subtracted from V and X. The point of those limits is uniqueness: with them, every number from 1 to 3,999 has exactly one spelling and every legal string means exactly one number. Without them, 1994 could be written MDCCCCLXXXXIIII or MCMXCIV or a dozen things in between, and a converter could not tell you that your input was wrong because nothing would be.
The clock faces are real, and they are not a counter-example. Public clocks, tower dials and a great many watches have used IIII for four for centuries, usually beside a correct IX for nine. The usual explanations are visual — IIII balances VIII on the opposite side of the dial, and four identical strokes read faster at a distance than a subtractive pair — and the practice is old enough that no one needs to defend it. It is a typographic convention on dials, not an alternative arithmetic, and the same dial almost never writes XXXX for forty. A converter that accepted IIII would have to accept VIIII, XXXX and MDCCCCLXXXXIIII too, and would then be unable to tell a reader that IC is a mistake.
Validation here is a round trip, not a rulebook. When you paste a numeral, the page reads it as a number and then writes that number back out in strict form. If the result is not character-for-character what you typed, the input is refused. That single test enforces every rule at once — the repeat limits, the six legal pairs, the ordering — and it cannot drift out of step with the spelling the page produces, which a hand-written list of rules eventually would. It is also why the refusal is trustworthy: the page is not applying an opinion about your input, it is showing that your input is not what that number looks like.
3,999 is a real ceiling, not a limit of this page. M is the largest letter and it repeats at most three times, so MMMCMXCIX is the largest number the plain letters express. Rome had answers: a vinculum, an overline over a letter multiplying it by a thousand, so an overlined V is 5,000 and an overlined X is 10,000; and the apostrophus, where CIↃ is 1,000 and IↃↃ is 5,000. Neither survives into plain text — an overline is a typographic mark, not a character, and there is no honest way to write it in an input box or a headline. So this page explains both and implements neither, which is better than a half-feature that renders as MMMM or as V with a stray hyphen.
There is no zero and there are no negatives. The system has no place-holder — that is exactly what the positional decimal system brought, and why arithmetic in Roman numerals is so awkward — and no sign. A year 0 does not exist in this notation any more than it does in the Julian calendar. Roman accounting did use fractions, in twelfths, with their own marks, but they are a different notation from the letters and nothing on this page represents them. If you entered 0, a negative number or a decimal, the card refuses it and says why rather than rounding to something.
Some numbers about the numbers. There are exactly 3,999 numerals, one per value from 1 to 3,999, and they are all distinct. 2,047 of them need no subtractive pair at all; 1,536 use one, 384 use two, and 32 use all three places subtractively. The longest is 3,888 — MMMDCCCLXXXVIII — at 15 symbols, and it is the only 15-symbol numeral; the shortest are the seven single letters. 999 values need no M at all. Every one of those figures, and every numeral on this page, was generated from the place-value tables above and then checked by converting it back.
Frequently asked questions
What is 1994 in Roman numerals?
MCMXCIV. It is 1000 + 900 + 90 + 4, written M + CM + XC + IV — seven symbols, and three of the four places use a subtractive pair. The long additive spelling MDCCCCLXXXXIIII adds up to 1994 as well and is not valid classic form.
What is XIV in numbers?
14. X is ten and IV is four, so ten plus four. Paste it into the second box and the page reports 14 as the first figure under the headline. Case and spaces do not matter: xiv and X IV both read as 14.
Why is IIII wrong if it adds up to four?
Because strict classic form allows a letter to repeat at most three times, and four is written IV. The restriction exists so that each number has exactly one spelling — without it, 1994 has several, and no converter could ever tell you that an input was a mistake. IIII on a clock dial is a genuine and very old decorative convention, not a second correct arithmetic.
Why is IC not 99?
Because I is only ever subtracted from V and X. There are exactly six subtractive pairs — IV, IX, XL, XC, CD, CM — and IC, IL, IM, XD and XM are not among them. Ninety-nine is XCIX: ninety as XC, nine as IX.
What is the largest Roman numeral?
MMMCMXCIX, which is 3,999. M is the largest letter and it repeats at most three times, so that is the end of the plain notation. For larger numbers Rome used a vinculum — an overline meaning times a thousand — or the apostrophus. An overline is not a text character, so this page explains them rather than pretending to write them.
Is there a Roman numeral for zero?
No. The system has no place-holder and no symbol for nothing; medieval scribes writing in Latin used the word nulla where a zero was needed. There are no negative numerals and no fractional ones either, which is why this page refuses 0, −5 and 1.5 instead of rounding them.
Does case matter, or spaces?
No. The page upper-cases what you type and ignores whitespace, so mcmxciv, MCMXCIV and MCM XCIV all read as 1994. What it will not do is relax the spelling rules: a lower-case iiii is refused exactly as IIII is.
What is 2026 in Roman numerals?
MMXXVI. Every year from 2000 to 2999 opens MM, so only the tail changes: MMXXV, MMXXVI, MMXXVII. The longest year of this decade is MMXXVIII, at 8 symbols.
Why does the card go blank when I mistype a numeral?
Because the calculator answers only when every box holds something it can read, and a numeral it cannot read is refused rather than guessed. Fix the numeral — or clear it back to a valid one — and the card returns. The message names the usual culprits: IIII, VV, IC and MMMM.
Related calculators
References
- Wikipedia, Roman numerals (read 30 September 2026), for the history of the standard subtractive form and its variants: the repeat limits, the six subtractive pairs, the vinculum (an overline multiplying by one thousand) and the apostrophus (CIↃ for 1,000, IↃↃ for 5,000), and the long-standing use of IIII on clock and watch dials alongside IX. It is explicit that the strict form is a modern regularisation of a notation that was used inconsistently for centuries — MCMXCIV and MDCCCCLXXXXIIII are both attested shapes — which is the honest framing for a page that refuses one of them.
- The Unicode Standard, Number Forms block (U+2150–U+218F), which encodes Ⅰ Ⅴ Ⅹ Ⅼ Ⅽ Ⅾ Ⅿ and their lower-case forms as compatibility characters, present for round-tripping legacy East Asian encodings rather than as the normal way to write a Roman numeral. Cited, not reproduced: the block is the Consortium’s copyrighted work. This page follows that advice — it emits Latin M, D, C, L, X, V and I, and it refuses the single-character forms on input rather than silently normalising them, so a numeral pasted from a document that uses them is reported as unreadable instead of half-understood.
- The arithmetic on this page is not quoted from anywhere. All 3,999 numerals, the symbol counts, the subtractive-pair counts and every table cell were generated from the four place-value tables shown above, and then verified two ways: each numeral was parsed back to its number, and the whole domain was cross-checked against the calculator engine’s own independent greedy algorithm. Every malformed form in the refused-forms table was put through the same parser the page ships.
Unit definitions vary by region and manufacturer. Where a spread exists we show it. For food safety, follow your national authority's current guidance. Full disclaimer at calcengines.com/disclaimer/
