Z

Roman Numeral Converter

Convert numbers to Roman numerals and back (1–3999), instantly in your browser.

Runs in your browser — files never leave your device

MCMXCIV

1994

How it works

Convert in both directions, live: type a number from 1 to 3999 to get its Roman numeral, or type a numeral to get the number back. 1994 converts to MCMXCIV, and typing MCMXCIV — or mcmxciv, case doesn’t matter — returns 1994.

Number-to-numeral conversion walks a value table greedily from the largest symbol down, using the six standard subtractive pairs — CM (900), CD (400), XC (90), XL (40), IX (9), and IV (4) — alongside M, D, C, L, X, V, and I. That always yields the canonical form: 1994 decomposes as M + CM + XC + IV, that is 1000 + 900 + 90 + 4. The subtractive pairs are why 49 is XLIX (40 + 9) rather than the invalid shortcut IL, and why 444 is CDXLIV. The year 2026 comes out as MMXXVI. Decimal input is floored first, so 3.7 converts as 3, giving III.

Numeral-to-number conversion scans left to right with one rule: a symbol smaller than the one after it subtracts, anything else adds. For MCMXCIV that runs M adds 1000, C before M subtracts 100, M adds 1000, X before C subtracts 10, C adds 100, I before V subtracts 1, V adds 5 — total 1994. The reader is deliberately lenient: it accepts additive forms like IIII (read as 4, as seen on many clock faces) even though the tool always emits the standard IV when converting the other way. Any character outside I, V, X, L, C, D, and M clears the result.

The 1–3999 range is a property of the notation itself: standard Roman numerals have no zero, no negatives, and no symbol larger than M (1000), and conventional style repeats a symbol at most three times — making MMMCMXCIX (3999) the largest standard numeral. Bigger values historically used an overline multiplying by 1,000, which plain text can’t express, so out-of-range input simply produces no output. Handy for copyright years in film credits, clock faces, outline and chapter numbering, monument inscriptions, and Super Bowl numerals.

Frequently asked questions

Why is the range limited to 1–3999?
Standard Roman notation has no zero, no negative numbers, and no symbol larger than M (1000), and conventional style repeats a symbol at most three times — so MMMCMXCIX, 3999, is the largest number it can express. Romans wrote larger values with an overline (a bar multiplying the value by 1,000), which plain text can’t reproduce. Inputs of 0, 4000, or beyond therefore return no result.
How does subtractive notation work?
Exactly six pairs are used: IV (4), IX (9), XL (40), XC (90), CD (400), and CM (900) — a smaller symbol placed before a larger one subtracts. That’s why 49 is XLIX (40 + 9) and not the shortcut IL, and why 1994 is MCMXCIV: M + CM + XC + IV, or 1000 + 900 + 90 + 4. The converter always produces this canonical form.
Will it read non-standard numerals like IIII?
Yes — the reader is lenient and evaluates any sequence of valid symbols with the subtraction rule, so IIII is read as 4 even though the standard form is IV. That mirrors real-world usage: many clock faces traditionally show IIII. Converting numbers to numerals, however, always emits the strict standard form.
Is input case-sensitive?
No. Lowercase input is uppercased before parsing, so mcmxciv converts to 1994 just like MCMXCIV. Only the seven symbols I, V, X, L, C, D, and M are valid — any other character clears the result.
What about zero, fractions, or decimals?
Roman numerals have no zero — medieval scribes wrote the word “nulla” instead — and the tool doesn’t emit fraction symbols. Decimal input is floored to a whole number first, so 3.7 converts as 3, giving III; an input of 0 returns nothing.
Is my input uploaded anywhere?
No — conversion runs entirely in your browser. Nothing is uploaded, logged, or stored.