Enter a whole number from 1 to 3999 and the converter returns the standard Roman numeral; enter a Roman numeral and it returns the integer. The system uses seven letters (I, V, X, L, C, D, M) plus six subtractive pairs (IV, IX, XL, XC, CD, CM). Both directions enforce the canonical form: only one-place-lower subtraction is permitted, no letter repeats more than three times, and there is no representation for zero or negative numbers. Common modern uses include movie copyright dates, monarch numbering, book chapter headings, and clock faces. To find the day-of-week for a year you have just converted, use the weekday calculator.
Common use cases
- Reading a movie copyright date. Hollywood title cards still print copyright years in Roman numerals to slow down casual readers. Paste the string from the end credits (MMXXIV, MCMXCIX, MMXIX) into the Roman-to-number field to see the release year as a regular integer. The converter rejects malformed inputs, so a typo in the credits will surface as an error rather than a silent wrong answer.
- Numbering chapters or section headings. Books, legal contracts, and academic outlines often use Roman numerals for top-level sections (I, II, III, IV) and Arabic numerals for sub-sections. Enter a chapter number to get its numeral; enter a numeral from a table of contents to confirm the integer position. The 1 to 3999 range covers any realistic outline depth.
- Reading a monarch or pope name. Louis XIV, Henry VIII, Elizabeth II, Pope John Paul II — the trailing numerals identify which holder of a recurring regnal name a source means. Enter the numeral after the name to see the position. The converter handles the full historical range; even Louis XVIII (18) and the highest practical regnal numbers stay well inside the 3999 cap.
- Setting a clock face or sundial label. Traditional clock faces use I through XII, with IIII often substituted for IV by convention even though IV is the canonical form. The converter returns the canonical IV; if you are reproducing a historical clock, the IIII variant is a stylistic choice rather than a math error. The same convention applies to sundial gnomon labels and antique pocket watches.
- Checking a year on a building cornerstone. Cornerstones, statues, and monuments commonly carve the construction year in Roman numerals (MDCCCLXXVI, MCMXIV, MMV). Type the string into the Roman-to-number field to get the integer year. From there you can plug the year into the leap-year checker to confirm February counts for that year.
How it works
Number-to-numeral conversion walks a fixed table of value-letter pairs from largest to smallest (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), repeatedly subtracting the next pair that fits and appending its letters. The reverse direction parses the string against the same table and then re-encodes the integer to confirm the input matched the canonical form, rejecting non-canonical strings such as IIII or MIM. Inputs outside 1 to 3999 are rejected.
Worked examples
Current year
Enter the number 2026.
Result: 2026 converts to MMXXVI.
Read as M (1000) + M (1000) + X (10) + X (10) + V (5) + I (1) = 2026. No subtractive pair is needed because each digit position resolves with simple additive letters.
Round thousand
Enter the number 1000.
Result: 1000 converts to M.
The single letter M represents one thousand. The largest single-letter value is M, which is why the system caps at MMM (3000); to write 4000 in standard Roman numerals you would have to repeat M four times, which the canonical rules forbid.
Subtractive notation
Enter the number 1999.
Result: 1999 converts to MCMXCIX.
Three subtractive pairs stack: M (1000) + CM (900) + XC (90) + IX (9). The shorter MIM is rejected because subtractive pairs only allow the next-lower letter pair (I before V or X, X before L or C, C before D or M). I cannot stand in front of M.
Reverse direction
Enter the Roman numeral MMXXIV.
Result: MMXXIV converts to 2024.
Read as M + M + X + X + IV = 1000 + 1000 + 10 + 10 + 4 = 2024. The parser walks the same value table and totals the matched pairs, then re-encodes 2024 and checks that the result equals the input, which catches non-canonical spellings.
The maximum value
Enter the number 3999.
Result: 3999 converts to MMMCMXCIX.
MMM (3000) + CM (900) + XC (90) + IX (9) = 3999. This is the largest integer expressible in standard Roman numerals, since MMMM (4000) would repeat M four times. Historical Romans used a vinculum (overline) to multiply a letter by 1000, but the converter does not implement that notation.
Edge cases & gotchas
- Zero and negative numbers are rejected. There is no Roman numeral for zero. The Romans had no positional zero in their numbering system at all; the concept entered Western mathematics via Arabic numerals roughly a thousand years after the Roman empire. Negative numbers are also rejected. Both inputs return the validation message rather than a numeral. If you need to subtract two Roman-numbered years, convert each to an integer first.
- Numbers above 3999 are rejected. Standard Roman numerals top out at MMMCMXCIX (3999) because the canonical rules forbid repeating any letter four times. Historical Romans solved larger values with a vinculum (a horizontal line above a letter, multiplying it by 1000) and Unicode includes the characters for that system, but the converter does not accept either notation. To express 4000 or higher you have to use Arabic numerals.
- Non-canonical input is rejected. MIM, IIII, VV, and IC all decode arithmetically to real numbers (1999, 4, 10, 99) but break the canonical rules: subtractive pairs are limited to one-place-lower letters, no letter repeats more than three times, and V/L/D never repeat at all. The parser re-encodes the parsed total back to a numeral and rejects the input if the round-trip does not match. Submit MCMXCIX, IV, X, or XCIX instead.
- Whitespace and case are normalised. Input is trimmed and uppercased before parsing, so " mmxxiv ", "MMXXIV", and "MmXxIv" all decode to 2024. Letters outside the seven Roman characters (I, V, X, L, C, D, M) cause an immediate parse failure. The converter does not handle Greek or Cyrillic look-alikes; copy from a plain-text source rather than a stylised PDF.
Frequently asked questions about Roman Numeral Converter
Why do movie credits use Roman numerals for the year?
The convention dates to early Hollywood and survived because it slows down casual readers trying to identify a film as old or new. The MPA copyright registration form has historically accepted Roman numerals in the year field, and the practice stuck. Modern releases often still mark the copyright year as MMXXIV or similar at the end of the credits, even when the rest of the title card uses Arabic numerals.
Why is 4 sometimes written IIII on clock faces?
Clock faces traditionally use IIII rather than IV for the four-hour mark. The reasons are debated: visual symmetry with VIII opposite, easier engraving on metal dials, or a tradition predating the standardisation of subtractive notation in the Middle Ages. The canonical Roman numeral is IV, which is what the converter returns. IIII is a clockmaking convention rather than a math rule.
Why does the converter stop at 3999?
Standard Roman numerals forbid repeating any letter four times, and the largest letter is M (1000). MMM is 3000, MMMCMXCIX is 3999, and MMMM (4000) is non-canonical. Historical Romans extended the system with a vinculum (an overline that multiplied the letter by 1000), and Unicode includes characters for that notation, but the modern standard form caps at 3999.
Why is MIM not accepted for 1999?
Subtractive notation only allows a letter to subtract from the next two higher letters: I from V or X, X from L or C, C from D or M. I cannot subtract from M because they are six positions apart in the value table. The canonical form is MCMXCIX (1000 + 900 + 90 + 9). The parser rejects MIM because re-encoding 1999 produces MCMXCIX, not MIM.
Did the Romans actually write numbers this way?
Roughly, but not exactly. Classical Roman inscriptions often used additive forms (IIII for 4, VIIII for 9) and irregular spacing. The strict subtractive rules and the canonical M, D, C, L, X, V, I letter set were standardised during the Middle Ages, long after the Western Roman empire fell. The form the converter implements is the medieval canonical form, which is what modern style guides expect.
How is zero represented?
It is not. The Roman number system has no symbol for zero. The Romans had no positional notation either, so they did not need a zero placeholder the way Arabic numerals do. The concept of zero entered Europe through Arabic mathematics in the High Middle Ages and gradually displaced Roman numerals for arithmetic. The converter rejects 0 because there is no canonical answer to return.
Is the answer affected by my time zone?
No. Roman numeral conversion is pure integer arithmetic with no time-of-day, date, or calendar component. A user in any time zone gets the same numeral for the same number, and the same number for the same numeral. The tool runs entirely in the browser once loaded; no server call is made for either direction of conversion.
Glossary
- Roman numeral
- A number written using the seven letters I (1), V (5), X (10), L (50), C (100), D (500), and M (1000), combined by addition and limited subtraction. Standard form covers integers from 1 to 3999.
- Subtractive pair
- A two-letter combination where a smaller letter precedes a larger one to indicate subtraction: IV (4), IX (9), XL (40), XC (90), CD (400), CM (900). Only one-place-lower subtraction is canonical.
- Canonical form
- The unique Roman numeral spelling produced by greedy subtraction from the standard value table. The converter rejects non-canonical spellings (IIII, MIM, VV) by round-tripping through the encoder.
- Vinculum
- A horizontal line over a Roman letter that historically multiplied its value by 1000, used to write numbers above 3999. Unicode includes characters for the vinculum notation but the converter does not accept them.
- Additive notation
- A pre-medieval Roman convention where four was written IIII rather than IV, nine was VIIII rather than IX. Some clock faces still use IIII for visual reasons even though the canonical form is IV.