Learn binary, hex and subnetting
These guides are the same lessons you'll find in the Learn tab of The Binary Game. Pick a topic, try the interactive examples, then practise it as a game.
Binary Basics
What binary is, how bits and bytes work, the place values 128 to 1, and how to count to 15 in binary. A beginner's guide with examples.
Read the guide →Read any binary numberBinary → Decimal
Convert binary to decimal by adding place values. Step-by-step method, a worked 8-bit example, tips and an interactive bit playground.
Read the guide →Build numbers from bitsDecimal → Binary
Convert decimal to binary with the subtraction method. Worked example for 200, tips for subnet masks, and a bit playground to check your answers.
Read the guide →Base 16, nibbles and MAC addressesHexadecimal
What hexadecimal is, the hex digit table, converting hex to decimal and back, the binary-to-hex shortcut, and where hex is used (MAC, IPv6, colours).
Read the guide →IPv4, CIDR, masks and hostsSubnetting
Learn IPv4 subnetting: CIDR prefixes, subnet masks in binary, the /24–/32 mask table, counting usable hosts, and finding network and broadcast addresses. Includes a subnet calculator.
Read the guide →Suggested order
- Binary Basics — Bits, bytes and place values
- Binary → Decimal — Read any binary number
- Decimal → Binary — Build numbers from bits
- Hexadecimal — Base 16, nibbles and MAC addresses
- Subnetting — IPv4, CIDR, masks and hosts
How games work
- Classic: 10 questions, 3 tries each, with a breakdown after every answer
- Timed: as many as you can in 60 seconds, one try each
- Difficulty: 4, 8 or 16 bits (Easy, Medium or Hard for subnetting)
- Reach your daily goal to grow your streak