Roman Numeral Converter

Convert between numbers and Roman numerals.

Roman numeral
MMXXIV

How to Use the Roman Numeral Calculator

  1. Choose your conversion direction: select **Number → Roman Numeral** to encode, or **Roman Numeral → Number** to decode.
  2. Enter your value: type an integer between 1 and 3,999 in the number field, or type a valid Roman numeral string (e.g., XLII) in the Roman numeral field.
  3. Click **Convert** (or press Enter) to see the result instantly.
  4. Review the step-by-step breakdown displayed below the result to understand which symbols were used and why.
  5. Copy the result to your clipboard using the copy icon if you need to paste it elsewhere.

How Roman Numeral Conversion Works

N = Σ (value_i × count_i)  where each value_i is chosen greedily from the table: M=1000, CM=900, D=500, CD=400, C=100, XC=90, L=50, XL=40, X=10, IX=9, V=5, IV=4, I=1

Roman numerals are built by mapping integers to a fixed set of symbol values and then greedily subtracting the largest possible symbol value at each step. Seven base symbols plus six subtractive pairs cover all integers from 1 to 3,999.

Conversion algorithm (integer → Roman numeral):

  1. Start with the integer N and an empty result string.
  2. Work through the value–symbol table from largest to smallest.
  3. While N ≥ current value, append the corresponding symbol to the result and subtract that value from N.
  4. Move to the next smaller value and repeat until N = 0.

Decoding algorithm (Roman numeral → integer):

  1. Read the string left to right.
  2. If the current symbol's value is less than the next symbol's value, subtract it; otherwise add it.
  3. Sum all adjusted values to obtain the integer.
  • N — The Arabic integer being converted (valid range: 1 – 3,999).
  • value_i — The decimal value of the i-th Roman numeral symbol or subtractive pair selected during the greedy pass (e.g., M=1000, CM=900, D=500, CD=400, C=100, XC=90, L=50, XL=40, X=10, IX=9, V=5, IV=4, I=1).
  • count_i — The number of times symbol i is appended to the result string before moving to the next smaller value.
  • Σ — Summation over all selected symbol–count pairs; the total must equal the original integer N.

Worked Example: Convert 2024 to Roman Numerals

N = 2024
2024 ÷ M(1000): fits twice → MM, remainder 24
24 ÷ X(10): fits twice → XX, remainder 4
4 ÷ IV(4): fits once → IV, remainder 0
Result string: MM + XX + IV = MMXXIV

Result: 2024 = MMXXIV

What Your Result Means

The number 2024 is written as MMXXIV in Roman numerals. Two M symbols account for 2000, two X symbols add 20, and the subtractive pair IV represents 4. No D, C, L, or other symbols are needed because 2024 contains no hundreds, no fifties, and no fives. You can verify by decoding: M+M+X+X+I(subtracted before V) = 1000+1000+10+10+(5−1) = 2024 ✓

Understanding Roman Numeral

A Brief History of Roman Numerals

Roman numerals originated in ancient Rome and were the dominant numeral system in Europe throughout the Middle Ages. They are derived from earlier Etruscan symbols and use letters from the Latin alphabet: I, V, X, L, C, D, and M.

The Seven Core Symbols

| Symbol | Value | |--------|-------| | I | 1 | | V | 5 | | X | 10 | | L | 50 | | C | 100 | | D | 500 | | M | 1000 |

Subtractive Notation

The classical system uses six subtractive pairs to avoid four-character repetition:

  • IV = 4 (not IIII)
  • IX = 9 (not VIIII)
  • XL = 40, XC = 90
  • CD = 400, CM = 900

Only I, X, and C may be used subtractively, and only before the next two higher denominations.

Range and Limitations

Standard Roman numerals represent integers 1 through 3,999. Numbers ≥ 4,000 historically required a vinculum (overline) to multiply by 1,000, but this is rarely used today. Zero and negative numbers have no representation in the classical system.

Modern Uses

Roman numerals appear on clock and watch faces, in film and TV copyright years, for naming monarchs and popes (e.g., Elizabeth II, Pope John Paul II), book chapters, Super Bowl numbering, and formal outlines.

Common Mistakes

  • **Writing IIII instead of IV** — The subtractive rule requires IV for 4 and IX for 9; IIII is non-standard in most modern conventions.
  • **Repeating V, L, or D** — The symbols V, L, and D can never be repeated; only I, X, C, and M may repeat (up to three times in standard notation).
  • **Wrong subtractive order** — Only subtract I before V or X, X before L or C, and C before D or M. Writing IC for 99 or VX for 5 is incorrect; the correct forms are XCIX and V respectively.
  • **Entering 0 or a negative number** — Roman numerals have no zero or negative representation; the valid range is 1–3,999.
  • **Mixing cases inconsistently** — Roman numerals are conventionally written in all uppercase. Lowercase (i, v, x…) is sometimes used for sub-sections but should not be mixed with uppercase in the same expression.

Common Questions About Roman Numeral

What year is MCMXCIX in regular numbers?

MCMXCIX = M(1000) + CM(900) + XC(90) + IX(9) = **1999**.

How do you write 2025 in Roman numerals?

2025 = MM(2000) + XX(20) + V(5) = **MMXXV**.

What does the Roman numeral XLII mean?

XL = 40, II = 2, so XLII = **42**.

How do you write 100 in Roman numerals?

100 is simply **C**, from the Latin word *centum* (hundred).

What Roman numeral represents 500?

500 is represented by **D**, derived from the Latin *quingenti* or from the Etruscan symbol for 500.

Frequently Asked Questions

What is the largest number a standard Roman numeral can represent?

The standard Roman numeral system represents integers up to **3,999** (MMMCMXCIX). Numbers 4,000 and above require non-standard extensions such as a vinculum (bar over a symbol) to multiply its value by 1,000.

How do I write the number 4 in Roman numerals?

The number 4 is written **IV** — the subtractive notation where I (1) placed before V (5) means 5 − 1 = 4. Writing IIII is technically non-standard in modern usage, though it appears on some clock faces.

Is there a Roman numeral for zero?

No. The Roman system has no symbol for zero. The concept of zero as a number was developed independently in India and later popularized through Arabic mathematics, which is why our modern digits are called Arabic numerals.

Can Roman numerals represent fractions or decimals?

Classical Roman numerals represent only positive integers. The Romans did use a separate duodecimal fraction system based on the *uncia* for practical measurements, but it is not part of the standard numeral conversion used today.

Why do some clock faces show IIII instead of IV?

The use of IIII on clock faces is a long-standing tradition thought to date from the 14th century. Theories include visual balance (IIII mirrors VIII on the opposite side), ease of casting symmetrical moulds, or simply a royal preference. Both forms are considered acceptable on timepieces.

Related Calculators

Sources

Only sources that have been reviewed are shown. Unverified citations are never published.

Spotted a calculation error?Report an Error