10101011 Binary to Hexadecimal

10101011 binary = AB hexadecimal

10101011 written in hexadecimal is AB, the number 171 in everyday decimal.

10101011 binary = AB hexadecimal

How to convert 10101011 to hexadecimal

Because 16 = 24, every hexadecimal digit stands for exactly 4 binary digits. Split the binary number into groups of 4 from the right (adding leading zeros), then write each group as one hexadecimal digit:

Binary groupHexadecimal digit
1010A (10)
1011B (11)

Result: 10101011 in binary = AB in hexadecimal.

About the number 171

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

Reverse conversion

Frequently asked questions

What is 10101011 in hexadecimal?

10101011 in binary is AB in hexadecimal (the number 171 in decimal).