Binary to Hexadecimal Converter

Convert binary numbers to hexadecimal instantly, with step-by-step working.

Digits 0 and 1. Fractions (with a point) and very large numbers are supported.
HexadecimalD6
Octal326
Decimal214
11010110 = 1×2^7 + 1×2^6 + 0×2^5 + 1×2^4 + 0×2^3 + 1×2^2 + 1×2^1 + 0×2^0 = 214 (decimal)

Runs entirely in your browser — nothing you enter is uploaded.

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

  1. Enter the binary number.
  2. The result updates instantly, with the working shown underneath.
  3. 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

regroup bits

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.