Text · Converter

Roman numerals to binary converter.

Type a Roman numeral and get its binary value. MCMXCIV is 1994, which is 11111001010 in binary. Hex and octal are shown too.

Runs in your browserNothing is uploaded

Advertisement

Input

Result

Enter a value to convert it.

Advertisement

How it works

There is no direct Roman-to-binary shortcut: you read the Roman numeral as a decimal number first, then write that number in base 2. For the numeral, add the values of the symbols (I=1, V=5, X=10, L=50, C=100, D=500, M=1000), except that a smaller symbol placed before a larger one is subtracted (IV=4, IX=9, XL=40, XC=90, CD=400, CM=900). MCMXCIV = 1000 + (1000 − 100) + (100 − 10) + (5 − 1) = 1994.

For the binary step, divide by 2 repeatedly and read the remainders from the last to the first, or subtract powers of two: 1994 = 1024 + 512 + 256 + 128 + 64 + 8 + 2, which gives 11111001010. Group the bits in fours (0111 1100 1010) and each group is one hex digit, giving 7CA.

The range is 1 to 3999, the standard limit of plain Roman numerals (MMMCMXCIX). The page accepts non-standard spellings such as IIII (seen on clock faces) and tells you the standard form (IV) so you do not copy a mistake into homework. Zero has no Roman symbol, and larger values traditionally used a bar over a numeral that plain text cannot show.

Worked examples

Roman numerals to binary examples
InputResult
I1
IV100
XIV1110
XLII101010
MCMXCIV11111001010
MMMCMXCIX111110011111

Do arithmetic in Roman numerals with the Roman numeral calculator, convert a year with the Roman numeral year converter, or go from base 10 to base 2 on the decimal to binary converter.

Sources: Unicode Number Forms chart (Roman numeral characters U+2160 to U+2188). Roman numeral spelling conventions are customary rather than defined by a standards body. Retrieved November 2026.

Advertisement

Roman numerals to binary converter FAQ

How do I convert a Roman numeral to binary?

Convert it to a decimal number first, then to base 2. XLII is 42, and 42 in binary is 101010.

What is MCMXCIV in binary?

MCMXCIV is 1994, which is 11111001010 in binary (7CA in hex).

What is the largest Roman numeral this handles?

MMMCMXCIX, which is 3999 or 111110011111 in binary. Larger values need an overline that plain text cannot represent.

Is IIII a valid Roman numeral?

It appears on some clock faces, but the standard form of 4 is IV. The converter reads IIII as 4 and shows IV as the standard spelling.

Why is there no Roman numeral for zero?

Roman numerals have no zero symbol, so 0 cannot be entered here.