Roman Numeral Converter

Convert numbers to roman numerals and back, both ways, as you type.

This converts numbers to Roman numerals and back, for values from 1 to 3,999.

It follows standard subtractive notation, which is the part that produces most errors.

How Roman numerals work

Roman numerals use seven letters: I = 1, V = 5, X = 10, L = 50, C = 100, D = 500, M = 1000. Values are normally written largest to smallest and added together.

The complication is subtractive notation. When a smaller value precedes a larger one, it is subtracted: IV is 4, not IIII, and IX is 9. Only six pairs are valid — IV, IX, XL, XC, CD and CM — and any other subtraction is not standard.

That is why long numerals look intimidating and are actually simple once split. MCMXCIV is M (1000) + CM (900) + XC (90) + IV (4) = 1994. Read left to right in chunks and it falls apart neatly.

MCMXCIV, split into chunks
M1000
CM900 — 100 before 1000
XC90 — 10 before 100
IV4 — 1 before 5
= 1994

Each subtractive pair is one chunk, not two separate letters. Reading them individually is what makes long numerals confusing.

What to enter

Number
From 1 to 3,999. Standard Roman numerals have no zero and no way to write larger values without extra notation.
Roman numeral
To convert back. Case is ignored, and the tool validates that the notation is standard.

The letters and the valid subtractions

I, V, X
1, 5, 10.
L, C
50, 100.
D, M
500, 1000.
The six subtractive pairs
IV (4), IX (9), XL (40), XC (90), CD (400), CM (900). No others are standard.
Maximum
MMMCMXCIX = 3,999. Beyond that needs an overline notation for thousands.

What this assumes

Standard notation allows a letter to repeat at most three times, which is why 4 is IV rather than IIII.

There is no zero and no negative numbers. The system was built for counting, not for arithmetic.

How to calculate Roman numerals

Work down from the largest value, taking as many of each as fit.

greedy: take the largest value ≤ remainder, subtract, repeat
values
1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1
subtractive pairs
Included in that list, which is why the method never produces IIII
  1. Start with the largest value that fits. For 1994: M is 1000, leaving 994.

  2. Take the next largest, including subtractive pairs. 900 fits, written CM, leaving 94.

  3. Continue down the list. 90 is XC, leaving 4. Then 4 is IV, leaving 0.

  4. Read it back to check. M + CM + XC + IV = 1000 + 900 + 90 + 4 = 1994.

See a worked example: a year, converted both ways
Number
1994

1994 − 1000 = 994, so M.

994 − 900 = 94, so CM.

94 − 90 = 4, so XC.

4 − 4 = 0, so IV. The result is MCMXCIV, and 2026 by the same method is MMXXVI.

MCMXCIV

Frequently asked questions

Problems people actually run into

Reading subtractive pairs as separate letters

In MCMXCIV, the CM is a single unit worth 900. Read as C then M it becomes 100 + 1000, and the whole answer is wrong.

Whenever a smaller letter sits before a larger one, they belong together. Chunk first, then add.

Inventing subtractions that are not valid

IL for 49 and IC for 99 look sensible and are not standard. Subtraction is only allowed with the six recognised pairs.

49 is XLIX (40 + 9) and 99 is XCIX (90 + 9). Building from the valid pairs always produces correct notation.

Results are estimates for general information only and are not professional financial, medical, or legal advice. Read our full disclaimer.

Last updated: September 4, 2026