XL Roman numerals to Binary

XL Roman numerals = 101000 binary

XL written in binary is 10 1000, the number 40 in everyday decimal.

XL Roman numerals = 101000 binary

How to convert XL to binary

Step 1: Roman numerals to decimal

Split XL into its symbols, reading a smaller symbol before a larger one as a subtraction:

XL = 40 = 40

Step 2: Decimal to binary

Divide by 2 repeatedly and keep the remainders. Reading the remainders from the last one to the first gives the binary digits:

DivisionQuotientRemainder (digit)
40 ÷ 2200
20 ÷ 2100
10 ÷ 250
5 ÷ 221
2 ÷ 210
1 ÷ 201

Result: 40 = 101000 in binary.

About the number 40

  • 40 is an even number.
  • 40 is not a prime number.
  • Written in binary it needs 6 bits, so it fits in one byte.

Reverse conversion

Frequently asked questions

What is XL in binary?

XL in Roman numerals is 101000 in binary (the number 40 in decimal).