About this tool
This converter turns whole numbers from 1 to 3999 into Roman numerals and reads standard Roman numerals back as numbers. It helps with dates on buildings and films, book chapters, outlines, clock faces, event names and tattoos. Roman numerals write numbers with the letters I (1), V (5), X (10), L (50), C (100), D (500) and M (1000), adding values left to right and subtracting a smaller value placed before a larger one.
How it works
Choose a direction, Number to Roman or Roman to Number, and type your value. The result appears as you type, and an error message explains why an input is out of range or not a standard numeral. Input is case-insensitive, so mmxxvi and MMXXVI both read as 2026.
The converter uses canonical subtractive notation without overbars, the form used on modern clock faces aside from IIII, in film credits and in book front matter. Changing direction carries the current valid result into the input, which makes it easy to double-check a conversion by running it back the other way.
Example
To write 1994, split it into place values: 1000 + 900 + 90 + 4. Those become M, CM, XC and IV, so 1994 is MCMXCIV. In the same way, 2026 is 2000 + 20 + 6, which gives MMXXVI.
Reading works in reverse. In XLII, the X before L means 50 − 10 = 40, and II adds 2, so the value is 42. The largest number the converter accepts, 3999, is MMMCMXCIX, and 3888, MMMDCCCLXXXVIII, is the longest numeral in the range at 15 letters.
Assumptions and limits
Only whole numbers from 1 to 3999 are supported. Input is case-insensitive, but only canonical forms are accepted, so variants such as IIII, VV or IC are rejected. Overbar notation for thousands, fractions, zero and historical or medieval variants are not covered.
Frequently asked questions
Why are zero and numbers above 3999 rejected?
Standard Roman numerals have no symbol for zero, because the system was used for counting and recording amounts rather than positional arithmetic. Larger values need extended conventions such as an overbar, which multiplies a numeral by 1000. This converter keeps to the unambiguous range from 1 to 3999 and does not implement overbars.
Why is IIII rejected?
This tool accepts canonical notation, where four is IV rather than IIII. Many clock faces use IIII for visual balance, and older inscriptions show other additive forms, but these are outside this converter's scope. Rejecting them keeps every result unambiguous, so each number has exactly one accepted spelling.
What are the subtraction rules in Roman numerals?
Only six subtractive pairs are standard: IV (4), IX (9), XL (40), XC (90), CD (400) and CM (900). I can precede only V or X, X only L or C, and C only D or M, so 99 is XCIX, not IC.
How do I write the current year in Roman numerals?
Split the year into thousands, hundreds, tens and ones, then convert each part. For example, 2026 is 2000 + 20 + 6, which gives MM + XX + VI = MMXXVI.
Can a letter repeat more than three times?
Not in standard notation. I, X, C and M may repeat up to three times in a row, and V, L and D never repeat. That is why 4 is written IV and 3999, MMMCMXCIX, is the largest value here, since a fourth M would be needed for 4000.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
modeConversion direction | one of: to_roman, from_roman | default to_roman |
numberWhole number (1–3999) | whole number; allowed 1–3999; used with mode = to_roman | required |
romanRoman numeral | text in the tool's notation, see the examples; used with mode = from_roman | required |
Examples
?number=1987?roman=MCMXCIV
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="roman"]