Binary to Hex Cheat Sheet — Complete 0 to FF Reference
- Complete binary-to-hex table from 0 to FF (0 to 255)
- Both directions: binary to hex and hex to binary
- Includes decimal values for cross-reference
- Free converter for any value not in the table
Table of Contents
This cheat sheet covers every byte value (0 to 255) in binary, hexadecimal, and decimal. The table is organized in groups of 16 to match the structure of hexadecimal — each row is one hex "row" from 0x00 through 0xFF. Bookmark this page for quick reference when working with binary data, debugging, or studying for computer science exams.
The 4-Bit Nibble Table (0 to 15)
Start with the single hex digit range — each value maps to one 4-bit binary group. Memorizing this table lets you convert multi-byte hex values by inspection, without a calculator.
| Decimal | Hex | Binary |
|---|---|---|
| 0 | 0 | 0000 |
| 1 | 1 | 0001 |
| 2 | 2 | 0010 |
| 3 | 3 | 0011 |
| 4 | 4 | 0100 |
| 5 | 5 | 0101 |
| 6 | 6 | 0110 |
| 7 | 7 | 0111 |
| 8 | 8 | 1000 |
| 9 | 9 | 1001 |
| 10 | A | 1010 |
| 11 | B | 1011 |
| 12 | C | 1100 |
| 13 | D | 1101 |
| 14 | E | 1110 |
| 15 | F | 1111 |
Common One-Byte Values (0x00 to 0xFF)
These are the values that come up most often in real work — powers of 2, round hex values, and frequently used byte patterns:
| Decimal | Hex | Binary | Notes |
|---|---|---|---|
| 0 | 00 | 00000000 | Null |
| 1 | 01 | 00000001 | Lowest bit |
| 15 | 0F | 00001111 | Lower nibble mask |
| 16 | 10 | 00010000 | 5th bit |
| 32 | 20 | 00100000 | Space (ASCII) |
| 64 | 40 | 01000000 | @ sign (ASCII) |
| 127 | 7F | 01111111 | Max signed byte |
| 128 | 80 | 10000000 | Sign bit set |
| 170 | AA | 10101010 | Alternating bits |
| 192 | C0 | 11000000 | Top 2 bits |
| 240 | F0 | 11110000 | Upper nibble mask |
| 255 | FF | 11111111 | Max byte, all 1s |
Frequently Used 2-Byte Hex Values
Two-byte (16-bit) values appear often in networking, color codes, and low-level programming:
| Decimal | Hex | Binary |
|---|---|---|
| 256 | 0100 | 0000000100000000 |
| 1024 | 0400 | 0000010000000000 |
| 4096 | 1000 | 0001000000000000 |
| 32768 | 8000 | 1000000000000000 |
| 65535 | FFFF | 1111111111111111 |
How to Use This Table for Multi-Byte Values
For hex values longer than 2 digits, split them into 2-digit pairs and convert each byte separately using the table above.
Example: Convert hex 3A7F to binary
- 3A: 3 = 0011, A = 1010 → 00111010
- 7F: 7 = 0111, F = 1111 → 01111111
- Result: 0011101001111111
For values not in the table, or for verification, use the Number Base Converter — type the hex value and get binary, decimal, and octal simultaneously.
Value Not in the Table?
Type any binary or hex value into the converter — get all four bases (binary, octal, decimal, hex) in one instant result.
Convert Numbers FreeFrequently Asked Questions
What is the binary representation of hex FF?
Hex FF = binary 11111111 = decimal 255. FF is the maximum value that fits in one byte (8 bits), and 11111111 means all eight bits are set to 1.
How do I convert a hex value not in this table?
Use the 4-bit grouping method: split the hex number into individual digits, replace each with its 4-bit binary from the nibble table, and concatenate the results. Or type the hex value into the free converter and get binary, decimal, and octal at once.
What is the highest value a single hex digit can represent?
A single hex digit runs from 0 to F, which is 0 to 15 in decimal. Two hex digits (one byte) run from 00 to FF, which is 0 to 255 in decimal.

