💻 Hexadecimal to Binary Converter

Convert Hexadecimal (hex) to Binary (binary) instantly. Hexadecimal to binary conversion.

1 unit =
From
To
Formulae.g. FF = 11111111
UnitNameValue
decimalDecimal (Base 10)
binaryBinary (Base 2)
octalOctal (Base 8)

Quick Answer

Example: FF (Hexadecimal) = 11111111 (Binary)

Method: Replace each hex digit with its 4-bit binary equivalent. E.g. A₁₆ = 1010₂, FF₁₆ = 11111111₂.

Hexadecimal is base-16; Binary is base-2. Use the converter above for any value instantly.

Worked Examples

A in hex = 1010 in binary
FF16 = 111111112
Hexadecimal FF → Binary 11111111
FF = max byte = 11111111₂
A16 = 10102
Hexadecimal A → Binary 1010
CC = 11001100₂
CC16 = 110011002
Hexadecimal CC → Binary 11001100
F0 = 11110000₂ — nibble pattern
F016 = 111100002
Hexadecimal F0 → Binary 11110000

Hexadecimal to Binary Reference Table

Common values from 0 to 1,048,576 — powers of 2 and standard computing values

Hexadecimal (base 16)Binary (base 2)Notes
00Zero
11One
210Two
311
4100Four
5101
6110
7111
81000Eight
91001
A1010Ten
B1011
C1100
D1101
E1110
F1111Max nibble (4-bit)
1010000One hex digit
201000002⁵
4010000002⁶
80100000002⁷
FF11111111Max byte
1001000000002⁸
20010000000002⁹
400100000000001 KiB
8001000000000002 KiB
100010000000000004 KiB
8000100000000000000032 KiB
FFFF1111111111111111Max 16-bit unsigned
10000100000000000000002¹⁶
1000001000000000000000000001 MiB (2²⁰)

How to Convert

Replace each hex digit with 4 bits

F→1111, E→1110, D→1101, C→1100, B→1011, A→1010, 9→1001...

Memorize F, E, A first

F=1111, E=1110, A=1010 are the most common hex values.

Exact conversion

No information is lost — hex and binary are perfectly interchangeable.

Who Uses This Converter?

Software Developer

Converts between binary, hex, and decimal daily for debugging, bitmasking, and memory address analysis.

Computer Science Student

Learns number base conversions as a fundamental concept in computer architecture and digital logic courses.

Network Engineer

Works with IP addresses, subnet masks, and MAC addresses in binary, decimal, and hex representations.

Embedded Systems Engineer

Programs microcontrollers using binary bit patterns and hex register values for hardware configuration.

Digital Electronics Designer

Designs logic circuits using binary truth tables and checks hex values on oscilloscopes and analyzers.

Cybersecurity Analyst

Reads hex dumps, analyzes binary data, and decodes encoded strings during reverse engineering and forensics.

Frequently Asked Questions

About Hexadecimal and Binary Number Systems

Hexadecimal (Base 16)

The hexadecimal (base-16) system uses digits 0–9 and letters A–F (where A=10, B=11, C=12, D=13, E=14, F=15). Hexadecimal became the standard shorthand for binary in computing because exactly 4 bits = 1 hex digit, making byte values compact: 1 byte (8 bits) = 2 hex digits (00–FF).

Hex is ubiquitous in programming: memory addresses (0x7FFF0000), color codes (#FF5733), MAC addresses (AA:BB:CC:DD:EE:FF), IPv6 addresses, and error codes all use hex. The prefix '0x' in code signifies hexadecimal. Every programmer encounters hex daily.

Interesting fact: HTML/CSS color #FFFFFF (white) = RGB(255, 255, 255) = binary 11111111 11111111 11111111. The hex system makes this immediately readable — each pair of hex digits is one color channel. Web color #FF0000 is pure red: maximum red (FF=255), zero green (00), zero blue (00).

Binary (Base 2)

The binary (base-2) number system uses only two digits: 0 and 1. Every number is represented as a sum of powers of 2. It is the fundamental language of all digital computers, since electronic circuits naturally represent two states — on/off, high/low voltage, magnetized/demagnetized.

Binary was formalized by Gottfried Wilhelm Leibniz in 1703, inspired by the ancient Chinese I Ching hexagrams. The modern use of binary in computing traces to Claude Shannon's 1937 master's thesis, which showed that Boolean algebra could be implemented with electrical circuits — the foundation of all digital logic.

Interesting fact: A single binary digit is a 'bit'; 8 bits = 1 byte. A standard 64-bit computer processor works with numbers up to 2⁶⁴ − 1 ≈ 18.4 quintillion simultaneously. The DNA genetic code, though not binary, encodes information in base-4 (ACGT) — life's own digital system.

About Hexadecimal to Binary Conversion

Hexadecimal to binary is essential for reading memory addresses, color values, and binary file formats. Each hex digit expands to exactly 4 binary bits. FF₁₆ = 11111111₂. A₁₆ = 1010₂. Memorize 0–F in binary and you can convert any hex value instantly.

Use the converter above for any value. Results are exact — numeral base conversions involve no rounding or approximation.