About this tool
Binary (base 2) uses only the digits 0 and 1. Every value stored in a computer is ultimately binary. Hexadecimal (base 16) uses 0–9 and A–F. Each hex digit is exactly four bits, so hex is a compact way to write bytes, memory addresses and colours. This converter handles numbers of any length using big-integer arithmetic, plus fractional parts.
How to use the Binary to Hexadecimal Converter
- Enter the binary number.
- The result updates instantly, with the working shown underneath.
- Use Copy to grab a result, or Reset to start again.
How it works
Because 16 = 2⁴, each hex digit corresponds to exactly four binary digits. Group bits in fours from the right (padding with zeros) and translate each group, or expand each hex digit into four bits.
Formula
Frequently asked questions
What is 11010110 in hexadecimal?
11010110 (binary) = D6 (hexadecimal).
Can I convert negative numbers?
Yes — a leading minus sign is kept. For two’s-complement bit patterns, convert the raw bits instead.