Math & calculatorsFree

Roman Numeral Converter

Free Roman numeral converter. Convert numbers 1–3999 to Roman numerals and Roman numerals back to numbers instantly.

Last updated 14 October 2026

Result

Examples

Strict in one direction, forgiving in the other

Going from a number to a numeral, this tool follows the standard subtractive rules and refuses anything outside 1 to 3999. Going the other way it is deliberately tolerant: it discards every character that is not one of M D C L X V I before it looks at what is left.

That tolerance is useful when you paste a numeral out of a sentence, and it is also the one thing on this page that can hand you a confidently wrong answer. It comes first.

A typo can produce a valid number instead of an error

Because unrecognised characters are removed rather than rejected, a mistake that leaves a legal numeral behind is accepted silently. Measured, with the status reading OK in green:

Typing 1 where you meant I is the common version of this, because the two sit next to each other in most people's typing and look alike in many fonts. There is no warning: the output is a number and the status is green.

Check that the number you get back is roughly the size you expected. The tolerance is genuinely helpful for the ordinary case, where it lets XIV (14) and XIV!! both give 14, and I love XIV is correctly refused because the stripped letters do not form a legal numeral.

Only the strict subtractive form is accepted

After stripping, the remaining letters must match the canonical pattern, and anything else is refused outright. Measured:

Each number in range has exactly one accepted spelling, so the conversion is a true round trip in both directions for every value from 1 to 3999. The longest numeral in that range is MMMDCCCLXXXVIII, fifteen characters, which is 3888.

The number side truncates rather than refusing

Converting a number to a numeral reads the value as a whole number and stops at the first character that is not part of one. Measured:

The 3999 ceiling is not an arbitrary choice. The basic alphabet has no single letter worth more than 1000, and the rule allowing at most three identical letters in a row caps the thousands at MMM. Larger values historically used a vinculum, a bar drawn over a letter to multiply it by a thousand, and that notation is not supported here.

There is no zero either, in the tool or in the system. Roman numerals have no symbol for nothing, which is why the lower bound is 1 rather than 0.

What this tool deliberately does not do

For a year difference rather than a conversion, use Days Between Dates. To convert between other bases, Number Base Converter handles binary, octal and hexadecimal with exact integer arithmetic.

Sources

Every behaviour and every value on this page was measured against this tool as it is published, in a browser, on 14 October 2026. The claim that every value from 1 to 3999 has exactly one spelling was checked by generating all 3,999 numerals.

Frequently asked questions

I typed X1V and got 15. Why not an error?

Because every character that is not M D C L X V I is deleted before the numeral is read, so the digit 1 vanished and XV was converted. You meant XIV, which is 14. Mistyping 1 for I is the usual way this happens, and nothing on the page flags it, so check the size of the answer.

Typing ABC gave me 100.

Same reason. A and B are not numeral letters so they are removed, and the remaining C is a legitimate hundred. The stripping is what lets you paste XIV (14) or XIV!! and get 14, and it is also why nonsense can produce a number.

Why will it not accept IIII?

Because it only takes the canonical subtractive spelling, which allows at most three identical letters in a row, making IV the only accepted four. IIII is the traditional form on clock faces and is refused here.

Can I write 999 as IM?

No. Only I before V or X, X before L or C, and C before D or M are legal subtractions. 999 is CMXCIX, and IM is refused.

Why does it stop at 3999?

Because no letter in the basic alphabet is worth more than 1000 and no more than three may run together, so MMM plus CMXCIX is the ceiling. Larger numbers historically used a bar over a letter to multiply it by a thousand, and that is not supported. There is no zero either, in this tool or in the system.

Does 12.7 round up?

No, it truncates. 12.7 gives XII rather than XIII, because the value is read as a whole number and the fractional part is discarded. For the same reason 1e3 gives I rather than MMM.

Does every number have only one correct numeral?

In what this tool accepts, yes. We generated all 3,999 values and each has exactly one accepted spelling, so converting a number to a numeral and back always returns the number you started with. The longest is 3888, written MMMDCCCLXXXVIII.

Is lower case acceptable?

Yes. mmxxvi and MMXXVI both give 2026. The output is always upper case.

Related tools