Binary may refer to any of the following:
1. Binary is a base 2 number system invented by Gottfried Leibniz that is made up of only two numbers: 0 and 1. This number system is the basis for all binary code, which is used to write data such as the instructions that computer processors use, or the digital text you read every day.
How does it work?
The 0s and 1s in binary are used to represent OFF or ON respectively, that is, the turn off or turn on an electrical signal or base2 exponent. We know you may be a bit confused, but this concept is further explained in our section on how to read binary numbers.
Why do computers use binary?
Binary is still the primary language for computers for the following reasons.
- It is a simple and elegant design.
- Binary's 0 and 1 method is quick to detect an electrical signal's off or on state.
- The positive and negative poles of magnetic media are quickly translated into binary.
- Binary is the most efficient way to control logic circuits.
How to read binary numbers
The following chart illustrates the binary number 01101000. Each column represents the number two raised to an exponent, with that exponent's value increasing by one as you move through each of the eight positions. In this example, we get the total value by reading the chart from right to left and adding each column's value to that of the previous column: (8+32+64) = 104. As you can see, we do not count the bits with a 0 because they're "turned off."
The next example is 11111111 in binary, the maximum 8-bit value of 255. Again, reading right to left we have 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 = 255.
Note: Counting on a computer normally starts with 0 instead of 1. Therefore, counting all the bits does equal 255, but if you start at 0, it is really 256.
Tip: If you took the binary code from the first example (which totaled 104) and put it into ASCII, it would produce a lowercase h. To spell the word hi, you would need to add the binary for the letter i, which is 01101001. Putting these two codes together, we have 0110100001101001 or 104 and 105, which represents hi.
In this image is an example of some binary humor via a famous saying on many geek t-shirts. Those who can read binary realize this quote actually says "There are only two types of people in the world: Those who understand binary and those who don't." In the binary system, '10' is actually two, not the number ten.
Convert text into binary
The following tool converts any text into binary.
.BIN, Base, BCD, Binary file, Bit, Decimal, Hexadecimal, Least significant bit, Machine language, Most significant bit, Native language, Negation, Nibble, Octal, OFF, ON, Qubit, Software terms, Two's complement