10101010 binary to decimal

Binary to Decimal Converter
Binary Number to convert

What is binary 10101010 in decimal?

Answer

Binary number 10101010 in decimal is
170

Read as an unsigned binary number — each place is worth a power of 2, 2⁰ on the right.

If this is an 8-bit signed number, the first bit is the sign: −42 in sign-magnitude, −85 in ones’ complement, −86 in two’s complement.

Digit × place value, then add
2⁷2⁶2⁵2⁴2³2²2¹2⁰
1286432168421
10101010

128 + 32 + 8 + 2 = 170

See Also

FAQ

What is binary 10101010 in decimal?

Binary number 10101010 in decimal is 170

What is binary 10101010 in hexadecimal?

Binary 10101010 in hexadecimal is AA (0xAA): group the bits by four from the right — 1010 = A, 1010 = A.

What is 10101010 as a signed number?

As an 8-bit signed number: −42 in sign-magnitude, −85 in ones’ complement, −86 in two’s complement. Unsigned it is 170.