Binary -


Binary is base 2 number system. It is base 2 because it uses two possible numbers: 0 and 1. Decimal, the system most of the world uses for daily life, is a base 10 system – it uses 10 characters (0–9). When binary numbers are written, a subscript "(2)" is added to distinguish them from the same number in base 10.

Computers work in binary, because wires can store information in two different ways: by being powered, or not being powered. Sets of binary numbers can be used to represent any information, such as text, audio, or video.

Number system

When being introduced to binary numbers, it helps to go back and think about how base 10 or decimal numbers work. Consider the number 1101(10) (base 10). We identify this number as one-thousand, one-hundred, one because it has a 1 in the thousands place, a 1 in the hundreds place, and a 1 in the ones place. But since the places represent 8, 4, 2, and 1 in binary, instead of 1000, 100, 10, and 1, the value converted to decimal (base 10) would be 8 + 4 + 1 = 13(10).

For another example, the binary number 101(2) is 5 in decimal. The bit on the right is 1 and has a value of 1 (2^0). The middle bit has a value of 2 (2^1 or just 2), but it is a 0, so it is not added. The bit on the left is 1 and has a value of 4 (2^2 or 2 * 2). The bits that are 1s have values of 1 and 4. 1 + 4 = 5.


All computers use binary at the lowest level. Most hard memory, like compact discs and DVDs, use binary to represent large files.

With computers, eight binary bits together is called a byte. The size of files is commonly measured in kilobytes or megabytes (sometimes in gigabytes). A kilobyte is 1000 bytes. A megabyte is 1000 kilobytes, a gigabyte is 1000 megabytes and a terabyte is 1000 gigabytes. Sometimes, it is easier to measure bytes in groups of 1024, since 1024 is a power of 2. There are 1024 bytes in a kibibyte, 1024 kibibytes in a mebibyte, and 1024 mebibytes in a gibibyte.

Categories: Computer science | Mathematics | Encodings

Information as of: 24.05.2020 11:04:38 CEST

Source: Wikipedia (Authors [History])    License : CC-by-sa-3.0

Changes: All pictures and most design elements which are related to those, were removed. Some Icons were replaced by FontAwesome-Icons. Some templates were removed (like “article needs expansion) or assigned (like “hatnotes”). CSS classes were either removed or harmonized.
Wikipedia specific links which do not lead to an article or category (like “Redlinks”, “links to the edit page”, “links to portals”) were removed. Every external link has an additional FontAwesome-Icon. Beside some small changes of design, media-container, maps, navigation-boxes, spoken versions and Geo-microformats were removed.

Please note: Because the given content is automatically taken from Wikipedia at the given point of time, a manual verification was and is not possible. Therefore does not guarantee the accuracy and actuality of the acquired content. If there is an Information which is wrong at the moment or has an inaccurate display please feel free to contact us: email.
See also: Legal Notice & Privacy policy.