Skip to content

Roman Numeral Converter

Creator

Sufi Inam Ul Hassan, Founder

Reviewer

Ashna Bashir, AI/ML Engineer
Updated

Roman Numeral Converter

Enter a whole number from 1 to 3999, or a Roman numeral such as MCMXCIV.

Roman Numeral Date Converter

Accepts a numeric or Roman-numeral date, separated by -, ., \, /, |, or space.

Type a whole number or a Roman numeral into the Roman Numeral Converter above and press Convert: it detects which one it is and converts it to the other, with a step-by-step breakdown of how the symbols add up. Use it as a roman numeral generator, or as a way of converting roman numerals to numbers, covering roman numerals 1 to 3999, the numbers expressible without special notation for larger values. The Roman Numeral Date Converter below it does the same for a whole date, or any list of numbers or Roman numerals separated by -, ., \, /, |, or a space, converting every piece at once.

Nothing is uploaded anywhere: every value stays in your browser.

How the Roman numeral converter turns a number into numerals

Turning a number into Roman numerals, or reading one back the other way, always comes down to the same seven symbols and a handful of rules, no matter how large the number is. Knowing how to write Roman numerals starts with the seven roman numeral symbols themselves and the roman numeral rules for combining them. Roman numerals are built from seven symbols, each with a fixed value: I is 1, V is 5, X is 10, L is 50, C is 100, D is 500, and M is 1000. Converting a number to Roman numerals uses a greedy-subtraction algorithm: starting from the largest available value, repeatedly subtract it from the number and append its symbol, for as long as it still fits, then move on to the next-largest value. Some values are not single symbols but standard two-letter combinations that represent subtraction, such as CM for 900 (1000 minus 100) or XC for 90 (100 minus 10), which exist specifically so a value like 900 is not written as a long run of hundreds symbols.

Worked example: 1994. The full list of values, from largest to smallest, is 1000 (M), 900 (CM), 500 (D), 400 (CD), 100 (C), 90 (XC), 50 (L), 40 (XL), 10 (X), 9 (IX), 5 (V), 4 (IV), and 1 (I). Starting from 1994: 1000 fits once, leaving 994 and appending M. 900 fits once, leaving 94 and appending CM. 500, 400, and 100 do not fit into 94. 90 fits once, leaving 4 and appending XC. 50, 40, 10, 9, and 5 do not fit into 4. 4 fits once, leaving 0 and appending IV. The result, read in the order the symbols were appended, is MCMXCIV. Notice this single example uses three different subtractive pairs, CM, XC, and IV, which is exactly why 1994 is such a commonly cited example when explaining the algorithm.

How parsing works in reverse

To convert Roman numerals to numbers, or convert number to Roman numerals going the other way, the two directions on this page share the same underlying symbol table, just applied in opposite order. Converting a Roman numeral back to a number reads the symbols from left to right and applies one rule at each position: compare the current symbol's value to the value of the symbol immediately after it. If the current symbol's value is smaller than the next one's, subtract it instead of adding it; otherwise, add it as usual. Reading MCMXCIV this way: M (1000) is followed by C (100), which is not larger, so add 1000. C (100) is followed by M (1000), which is larger, so subtract 100. M (1000) is followed by X (10), not larger, so add 1000. X (10) is followed by C (100), larger, so subtract 10. C (100) is followed by I (1), not larger, so add 100. I (1) is followed by V (5), larger, so subtract 1. V (5) is the last symbol, so add 5. Adding these together: 1000 minus 100 plus 1000 minus 10 plus 100 minus 1 plus 5 equals 1994, matching the original number from the example above.

A naive version of this left-to-right rule would still add up something like "IIII" as 1 + 1 + 1 + 1 = 4, or accept nonsense strings such as "VX" as 5 (reading V, then subtracting nothing meaningful) without flagging that they are not real Roman numerals. To avoid that, this converter takes the number it computes and converts it back to a Roman numeral using the same greedy-subtraction algorithm described above, then checks that the result matches the original input exactly. "IIII" converts to the number 4, but 4 converted back to a Roman numeral is "IV", not "IIII", so the round trip fails and the input is rejected. This is why "IIII" is not considered valid modern Roman numeral notation: subtractive notation like "IV" has been the standard way to write 4 for centuries, even though repeated-symbol forms like "IIII" occasionally still appear in decorative contexts such as some clock faces.

Quick reference: symbols and subtractive pairs

Use this as a quick roman numeral chart, or roman numeral lookup, whenever you just need the symbol values rather than the full converter above. Seven symbols carry a fixed value: I is 1, V is 5, X is 10, L is 50, C is 100, D is 500, and M is 1000. Exactly six subtractive pairs cover every place a smaller symbol appears immediately before a larger one: IV (4), IX (9), XL (40), XC (90), CD (400), and CM (900). Every valid Roman numeral, no matter how long, is built from nothing more than these seven symbols and six pairs, combined by reading from the largest value down to the smallest.

Worked example: converting the current year, 2026

Turning a year into Roman numerals is one of the most common reasons people reach for a year to Roman numerals converter, whether for a birth year in Roman numerals on a gift or tattoo, or a date to Roman numerals converter for a wedding invitation or building cornerstone. Applying the same greedy-subtraction steps used above to 2026: 1000 fits twice, leaving 26 and appending MM. None of 900, 500, 400, or 100 fit into 26. 90, 50, and 40 do not fit either. 10 fits twice, leaving 6 and appending XX. 9 and 5 do not both fit; 5 fits once, leaving 1 and appending V. 4 does not fit, but 1 does, appending I. Reading the appended symbols in order gives MMXXVI, the Roman numeral for 2026.

More conversions at a glance

A few more values worth having on hand: 4 is IV, 9 is IX, 40 is XL, 90 is XC, and 88 is LXXXVIII, eight symbols long since 88 has no subtractive shortcut beyond the XC and XL already used to build its tens, and 500 is simply D. Two more that come up constantly: LX is 60, built from L (50) plus X (10) with no subtraction needed at all, and XIV Roman numerals give 14, combining X (10) with IV (4). The Roman numeral 9 is written IX rather than four I's in a row, a pattern many people look up specifically as ix in roman numerals, and the same subtractive idea is why 14 in Roman numerals is XIV rather than a longer string of repeated symbols. Every one of these leans on the L roman letter or another of the seven base symbols always meaning the same fixed value wherever it appears, 50 for L, no matter how long the full numeral around it gets.

Quick lookups for the numbers people ask about most

Two short lookups sit side by side: common numbers and years written as Roman numerals on the left, and a few numerals read back into numbers on the right.

Number to Roman numeral

Common numbers and years written as Roman numerals
NumberRoman numeral
18 in Roman numeralsXVIII
19 in Roman numeralsXIX
25 in Roman numeralsXXV
30 in Roman numeralsXXX
35 in Roman numeralsXXXV
60 in Roman numeralsLX
2025 in Roman numeralsMMXXV
2026 in Roman numeralsMMXXVI

Roman numeral to number

Common Roman numerals read back into numbers
Roman numeralValue
LX in Roman numerals60
VI in Roman numerals6
XVI in Roman numerals16
CDLXXVII477

Tips for entering values

Whether you think of this as a roman numeral calculator or a roman numeral translator online, the same input rules apply on both tabs. Case never matters: mcmxciv, McmXciv, and MCMXCIV are all read identically, since input is converted to uppercase automatically before parsing. Extra spaces typed around a Roman numeral are trimmed automatically as well. On the "Number to Roman numeral" side, only whole numbers from 1 to 3999 are accepted, so a decimal like 4.5 or a number like 4000 returns a message explaining why, rather than an incorrect or partial numeral.

Common data-entry patterns that get rejected, and why

A few Roman numeral strings look plausible but fail the validity check this converter runs, and knowing the pattern behind a rejection avoids repeated retyping. A numeral with four or more of the same symbol in a row, such as IIII or XXXX, is rejected because standard notation never repeats a symbol more than three times; the correct forms are IV and XL. A numeral that repeats V, L, or D, such as VV or LL, is rejected because those three symbols are never repeated at all, since a repeated one always has a shorter standard form (VV is just X). A numeral built around a subtractive pair that is not one of the six listed above, such as IC in an attempt to mean 99, is rejected because I is only ever allowed to subtract from V or X, never from C; 99 is correctly written XCIX (90 plus 9) instead.

Frequently asked questions

Why is there no Roman numeral for zero?

The Roman numeral system was built for counting and recording quantities, not for abstract arithmetic, so it never developed a symbol for "nothing". A concept of zero as a number in its own right came later from other numeral traditions. Because of this, this converter only accepts whole numbers of 1 or greater; there is no Roman numeral equivalent to enter for 0.

What is the largest number this converter can represent?

The largest number this converter handles is 3999, written MMMCMXCIX. Standard Roman numerals repeat M up to three times to represent thousands, so 3999 is the highest value reachable without inventing new symbols. Numbers of 4000 and above traditionally use a line (called a vinculum) drawn over a numeral to mean "multiply by 1000", which is a much less common convention and is outside the scope of this tool.

Why is "IIII" not accepted as the Roman numeral for 4?

Modern Roman numeral notation is subtractive: a smaller-value symbol placed immediately before a larger one is subtracted rather than added, so 4 is written IV (5 minus 1) instead of repeating I four times. "IIII" was used historically in some contexts, most famously on certain clock faces, but it is not standard modern notation, so this converter treats it as an invalid input rather than silently accepting it as 4.

Can a Roman numeral repeat the same symbol any number of times?

No. The symbols I, X, C and M can each repeat up to three times in a row (so III is valid but IIII is not), while V, L and D never repeat at all, since a repeated V, L or D would always have a more concise standard form (for example VV is just X). This converter checks that a Roman numeral you enter matches the single canonical way of writing its value, and rejects anything else.

Where are Roman numerals still commonly used today?

Roman numerals still show up on clock and watch faces, in the copyright years shown at the end of film and television credits, to number chapters, volumes or "part" divisions in books, for naming monarchs and popes (such as Elizabeth II or Pope Francis I), and to mark the edition of a recurring event such as the Olympic Games or a Super Bowl.

Is this converter case-sensitive?

No. Typing a Roman numeral in lowercase, such as "mcmxciv", is accepted the same as uppercase "MCMXCIV"; the input is converted to uppercase automatically before it is parsed. The converted output on the "Number to Roman numeral" side is always shown in the standard uppercase form.

Why does entering "VX" show an error instead of a number?

VX is not a recognized subtractive pattern. Subtraction in Roman numerals only works between specific pairs where the smaller symbol is no less than one-tenth the value of the larger one immediately following it, such as IV, IX, XL, XC, CD and CM. V (5) is not permitted to subtract from X (10) in that way, so a string like "VX" has no valid, unambiguous numeric meaning and is rejected.

What is MCMXCIV?

MCMXCIV is 1994. Reading left to right: M (1000) plus CM (900, since C is smaller than the M after it) plus XC (90, since X is smaller than the C after it) plus IV (4, since I is smaller than the V after it), which adds up to 1000 + 900 + 90 + 4 = 1994. This is the exact worked example used elsewhere on this page to show how the reverse-conversion side of this roman numeral translator handles a string with three different subtractive pairs at once.

What is LX in Roman numerals?

LX is 60: L is 50 and X is 10, added because the smaller symbol comes after the larger one. Look up LX Roman numerals the other way and 60 is LX, while 40 is XL because the X comes first and is subtracted.

What is CDLXXVII?

477. CD is 400 (D minus C), LXX is 70 and VII is 7, added from largest to smallest.

What is the XVI number in decimal?

16. X is 10 and VI is 6, so the XVI number is 10 + 6.

What Roman numerals multiply to 35?

V and VII, because 5 x 7 = 35, and the product itself is written XXXV. The Roman numerals that multiply to 35 have no other pair besides I and XXXV, since 35 = 1 x 35 = 5 x 7.

What is XIV in numbers?

14. X is 10 and IV is 4. The XIV roman numeral and the 14 roman numeral are the same thing written two ways.

Related tools: Binary Calculator, Date Calculator and Hours Calculator. More are grouped under Everyday Calculators, and every tool on the site is listed at all calculators.