Skip to content
BombersFM

Binary ↔ Hex Converter

Convert any number between binary, hexadecimal, octal, and decimal, with bit length and byte size shown for each result.

Hexadecimal

D6

Breakdown

Binary
1101 0110
Octal
326
Decimal
214
Bit length
8
Bytes
1
Hex digits
2
High nibble (÷16)
13
Low nibble (mod 16)
6

Last updated:

Was this calculator helpful?
Advertisement

FAQ

How do I convert binary to hex by hand?

Group the binary digits in fours from the right and map each nibble: 1101 0110 → D6. Each hex digit is exactly four bits, which is why hex became the programmer's shorthand for binary.

How do I convert hex to decimal by hand?

Multiply each digit by its power of 16 and sum: D6 = 13×16 + 6 = 214. Going the other way, divide by 16 repeatedly and read the remainders bottom-up: 214 → 13 r 6 → D6.

Why does octal exist?

Octal groups bits in threes and was natural on 12-, 24-, and 36-bit machines. It survives in Unix file permissions (755) because each digit maps onto the rwx permission bits exactly.

Related Calculators