Number bases

Hex to Binary Converter

Convert hexadecimal numbers to binary instantly, with the step-by-step method and a reference table.

11111111

Whole numbers of any size are supported (exact big-integer arithmetic).

How to convert hexadecimal to binary

Because 16 = 2^4, every hexadecimal digit corresponds to exactly 4 binary digits. Group the bits in sets of 4 from the right — or expand each digit into 4 bits.

ExampleB6₍16₎ = 1011 0110₂

About the number systems

Hexadecimal

Base 16 uses 0–9 and A–F (A = 10 … F = 15). One hex digit is exactly four bits, so two hex digits describe a byte — used for colours (#FF8800), memory addresses and checksums.

Binary

Base 2 uses only the digits 0 and 1. Every value in a computer is ultimately stored as binary; each binary digit is a bit.

Hexadecimal to binary table

Hexadecimal to binary
HexadecimalBinary
00
11
210
311
4100
5101
6110
7111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111
1010000
1F11111
20100000
3F111111
401000000
641100100
7F1111111
8010000000
FF11111111
100100000000
3E81111101000
40010000000000
10001000000000000
FFFF1111111111111111

Frequently asked questions

How do I convert hexadecimal to binary?

Because 16 = 2^4, every hexadecimal digit corresponds to exactly 4 binary digits. Group the bits in sets of 4 from the right — or expand each digit into 4 bits. Example B6₍16₎ = 1011 0110₂

What is FF in binary?

FF (hexadecimal) = 11111111 in binary.

Can I convert very large numbers?

Yes. The converter uses exact big-integer arithmetic, so there is no rounding even for long inputs.

Try “psi to bar”, “cups”, “binary” or “5 ft in cm”.