Each digit place holder represents a power of 2.
From the right hand place and reading to the left these are: 2^0, 2^1, 2^2, 2^3, 2^4 and 2^5 which are equivalent to 1, 2, 4, 8, 16 and 32.
To calculate the number equivalent to a binary number code such as above, you need to add up the relevant parts according to whether the place is included or excluded from the binary sum.
The '0' and '1' are 'switches' that tell you to include or exclude the number in that place when adding up the number.
example A - Binary 1010
This is equal to (2^1 + 2^3) = (2+8) = 10. Note that 2^0 and 2^2 are switched off (they have '0' place holder values) and hence excluded from the sum.
example B - Binary 1111
In this case all place holders are switched on and hence this is equal to (2^0 + ^1 + 2^2 + 2^3) = (1+2+4+8) = 15
example C - Binary 011111 as requested
This is equal to 31
The number 21 in binary is 10101
It is 894.
63.
1024 = 10000000000
E7c3
It is10101 011111 101011 101100 111111 101000 010111
011111 (decimal 31)
The number 21 in binary is 10101
The binary number 10101 represents 21.
In binary form it is 1010001.
The binary number 1000011 is equal to the decimal number 67. See the related link, 'Binary Numbers' below this answer.
It is 894.
63.
13
11
As an 8 digit binary number it is equal to 166.
1001 in binary is equal to 9 in decimal.