10101 in Binary = 21 in Decimal

10101 in binary is 21 in decimal, XXI in Roman numerals, 15 in hexadecimal and 25 in octal.

10101 binary = 21 decimal

10101 in every number system

How to read 10101 in binary

Binary to decimal

Multiply each digit by 2 to the power of its position (0 on the right), then add:

DigitPlace valueDigit × place
124 = 1616
023 = 80
122 = 44
021 = 20
120 = 11

16 + 0 + 4 + 0 + 1 = 21

About the number 21

  • 21 is an odd number.
  • 21 is not a prime number.
  • Written in binary it needs 5 bits, so it fits in one byte.

Nearby numbers in binary