What this conversion means in practice
Because 16 = 2⁴, you can group binary into nibbles and replace each group with one hex digit—but this page does full integer conversion so uneven lengths and large values stay correct without manual padding errors.
Firmware logs and bus analyzers often show the same value in both bases; bouncing between them quickly helps compare against datasheets written in hex while your trace is binary.
If you only need a quick nibble map, remember: 0000–1111 map to 0–9 and A–F.
Mnemonic: 1010₂ = A₁₆; 11111111₂ = FF₁₆.
How to convert binary to hexadecimal
Treat your input strictly as a base-2 integer: only digits valid for that base are allowed. The tool converts to an exact integer, then prints it in base 16.
Live example: …2 → …16
Unlike unit conversions with a single scale factor, radix conversion rebuilds the digit sequence. The “expand to decimal, then divide out the target base” algorithm matches what you learn in CS—automated here for any size.
Binary
Definition: Base 2: positional notation using only the digits 0 and 1. Each place is a power of 2.
History and origin: Used formally since Leibniz; became central with Boolean logic and electronic switching.
Current use: Machine code, buses, flags, and any representation of bits in computing.
Hexadecimal
Definition: Base 16: digits 0–9 plus A–F for ten through fifteen. One hex digit represents exactly four bits.
History and origin: Adopted widely in computing to shorten binary strings while preserving bit alignment.
Current use: Memory addresses, RGB colors (#RRGGBB), UUIDs, hashes, and debug output.
Binary to Hexadecimal conversion table
| Binary (base 2) | Hexadecimal (base 16) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 1010 | A |
| 11111111 | FF |
| 100000000 | 100 |
| 101010101010 | AAA |
Binary to Hexadecimal FAQ
How many hex digits per byte?
Two. One byte is eight bits, which is two hex digits (e.g. 11111111₂ = FF₁₆).
Why not group bits manually?
Grouping works when length is a multiple of four and you track MSB/LSB. The calculator avoids off-by-one mistakes for arbitrary lengths.
Can I go hex to binary here?
Use the “hex to binary” link (reverse direction) on this pair’s canonical page.