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:
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
Percentage Calculator
→Calculate percentages three ways: what is X% of Y, X is what percent of Y, and Y increased or decreased by X%.
Percentage Change Calculator
→Calculate the percentage increase or decrease between two values, with the absolute difference and direction.
Percentage Difference Calculator
→Find the percentage difference between two values relative to their average — the symmetric comparison used in science and engineering.
Discount Calculator
→Calculate the sale price after a discount, how much you save, and the final price with sales tax included.