Binário descreve um esquema de numeração no qual existem apenas dois valores possíveis para cada dígito: 0 e 1. O termo também se refere a qualquer sistema de codificação/decodificação digital no qual existem exactamente dois estados possíveis. Na memória de dados digital, armazenamento, processamento e comunicações, os valores 0 e 1 são às vezes chamados "baixo" e "alto", respectivamente.
Um bit (abreviação para dígito binário) é a menor unidade de dados num computador; cada bit tem um único valor de 1 ou 0. Programas executáveis (prontos para execução) são frequentemente identificados como arquivos binários e recebem uma extensão de nome de arquivo ".bin". Programadores frequentemente chamam arquivos executáveis binaries.
Números binários parecem estranhos quando são escritos diretamente. Isto porque o peso dos dígitos aumenta por potências de 2, em vez de 10. In a digital numeral, the digit furthest to the right is the "ones" digit; the next digit to the left is the "twos" digit; next comes the "fours" digit, then the "eights" digit, then the "16s" digit, then the "32s" digit, and so on. The decimal equivalent of a binary number can be found by summing all the digits. For example, the binary 10101 is equivalent to the decimal 1 + 4 + 16 = 21:
| DECIMAL = 21 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | 
| BINARY = 10101 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 
The numbers from decimal 0 through 15 in decimal, binary, octal, and hexadecimal form are listed below.
| DECIMAL | BINARY | OCTAL | HEXA- DECIMAL | 
| 0 | 0 | 0 | 0 | 
| 1 | 1 | 1 | 1 | 
| 2 | 10 | 2 | 2 | 
| 3 | 11 | 3 | 3 | 
| 4 | 100 | 4 | 4 | 
| 5 | 101 | 5 | 5 | 
| 6 | 110 | 6 | 6 | 
| 7 | 111 | 7 | 7 | 
| 8 | 1000 | 10 | 8 | 
| 9 | 1001 | 11 | 9 | 
| 10 | 1010 | 12 | A | 
| 11 | 1011 | 13 | B | 
| 12 | 1100 | 14 | C | 
| 13 | 1101 | 15 | D | 
| 14 | 1110 | 16 | E | 
| 15 | 1111 | 17 | F | 
