---
slug: roman-numeral-converter
title: "Roman Numeral Converter"
category: math
updated: 2026-11-17
canonical: https://calcseed.com/c/math/roman-numeral-converter/
html: /c/math/roman-numeral-converter/
---

# Roman Numeral Converter

Convert a number from 1 to 3999 into Roman numerals. Free and instant.

## Formula

```text
2024 = MMXXIV    (2000 + 20 + 4)
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Number | number |  | 2024 |

## Outputs

| Result | Format |
| --- | --- |
| Roman numeral | primary |
| Roman numeral | text |

## How it works

### What this converter does

Enter a whole number from 1 to 3,999 and the converter writes it in standard Roman numerals. At the default, 2024 becomes MMXXIV. The output follows the classical rules exactly: seven symbols, additive reading left to right, and the six subtractive pairs that replace four-of-a-kind.

### The seven symbols

Roman numerals are built from seven letters, each with a fixed value: I (1), V (5), X (10), L (50), C (100), D (500) and M (1,000). Read a string left to right and add the values, but when a smaller symbol precedes a larger one, subtract the smaller instead. That single exception is the whole grammar of the system.

Repetition carries its own rules. I, X, C and M may repeat up to three times in a row — XXX is 30 — but never four. V, L and D may not repeat at all, because doubling them would just reproduce the next symbol up: VV would be 10, which is already X. This is why every value from 1 to 3,999 has exactly one correct spelling, and the converter always returns that canonical form.

#### Worked example: converting 2,024

The algorithm is greedy: repeatedly subtract the largest value that fits and write its symbol. Two thousands fit, so write MM and 24 remains. No hundreds of any kind fit in 24, but two tens do, so write XX and 4 remains. Four is not IIII — the subtractive pair IV applies — so write IV. The string MMXXIV reads back as 1,000 + 1,000 + 10 + 10 + (5 − 1) = 2,024, matching the converter.

### Conversions at a glance

| Number | Roman numeral | Breakdown |
| --- | --- | --- |
| 1 | I | Single unit |
| 4 | IV | 5 − 1 |
| 9 | IX | 10 − 1 |
| 40 | XL | 50 − 10 |
| 90 | XC | 100 − 10 |
| 400 | CD | 500 − 100 |
| 900 | CM | 1,000 − 100 |
| 1987 | MCMLXXXVII | 1,000 + 900 + 50 + 30 + 7 |
| 3999 | MMMCMXCIX | 3,000 + 900 + 90 + 9 |

The 1,987 row shows the machinery at full stretch: M covers the thousands, CM handles 900 as one unit, then L, XXX and VII mop up 87. The 3,999 row is the ceiling of the system — three Ms, then the three largest subtractive pairs — and every valid numeral from I to MMMCMXCIX uses only these moves.

#### The subtractive rule and its limits

Subtraction exists to avoid four identical symbols in a row, and it applies to exactly six pairs: IV, IX, XL, XC, CD and CM. Each smaller symbol may precede only its next two larger neighbors, so 99 is XCIX, never IC. V, L and D are never subtracted from anything, and a subtractive pair counts as one unit — you cannot stack IIV to mean 3.

#### Reading a numeral back to a number

The reverse conversion walks the string in the same direction with a running total. Take MMDXLV: start with MM for 2,000. The next symbol D is smaller than nothing ahead of it, so it adds 500. Then X adds 10, but L follows the X and is larger, so the X subtracts instead — the pair XL contributes 40 rather than 60. Finally V adds 5, and the total lands on 2,545. A single left-to-right scan with one lookahead handles any valid numeral, which is how textbook exercises and parsing code both approach it.

### Why the range stops at 3,999

Classical notation has no symbol above M and no way to write 4,000 without repetition tricks the rules forbid. Roman writers handled larger numbers with an overline called vinculum, multiplying the value by 1,000, but that notation never became standardized enough for everyday conversion. The practical ceiling is therefore MMMCMXCIX, and the converter clamps anything above it.

Zero is absent for the same historical reason: the system counts quantities, not positions, and nothing has no numeral. That absence is one reason medieval Europe eventually adopted the Hindu-Arabic digits with their place-value zero, which arithmetic finds far easier to work with — try multiplying MMXXIV by XLIV by hand and the advantage becomes obvious.

### Where Roman numerals still appear in 2026

The system survives in formal and decorative niches. The Super Bowl numbered LX in early 2026 — 60 — and the year appears as MMXXVI in copyright lines of films and books. Clock faces traditionally show four as IIII rather than IV, a watchmaking convention rather than a rule violation, and outlines, monarch names (Charles III), building cornerstones and annual events all use the same seven letters.

### Common mistakes

- Writing IC or XM for 99 or 990; only the six standard pairs subtract, so 99 is XCIX
- Repeating V, L or D; these symbols never double, unlike I, X, C and M
- Stacking four of a kind: IIII is nonstandard outside clock faces, and 4 is IV
- Putting the subtractive symbol after instead of before: VI is 6, IV is 4
- Trying to convert 0 or negative numbers; the classical system starts at I

A reading check catches most errors instantly. Total the string with the subtraction rule applied, then compare against the intended number: MCMLXXXVII should total 1,987, and if your tally lands elsewhere, one pair is reading additively that should subtract.

## FAQ

### How do I convert a number to Roman numerals?

Repeatedly subtract the largest value that fits and write its symbol, using the pairs IV, IX, XL, XC, CD and CM where needed. For 2,024 that runs MM, then XX, then IV, giving MMXXIV.

### What is 2024 in Roman numerals?

MMXXIV: two Ms for 2,000, XX for 20 and IV for 4. The 4 must use the subtractive pair, since IIII is nonstandard.

### Why does the converter stop at 3,999?

Classical notation has no symbol above M and forbids four-of-a-kind, so 3,999 (MMMCMXCIX) is the last number expressible under the standard rules.

### What is 0 in Roman numerals?

Nothing. The Roman system has no zero symbol, which is why the converter accepts inputs from 1 upward.

### What is 1987 in Roman numerals?

MCMLXXXVII: M (1,000) + CM (900) + L (50) + XXX (30) + VII (7). Tallying it back gives 1,987.

### Why do clocks show IIII instead of IV?

It is a watchmaking tradition, not an arithmetic rule. Most dials use IIII for visual balance, while every other numeral follows standard form.

### How do you write 99?

XCIX, built as XC (90) + IX (9). Writing IC is a common error because subtraction only pairs a symbol with its next one or two larger neighbors.

### What is the largest Roman numeral?

MMMCMXCIX, which is 3,999. It uses the maximum three Ms allowed and all three hundreds-and-tens subtractive pairs at once.

### How do I read a long numeral like MCMLXXXVII?

Scan left to right and subtract whenever a smaller symbol precedes a larger one: 1,000 + 900 + 50 + 10 + 10 + 10 + 5 + 1 + 1 = 1,987.

## Method and sources

Methodology: Results follow exact mathematical definitions; the arithmetic is deterministic and can be verified by hand from the steps shown.

Last updated: 2026-11-17.
- Standard Roman numeral notation with subtractive pairs IV, IX, XL, XC, CD, CM.
