Get me outta here!

Wednesday, February 2, 2022

Binary to Decimal conversion

 How to convert binary to decimal

For binary number with n digits:

bn-1 ... b3 b2 b1 b0

The decimal number is equal to the sum of binary digits (dn) times their power of 2 (2n):

decimal = b0×20 + b1×21 + b2×22 + ...

Example: Binary - 001

Decimal - 1×20 + 0×21 + 0×2= 1

Binary to decimal conversion table

Binary
Number
Decimal
Number
Hex
Number
000
111
1022
1133
10044
10155
11066
11177
100088
100199
101010A
101111B
110012C
110113D
111014E
111115F
100001610
100011711
100101812
100111913
101002014
101012115
101102216
101112317
110002418
110012519
11010261A
11011271B
11100281C
11101291D
11110301E
11111311F
1000003220
10000006440
1000000012880
100000000256100

0 comments:

Post a Comment