10100110 binary to decimal
What is binary 10100110 in decimal?
Binary number 10100110 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 10100110 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 10100110 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 | 0 | 1 | 1 | 0 |
---|---|---|---|---|---|---|---|---|
Pow of 2 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
Binary 10100110 to Decimal Calculation Steps:
(1 × 27) + (0 × 26) + (1 × 25) + (0 × 24) + (0 × 23) + (1 × 22) + (1 × 21) + (0 × 20)
=
128 + 0 + 32 + 0 + 0 + 4 + 2 + 0
=
166
(10100110)2 = (166)10