Roman Numeral Converter
Convert between Roman numerals and decimal numbers (1-3999).
Convert a number to Roman numerals
Whole numbers from 1 to 3999.
2024 in Roman numerals
MMXXIV
- Decimal
- 2024
- Length
- 6 symbols
How we calculated it
- 1Use M × 22000 → MM (remainder 24)
- 2Use X × 220 → XX (remainder 4)
- 3Use IV4 → IV (remainder 0)
Roman numeral reference
I, V, X
I = 1 · V = 5 · X = 10
VIII is 5 + 1 + 1 + 1 = 8.
L, C, D, M
L = 50 · C = 100 · D = 500 · M = 1000
MD is 1000 + 500 = 1500.
Subtractive pairs
IV IX XL XC CD CM
IV is 5 − 1 = 4; XC is 100 − 10 = 90; CM is 1000 − 100 = 900.
Greedy conversion
take the largest symbol ≤ remainder
1994 → M (1000) + CM (900) + XC (90) + IV (4) = MCMXCIV.
About This Tool
Switch between decimal and Roman with dedicated modes. Convert any whole number from 1 to 3999 with a step-by-step greedy breakdown, or parse standard Roman numerals with validation. Includes a reference for symbols and subtractive pairs, plus sample chips and one-click swap between directions.
Frequently asked questions
What range of numbers can I convert?
Standard classical Roman numerals cover 1 to 3999. Zero and numbers at 4000 or above need overlines or other extensions that this tool does not use.
What is subtractive notation?
When a smaller symbol comes before a larger one, you subtract. IV is 4 (5 − 1), IX is 9, XL is 40, XC is 90, CD is 400 and CM is 900. Only these pairs are allowed in standard form.
Why is IIII invalid but IV valid?
Classical rules prefer subtractive pairs over four repeats of the same symbol (IIII, XXXX, etc.). This converter accepts the standard forms used in most textbooks and clocks that follow the same rule.
Does letter case matter?
No. Input is normalised to uppercase. You can type xiv or XIV.
What does the swap button do?
It switches conversion direction and, when the current result is valid, carries that result into the other mode so you can round-trip check a value.
Is conversion done on a server?
No. Everything runs in your browser; the numbers never leave your device.