How to Convert Binary to Hex — Step-by-Step Guide
- Group binary digits into sets of 4, starting from the right
- Replace each 4-bit group with its hex digit equivalent
- Or skip the manual steps: the free converter shows results as you type
- Works for any length binary number
Table of Contents
To convert binary to hex without a calculator, group the binary digits into sets of four from right to left, then replace each group with the corresponding hex digit. Every 4 binary bits map to exactly one hex digit — that clean 4-to-1 ratio is what makes binary and hex pair so naturally.
If you need the answer immediately rather than working through the method, type your binary value into the Number Base Converter and get the hex result in under a second.
The 4-Bit Grouping Method
The standard method for converting binary to hex relies on the fact that 4 binary digits (a nibble) represent exactly 16 values — matching the 16 symbols in hexadecimal (0-9 and A-F).
Step 1: Write your binary number. Example: 10110110
Step 2: Group into sets of 4 from right to left: 1011 0110
Step 3: Convert each group using the table below:
| Binary Group | Hex Digit |
|---|---|
| 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 |
Result: 1011 = B, 0110 = 6, so 10110110 binary = B6 hex
Handling Odd-Length Binary Numbers
If your binary number does not divide evenly into groups of 4, pad the leftmost group with leading zeros.
Example: Convert binary 101110 to hex
- Six digits — groups of 4 from the right leave a 2-digit group on the left
- Pad left group to 4 bits: 0010 1110
- 0010 = 2, 1110 = E
- Result: 2E hex
The leading zeros do not change the value — they just ensure each group has exactly 4 bits for the conversion to work cleanly.
Sell Custom Apparel — We Handle Printing & Free ShippingWorked Examples
Here are five conversions worked out in full — verify any of these in the tool:
| Binary | Groups | Hex | Decimal |
|---|---|---|---|
| 1111 | 1111 | F | 15 |
| 11111111 | 1111 1111 | FF | 255 |
| 10101010 | 1010 1010 | AA | 170 |
| 110100111 | 0001 1010 0111 | 1A7 | 423 |
| 100000000 | 0001 0000 0000 | 100 | 256 |
Converting Hex to Binary — The Reverse
Going hex to binary is even simpler: replace each hex digit with its 4-bit binary equivalent. No grouping required — just expand digit by digit.
Example: Convert hex 3F to binary
- 3 = 0011
- F = 1111
- Result: 00111111
You can drop leading zeros: 111111 (binary) = 3F (hex) = 63 (decimal). The converter shows all four bases at once so you can cross-check instantly.
When the Method Matters vs When to Just Use the Tool
The manual method is worth learning when:
- You are studying for a computer science exam (GCSE, A-level, university introductory course)
- You need to spot-check a value mentally during debugging
- You want to understand what is happening under the hood
Use the tool when:
- You are doing real work and need accurate answers fast
- The binary string is more than 8 bits long
- You need to convert many values in a session
The Number Base Converter handles any integer up to 9 quadrillion — far beyond anything you would reasonably do by hand. Type once, copy the hex result, and move on.
Convert Binary to Hex Instantly
Skip the manual steps when you need speed. Type binary, get hex — plus decimal and octal in the same view.
Convert Numbers FreeFrequently Asked Questions
Why does binary to hex use groups of 4?
Because 2^4 = 16, and hexadecimal has exactly 16 symbols (0-9 and A-F). Four binary bits can represent exactly the same range of values as one hex digit, making the mapping clean and lossless.
What is binary 11111111 in hex?
Binary 11111111 = hex FF = decimal 255. This is the maximum value of one byte (8 bits). It is one of the most common conversions in computing.
Can I convert multi-byte binary strings (16-bit, 32-bit)?
Yes. The same method applies — group into sets of 4 from right to left. For a 16-bit value you get 4 hex digits; for 32-bit you get 8 hex digits. The online tool handles all of this instantly.

