Toolstia / Roman numeral converter

Roman numeral converter

Roman numerals still turn up in places where a clean, formal look is wanted: movie sequels, monarchs and popes, Super Bowls, chapter headings, building cornerstones, clock faces and the copyright years in a film credit. Reading a long one such as MCMXCIV takes a moment, and writing one correctly takes a clear head for the subtraction rules.

This converter works in both directions. Choose number to Roman numeral and enter a whole number from 1 to 3999, or choose Roman numeral to number and type a numeral in capitals or lower case. A small table of reference examples sits below the result.

The reverse direction is strict. It accepts only the standard form of each number and rejects things like IIII or IC with an explanation, so it also works as a quick check on a numeral you found or wrote yourself.

NumberRoman
4IV
9IX
14XIV
40XL
90XC
400CD
1994MCMXCIV
2026MMXXVI

How it works

  1. Choose the direction.
  2. Type the number or the Roman numeral.
  3. Copy the result.

The letters

I is 1, V is 5, X is 10, L is 50, C is 100, D is 500 and M is 1000. Smaller letters before a larger one are subtracted, so IV is 4 and CM is 900.

Roman numeral chart

1 I, 2 II, 3 III, 4 IV, 5 V, 6 VI, 7 VII, 8 VIII, 9 IX, 10 X, 20 XX, 30 XXX, 40 XL, 50 L, 60 LX, 90 XC, 100 C, 400 CD, 500 D, 900 CM, 1000 M.

Years in Roman numerals

Write the thousands, hundreds, tens and units one after another. 2025 is MMXXV, 2026 is MMXXVI and 2000 is MM. Type any year from 1 to 3999 to convert it.

Why 3999 is the limit

The standard system has no symbol above M and does not repeat a letter more than three times in a row, so the largest number written in the standard form is MMMCMXCIX, which is 3999.

Strict checking

The tool only accepts numerals written in the standard way. IIII and IC are rejected, because the standard forms are IV and XCIX.

Common uses

Roman numerals appear on clocks, in book chapters, film and event numbering, and in the names of monarchs.

How a number is built, using 1994

The method is greedy: take the largest value that fits, write its symbol, subtract it, and repeat. The table the tool uses is 1000 M, 900 CM, 500 D, 400 CD, 100 C, 90 XC, 50 L, 40 XL, 10 X, 9 IX, 5 V, 4 IV and 1 I. For 1994, that gives M for 1000, CM for 900, XC for 90 and IV for 4, which join to MCMXCIV.

Because the subtractive pairs, such as CM and XC, are in the table, the answer never needs more than three of the same letter in a row. That is also why 99 is XCIX, which is XC plus IX, and not IC.

Reading a numeral from left to right

When you convert in the other direction, the tool reads the same table from the largest entry down, adds up the values it consumes, and then writes the number back as a numeral. The input is accepted only if the numeral it writes back is identical to what you typed. That is how it can tell MCMXCIV, which is valid, from a string such as MCMCXIV that merely uses valid letters.

Examples of strings that are rejected: IIII, because 4 is written IV; IC, because 99 is XCIX; VX, because a five is never subtracted; IL, because 49 is XLIX; XM, because 990 is CMXC; and MMMM, because the standard form stops at 3999.

Sample values worth knowing

Some common conversions, all produced by the tool: 14 is XIV, 40 is XL, 49 is XLIX, 90 is XC, 99 is XCIX, 400 is CD, 444 is CDXLIV, 1994 is MCMXCIV, 2026 is MMXXVI and 3999 is MMMCMXCIX. Notice how 444 uses subtraction three times, in CD, XL and IV, which makes it look strange at first.

A date written as day, month and year in Roman numerals is built from the same rules, one part at a time. There is no separator and no zero, so a year like 2000 is just MM.

Input rules and what is rejected

In number mode, the input must be digits only. A value like 1,994 or 12.5 is rejected, and so are zero and anything above 3999. In numeral mode, spaces at the ends are ignored and lower case is accepted, and the result is always a plain number.

The tool does not use the extended notation that places a bar over a numeral to multiply it by a thousand, so it cannot write numbers beyond 3999. It also does not produce the special Unicode Roman numeral characters, only ordinary capital letters, which will paste safely into any font.

Clock faces and other exceptions

Many clock and watch faces print four o'clock as IIII instead of IV. That is a design tradition, and it is common enough that people assume it is correct. This tool treats IIII as non-standard, because the usual modern rule writes four as IV. When you are matching an existing printed style, such as a clock face, follow the style in front of you.

Questions

Is there a Roman zero?

No. The system has no zero.

What is 2026 in Roman numerals?

MMXXVI (MM is 2000, XX is 20 and VI is 6).

How do I write 4 and 9 in Roman numerals?

4 is IV and 9 is IX. A smaller letter before a larger one is subtracted.

Does it accept lowercase?

Yes. mcmxciv works as well as MCMXCIV.

What about numbers above 3999?

They have no standard form, so the tool asks for a smaller number.

Is it free?

Yes, and it works offline in your browser.

What is the largest number I can convert?

3999, written MMMCMXCIX. The standard system has no symbol above M and does not repeat a letter more than three times in a row.

Why is 99 written XCIX and not IC?

The subtraction rule only lets I come before V and X, X before L and C, and C before D and M. So 99 is split as XC for 90 and IX for 9.

Can I type a year with commas or spaces?

No. In number mode, use digits only, such as 2026. Commas, spaces and decimals are rejected.

Does it handle fractions or zero?

No. The system has no zero and the tool works with whole numbers from 1 to 3999.

How do I write a date in Roman numerals?

Convert each part separately. For example, the year 2026 is MMXXVI, the day 14 is XIV and the month number 3 is III. Join them in the order and with the separators your style uses.