101010 in Decimal
Binary 101010 equals 42 in decimal.
101010 in all number bases
Decimal42
Hexadecimal0x2A
Binary0010 1010
Octal52
How 101010 converts from binary to decimal
Multiply each digit by 2 raised to its position (starting at 0 from the right), then add the results:
1× 25 = 1 × 32 = 32
0× 24 = 0 × 16 = 0
1× 23 = 1 × 8 = 8
0× 22 = 0 × 4 = 0
1× 21 = 1 × 2 = 2
0× 20 = 0 × 1 = 0
Sum: 42