Learn what binary is, why computers use it, and how to convert a decimal number into binary step by step.
Every piece of data a computer stores or processes, text, images, sound, ultimately comes down to binary: long strings of 1s and 0s. Understanding why computers use binary, and how bits build up into bytes, explains a lot about how digital devices actually work underneath.
Binary is a base-2 number system, using only the digits 0 and 1. Each digit is called a bit, the smallest unit of digital information. As covered in Bytes, KB, MB, GB and TB Explained, 8 bits make up 1 byte, the standard unit computers use to measure and address data.
Digital circuits are built to reliably distinguish between two states, current flowing or not, voltage high or low. Binary’s two digits map directly onto that physical reality, which is why it became the natural foundation for digital computing rather than, say, a base-10 system.
Converting the decimal number 42 to binary:
42 = 32 + 8 + 2 = 25 + 23 + 21
Result: 101010
The Binary to Text Converter and Text to Binary Converter convert between binary and plain text instantly. For a more compact way of writing the same binary data, see Hexadecimal Explained.
Binary to Text Converter
Because digital circuits are built to reliably distinguish only two physical states (on/off, high/low voltage), and binary’s two digits map directly onto that hardware reality.
A bit is a single binary digit, either 0 or 1, the smallest unit of digital information.
8 bits make up 1 byte.
Break the number down into powers of 2 that sum to it, then mark a 1 in each corresponding binary position and 0 elsewhere. For example, 42 = 32 + 8 + 2, giving the binary value 101010.
Yes. Text, images, audio, and every other form of digital data are stored and processed as sequences of bits, interpreted according to whatever format or encoding applies to that specific type of data.
Find the right tool, or keep reading Brekzy's other guides.