# Binary

"Binary" is the name given to the base-2 numeral system (decimal being base-10). Each place represents a bit, which can have a value of either 0 or 1 (compared to base-10, where each place can have a value of 0–9).

The table below shows some values for an 8-bit number alongside their decimal representations:

Binary place | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
---|---|---|---|---|---|---|---|---|

Decimal value of binary place | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |

0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |

127 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |

225 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 |

255 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |

# Terminology

- A
**bit**is an individual place with a value of either 1 or 0; portmanteau of "binary digit". - A
**Nibble**is 4 bits. - A
**byte**is 8 bits. - A
**hextet**is 16 bits.

# Other representations

- Octal, base-8
- Hexadecimal, base-16

**Backlinks**