The decimal number is equal to the sum of binary digits (dn) times their power of 2 (2n):
decimal = d0×20 + d1×21 + d2×22 + ...
Find the decimal value of 1110012:
| binary number: | 1 | 1 | 1 | 0 | 0 | 1 |
|---|---|---|---|---|---|---|
| power of 2: | 25 | 24 | 23 | 22 | 21 | 20 |
1110012 = 1⋅25+1⋅24+1⋅23+0⋅22+0⋅21+1⋅20 = 5710
Find the decimal value of 1000112:
| binary number: | 1 | 0 | 0 | 0 | 1 | 1 |
|---|---|---|---|---|---|---|
| power of 2: | 25 | 24 | 23 | 22 | 21 | 20 |
1000112 = 1⋅25+0⋅24+0⋅23+0⋅22+1⋅21+1⋅20 = 3510
| Binary | Decimal |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 10 | 2 |
| 11 | 3 |
| 100 | 4 |
| 101 | 5 |
| 110 | 6 |
| 111 | 7 |
| 1000 | 8 |
| 1001 | 9 |
| 1010 | 10 |
| 1011 | 11 |
| 1100 | 12 |
| 1101 | 13 |
| 1110 | 14 |
| 1111 | 15 |
| 10000 | 16 |
| 10001 | 17 |
| 10010 | 18 |
| 10011 | 19 |
| 10100 | 20 |
| 10101 | 21 |
| 10110 | 22 |
| 10111 | 23 |
| 11000 | 24 |
| 11001 | 25 |
| 11010 | 26 |
| 11011 | 27 |
| 11100 | 28 |
| 11101 | 29 |
| 11110 | 30 |
| 11111 | 31 |
| 100000 | 32 |
| 1000000 | 64 |
| 10000000 | 128 |
| 100000000 | 256 |
How to convert decimal to binary ►