Binary & Number System Converter
Convert between Binary (base 2), Decimal (base 10), Hexadecimal (base 16), and Octal (base 8). Type in any field to update all others.Binary Numbers and Base SystemsA clear walkthrough of how binary and other base systems represent numbers using place values.external video · opens in a new tab
Binary base 2
digits: 0 1
Decimal base 10
digits: 0–9
Hexadecimal base 16
digits: 0–9, A–F
Octal base 8
digits: 0–7
conversion working
Enter a number above to see step-by-step conversion working.
binary arithmetic
+
=
—
hexadecimal calculator
Type a hex value to decode it instantly (e.g. A2F7 = 41719 decimal), or run hex arithmetic with two operands. The 0x prefix is optional and case doesn't matter.
+
=
—
decimal ↔ binary ↔ hex quick reference (0–31)
ascii quick reference (32–126 printable)
Tip: In electronics, hexadecimal is used for memory addresses, register values, and colour codes. Binary maps directly to physical HIGH/LOW logic states. 0xFF = 255 = 11111111 in binary = one full byte.