How to Write Roman Numerals (Numbers to Roman)

Learn how Roman numerals work, the seven letters, the subtraction rule, and how to write any year. Convert numbers to Roman numerals and back.

Updated 5 min read By CodingEagles
Free tool Roman Numeral Converter Numbers to Roman numerals and back, 1 to 3999. Open tool

To write a number as a Roman numeral, break it into thousands, hundreds, tens and units, then spell each part with the seven Roman letters. So 2026 is MM (2000) + XX (20) + VI (6) = MMXXVI. The Roman numeral converter does it both ways, with validation.

That is the shape of it. Here are the rules so you can read and write any numeral with confidence.

The seven letters

Every Roman numeral is built from seven letters, each a fixed value:

LetterIVXLCDM
Value1510501005001000

You combine them to make any number from 1 to 3999.

The two rules: add and subtract

Roman numerals work mostly by adding letters from largest to smallest. So VIII is 5 + 1 + 1 + 1 = 8, and CLXII is 100 + 50 + 10 + 1 + 1 = 162.

The exception is the subtraction rule, used to avoid writing four of the same letter in a row. When a smaller letter sits directly before a larger one, it is subtracted:

  • IV is 5 − 1 = 4 (not IIII)
  • IX is 10 − 1 = 9
  • XL is 50 − 10 = 40
  • XC is 100 − 10 = 90
  • CD is 500 − 100 = 400
  • CM is 1000 − 100 = 900

Only those six subtractive pairs are valid. You never write IL or IC, for example; 49 is XLIX, not IL.

How to write any number

Work through the number from largest place to smallest:

  1. Thousands: one M per thousand (up to MMM for 3000).
  2. Hundreds: use C, CD, D, CM as needed.
  3. Tens: use X, XL, L, XC.
  4. Units: use I, IV, V, IX.

Worked example, 1994:

  • 1000 → M
  • 900 → CM
  • 90 → XC
  • 4 → IV

Put together: MCMXCIV. The Roman numeral converter does this instantly and checks that a numeral you type is valid.

Reading a numeral back

To read one, scan left to right and add each letter, unless a letter is smaller than the one after it, in which case subtract it. So MMXXVI is 1000 + 1000 + 10 + 10 + 5 + 1 = 2026.

Why the limit is 3999

Standard numerals stop at 3999 because there is no single letter beyond M for a thousand. Larger values once used an overline above a letter to multiply it by a thousand, but plain text cannot show that, so most converters, including this one, cover 1 to 3999. There is also no symbol for zero, since the Romans had no need for one.

To explore how other number systems work, see how to convert binary to decimal.

Frequently asked questions

What are the seven Roman numeral letters?
I is 1, V is 5, X is 10, L is 50, C is 100, D is 500 and M is 1000. Every Roman numeral is built from these seven letters, added up left to right, with a subtraction rule for 4s and 9s.
How do I write 2026 in Roman numerals?
MMXXVI. That is 1000 + 1000 (MM) + 10 + 10 (XX) + 5 + 1 (VI). The converter writes any year from 1 to 3999 and reads numerals back to numbers.
Why do Roman numerals stop at 3999?
There is no single letter for 5000 or more, so standard numerals reach their limit at 3999 (MMMCMXCIX). Larger numbers historically used an overline to multiply a letter by a thousand, which plain text cannot show.

Ready to try it?

Numbers to Roman numerals and back, 1 to 3999. Free, in-browser, and 100% private — your data never leaves your device.

Open the Roman Numeral Converter