Guides
Convert Binary to Hex by Hand, No Calculator
Binary is the machine's native tongue, but nobody wants to read 11011001 as a color. Hex exists precisely to make that string short. And unlike converting binary to decimal — which drags you through powers of two — converting binary to hex is almost mechanical:
The nibble table you already half-know
Every four-bit group, called a nibble, maps to one hex digit. Rather than multiply, memorize the small table — it is only sixteen rows and it pays for itself every day:
- 0000 = 0 0001 = 1 0010 = 2 0011 = 3
- 0100 = 4 0101 = 5 0110 = 6 0111 = 7
- 1000 = 8 1001 = 9 1010 = A 1011 = B
- 1100 = C 1101 = D 1110 = E 1111 = F
The pattern is simple: 1011 is 8 + 2 + 1 = 11, which is B. You are summing place values 8-4-2-1 inside each nibble, not across the whole number.
Worked example: 11011001
- Group right to left in fours:
1101 | 1001 - The right group 1001 = 8 + 1 = 9, so it becomes
9. - The left group 1101 = 8 + 4 + 1 = 13, so it becomes
D. - Read across:
11011001=D9.
Handling a leftover group at the front
If the binary length is not a multiple of four, the leftmost group comes up short. Pad it with leading zeros until it is four bits wide. Zeros on the left never change a value.
Note the pad: 101101 split naively as (10)(1101) would read wrong. Always pad first, then split in fours from the right.
Going backward: hex to binary
Reverse the arrow. Write each hex digit as its four-bit nibble, then drop leading zeros.
When to do it by hand at all
On the job you will use a converter or a build tool almost every time — and this very page converts in real time. But the moment you need to debug a checksum, decode a protocol dump, or understand why a bitmask broke, the hand method is what turns an opaque number into something you can reason about. Learn it once, group in fours, and hex stops being a foreign language.