Convert decimal numbers to Roman numerals (1 to 3,999) and Roman numerals to decimal with subtractive notation rule breakdowns.
Type a number or Roman numeral above to convert.
A movie enthusiast reading the copyright date on film end credits translates MCMLXXXIV into decimal year 1984. A historian reading an inscription on a Roman monument deciphering MDCCLXXVI identifies year 1776. A clockmaker assembling a grandfather clock face formats hours 1 through 12 using traditional Roman numerals I, II, III, IV, V, VI, VII, VIII, IX, X, XI, XII.
Roman numerals are an ancient additive and subtractive numeral system originating in ancient Rome. Unlike positional decimal notation, Roman numerals use seven capital Latin letters to represent fixed numerical values: I (1), V (5), X (10), L (50), C (100), D (500), M (1000).
In standard Roman numeral notation, symbols are listed from largest to smallest value and added together (e.g. VI = 5 + 1 = 6). To avoid repeating four identical symbols in a row (such as IIII or XXXX), subtractive notation places a smaller symbol before a larger one to denote subtraction (e.g. IV = 5 - 1 = 4, IX = 10 - 1 = 9). This converter converts bi-directionally between decimal integers (1 to 3,999) and valid Roman numerals. The following guide covers subtractive rules, historical origins, and modern applications.
When a decimal number or Roman string is entered, the engine executes mapping algorithms enforcing standard subtractive notation rules.
1. Decimal to Roman Mapping Table:
The engine iterates through a sorted lookup array of value-symbol pairs:
1000 â M, 900 â CM, 500 â D, 400 â CD, 100 â C, 90 â XC, 50 â L, 40 â XL, 10 â X, 9 â IX, 5 â V, 4 â IV, 1 â I.
2. Roman to Decimal Parsing Algorithm:
Read symbols left-to-right:
If the current symbol's value is less than the next symbol's value (e.g., I (1) before V (5)), subtract the current symbol: Total -= 1.
Otherwise, add the current symbol: Total += Current.
3. Subtractive Rules & Constraints:
- I can only precede V and X (producing 4 and 9).
- X can only precede L and C (producing 40 and 90).
- C can only precede D and M (producing 400 and 900).
- V, L, and D are never repeated or subtracted.
Copyright dates and film credits. Motion picture studios format copyright release years in movie credits using Roman numerals (e.g. MMXXVI = 2026).
Clock faces and watchmaking. Luxury watches and grandfather clocks use Roman numerals for hour markers.
Super Bowl and major sporting event numbering. The NFL numbers annual Super Bowl championship games using Roman numerals (e.g. Super Bowl LVIII = 58).
Book outlines, chapter headings, and prefaces. Academic books use lowercase Roman numerals (i, ii, iii, iv) for preface page numbers and uppercase Roman numerals for major volume section titles.
Type into either the Decimal box or Roman Numeral box. The opposite field updates instantly as you type.
Note that standard Roman numerals support values from 1 to 3,999 (MMMCMXCIX). Entering 0 or negative numbers will trigger a validation alert.
For converting between binary, octal, decimal, and hexadecimal bases, use our Number Base Converter.
The conversion engine executes client-side in JavaScript using greedy lookup table reductions and regular expression syntax validation. Conversions evaluate in under 1 millisecond.
| Symbol | Decimal Value | Subtractive Form | Subtractive Value |
|---|---|---|---|
| I | 1 | IV / IX | 4 / 9 |
| V | 5 | â | â |
| X | 10 | XL / XC | 40 / 90 |
| L | 50 | â | â |
| C | 100 | CD / CM | 400 / 900 |
| D | 500 | â | â |
| M | 1000 | â | â |
Subtractive notation (IV = 5 - 1 = 4) was adopted to shorten text inscriptions and save stone-carving space. However, some clock faces still use IIII for visual balance opposite VIII (8).
Roman numerals have no symbol for zero. Roman mathematicians used the word nulla (meaning "none") when recording zero values.
2026 is written as MMXXVI (2000 + 20 + 6).
Number Base Converter â Converts numbers between binary, octal, decimal, and hex.
Percentage Calculator â Calculates percentage changes, discounts, and averages.
Prime Number Checker â Tests whether an integer is prime.