Converters

Number Base Converter

Convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Type in any field to update the rest.

Bit length: 8

Number bases cheat sheet

  • Binary (2): 0, 1 — used by computers
  • Octal (8): 0–7 — Unix file permissions
  • Decimal (10): 0–9 — everyday numbers
  • Hex (16): 0–9, A–F — color codes, memory addresses

One hex digit = 4 binary bits. So FF = 11111111 = 8 bits = 1 byte = 255 decimal.

Frequently asked questions

What is binary?

Base-2, digits 0/1. Computers store everything as binary.

What is hex for?

Color codes (#FF0000), memory addresses, byte representations.