10101000 binary to decimal
What is binary 10101000 in decimal?
Binary number 10101000 to Decimal Conversion Explanation
Binary to Decimal Conversion Formula:
(Decimal Number)10 = (d0 × 20) + (d1 × 21) + (d2 × 22) + ... + (dn−1 × 2n-1)
According to Binary to Decimal Conversion Formula if you want to convert Binary 10101000 to its Decimal form you have to multiply each digit of the binary number by the corresponding power of two which depends on the digit position in the number.
There are 8 digits in 10101000 so there are 8 positions. So you need to write down the powers of two from right to left according to its position starting from index 0 and ending with 7 and multiply it by the corresponding binary digit.
Digit | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 |
---|---|---|---|---|---|---|---|---|
Pow of 2 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
Binary 10101000 to Decimal Calculation Steps:
(1 × 27) + (0 × 26) + (1 × 25) + (0 × 24) + (1 × 23) + (0 × 22) + (0 × 21) + (0 × 20)
=
128 + 0 + 32 + 0 + 8 + 0 + 0 + 0
=
168
(10101000)2 = (168)10