Part of the Math & Statistics suite · 235 calculators

Hex to Binary Converter

Convert hexadecimal to binary — each hex digit expands to exactly four bits.

Every hex digit becomes four binary digits, independently of the others: F is 1111, A is 1010, 7 is 0111.

Results update as you type
Results
Converted
1001010101
Decimal value
Binary
Octal
Hexadecimal
Bits needed
Reviewed September 2026. Pure mathematics: the result does not depend on where you are. Terminology follows US usage (math, parentheses, decimal point).
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About hex to binary converter

How the hex to binary converter works

Every hex digit becomes four binary digits, independently of the others: F is 1111, A is 1010, 7 is 0111. Concatenate them and you have the binary.

Because the mapping is per-digit, there is no carrying and no arithmetic — which is why hex is the standard shorthand for binary data in memory dumps, color codes and MAC addresses.

Formula: value = Σ digitₖ × bᵏ

Worked examples

InputsConvertedNote
FF1111111111111111
A10101010
A color channel1000000010000000

Frequently asked questions

How do I convert hex to binary?

Expand each hex digit to its four-bit pattern and join them: F is 1111.

Is hex case-sensitive?

No. FF and ff are the same value.

What is FF in binary?

11111111 — eight ones, which is 255.

Why is hex used for colors?

Because each color channel is one byte, and a byte is exactly two hex digits. #FF8000 is three bytes.

How many bits is one hex digit?

Exactly four.

Where these figures come from

Last checked: September 2026. Formulas are fixed by mathematics and do not change with tax years or regulations.