Binary
Binary stands for base 2. It is commonly used in computing for its relative ease of computation and the ease of using ON - OFF states in computers.
Converting Binary to Decimal
Converting a binary number to decimal is not too difficult. Take each digit in the binary number which is a 1 and write down the number it represents in decimal. A good way to know what it represents is to start at the far right of the number (this digit is always 1). As you move across each digit to the left you double the number it represents in decimal. Once you've done this, add up all the decimal numbers and the total is your result. Here is an example:
Binary number 1101 =
1 * 2^0 = 1
0 * 2^1 = 0
1 * 2^2 = 4
1 * 2^3 = 8
Add them all together and you get 13
(Hint: If the far right digit is a 1 then the result should be an odd number, if it is a 0 then it should be an even number. This is because the far right digit is the only one which can be odd.)
External Links
- Binary Tutorial, An introduction to binary numbers.
This article is a stub. Help us out by expanding it.
Power of two | Number in base 10 | Binary representation |
---|---|---|
2 | 10 | |
4 | 100 | |
8 | 1000 | |
16 | 10000 | |
32 | 100000 | |
64 | 1000000 | |
128 | 10000000 |