How to Convert from Binary to Decimal

We use the decimal numeral system in our daily life, which is based on 10 numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. The binary numeral system, however, is based on 2 numbers: 0 and 1.

In the binary system, each digit represents an increasing power of 2 from 20, 21, 22…. and so on. Please refer to the table below to convert a binary number into the decimal number, or please check here to convert decimal to binary.

Power76543210
Power of 22726252423222120
Results1286432168421

Example 1: 01001111

01001111 = [ ( 0 ) × 27 ] + [ ( 1 ) × 26 ] + [ ( 0 ) × 25 ] + [ ( 0 ) × 24 ] + [ ( 1 ) × 23 ] + [ ( 1 ) × 22 ] + [ ( 1 ) × 21 ] + [ ( 1 ) × 20 ]

01001111 = 0 + 64 + 0 + 0 + 8 + 4 + 2 + 1 = 79

Example 2: 10010000

10010000 = [ ( 1 ) × 27 ] + [ ( 0 ) × 26 ] + [ ( 0 ) × 25 ] + [ ( 1 ) × 24 ] + [ (0 ) × 23 ] + [ ( 0 ) × 22 ] + [ ( 0 ) × 21 ] + [ ( 0 ) × 20 ]

10010000 = 128 + 0 + 0 + 16 + 0 + 0 + 0 + 0 = 144

The following is the Binary to Decimal Conversion Table from 1 to 255:

BinaryDBinaryDBinaryDBinaryD
00000001101000001651000000112911000001193
00000010201000010661000001013011000010194
00000011301000011671000001113111000011195
00000100401000100681000010013211000100196
00000101501000101691000010113311000101197
00000110601000110701000011013411000110198
00000111701000111711000011113511000111199
00001000801001000721000100013611001000200
00001001901001001731000100113711001001201
000010101001001010741000101013811001010202
000010111101001011751000101113911001011203
000011001201001100761000110014011001100204
000011011301001101771000110114111001101205
000011101401001110781000111014211001110206
000011111501001111791000111114311001111207
000100001601010000801001000014411010000208
000100011701010001811001000114511010001209
000100101801010010821001001014611010010210
000100111901010011831001001114711010011211
000101002001010100841001010014811010100212
000101012101010101851001010114911010101213
000101102201010110861001011015011010110214
000101112301010111871001011115111010111215
000110002401011000881001100015211011000216
000110012501011001891001100115311011001217
000110102601011010901001101015411011010218
000110112701011011911001101115511011011219
000111002801011100921001110015611011100220
000111012901011101931001110115711011101221
000111103001011110941001111015811011110222
000111113101011111951001111115911011111223
001000003201100000961010000016011100000224
001000013301100001971010000116111100001225
001000103401100010981010001016211100010226
001000113501100011991010001116311100011227
0010010036011001001001010010016411100100228
0010010137011001011011010010116511100101229
0010011038011001101021010011016611100110230
0010011139011001111031010011116711100111231
0010100040011010001041010100016811101000232
0010100141011010011051010100116911101001233
0010101042011010101061010101017011101010234
0010101143011010111071010101117111101011235
0010110044011011001081010110017211101100236
0010110145011011011091010110117311101101237
0010111046011011101101010111017411101110238
0010111147011011111111010111117511101111239
0011000048011100001121011000017611110000240
0011000149011100011131011000117711110001241
0011001050011100101141011001017811110010242
0011001151011100111151011001117911110011243
0011010052011101001161011010018011110100244
0011010153011101011171011010118111110101245
0011011054011101101181011011018211110110246
0011011155011101111191011011118311110111247
0011100056011110001201011100018411111000248
0011100157011110011211011100118511111001249
0011101058011110101221011101018611111010250
0011101159011110111231011101118711111011251
0011110060011111001241011110018811111100252
0011110161011111011251011110118911111101253
0011111062011111101261011111019011111110254
0011111163011111111271011111119111111111255
01000000641000000012811000000192  

Leave a Reply