The Util Box

Roman Numeral Converter

Free online roman numeral converter. Convert between numbers and Roman numerals. Accurate and easy to use.

Embed this tool

Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.

<iframe src="https://www.theutilbox.org/embed/roman-numeral-converter" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free Roman Numeral Converter tool from The Util Box"></iframe>
<!-- Free tool by The Util Box — https://www.theutilbox.org/tools/roman-numeral-converter -->
<a href="https://www.theutilbox.org/tools/roman-numeral-converter">Roman Numeral Converter by The Util Box</a>

Frequently Asked Questions about Roman Numeral Converter

Roman Numeral Converter — Both Directions, With the Working

This Roman numeral converter works in both directions. Give it a number and you get the Roman numeral; give it a numeral and you get the number. The step-by-step panel shows the arithmetic either way.

It uses the modern subtractive convention throughout, where 4 is written IV rather than IIII, 9 is IX rather than VIIII, and 40 is XL, 90 XC, 400 CD and 900 CM.

The Value Symbols

Symbol Value Symbol Value
I 1 L 50
V 5 C 100
X 10 D 500
M 1000 — —

Building a numeral works by taking the largest value that still fits, subtracting it, and repeating — which is why the steps read as a sequence of subtractions. Parsing works in the other direction, scanning from right to left and subtracting any symbol smaller than the one before it.

Honest Limits

  • Numbers above 3,999 are rejected. Classical Roman numerals have no way of expressing 4,000 without an overline for a thousand, and the tool does not implement that notation.
  • The parser accepts any string of valid letters, so IIII reads as 4 and IL reads as 45 — even though neither is a correctly formed numeral.
  • The working for Roman → Number is mostly filtered away. Only the result line and the step for the first character are kept, so you see at most two lines rather than the full right-to-left scan.
  • Lowercase input is accepted, since the parser converts to uppercase first — mmxxiv works as well as MMXXIV.

Related Converters

The conversion runs entirely in your browser and works offline.