Base 16 to Base 2

Hexadecimal to Binary Converter

Every single hexadecimal digit represents exactly 4 binary bits (nibble). Replace each hex digit with its 4-bit binary equivalent (e.g., A = 1010, F = 1111).

Allowed: 0–9, A–F
base 16
Examples:
Binary Result (Primary Target)base 2
1111
Octal (base 8)
17
Decimal (base 10)
15

Step-by-Step Calculation Steps

Bit Expansion (4 binary bits per Hexadecimal digit)
Replace each digit with its corresponding 4-bit binary representation:
Digit-by-Digit Expansion
F ➔ 1111
Binary Result
= 1111

How to Convert Hexadecimal to Binary

Every single hexadecimal digit represents exactly 4 binary bits (nibble). Replace each hex digit with its 4-bit binary equivalent (e.g., A = 1010, F = 1111).

Conversion Formula / Rule
Replace each hex digit with 4 binary bits: d₁₆ ➔ (b₃b₂b₁b₀)₂

Worked Example: 3A (Hexadecimal) to Binary

Problem Convert 3A (base 16) into base 2
Step-by-Step Solution
  1. Separate hex characters: 3 and A
  2. Convert "3" to 4-bit binary: 3 = 0011₂
  3. Convert "A" (10) to 4-bit binary: 10 = 1010₂
  4. Concatenate nibbles: 0011 1010₂
  5. Trim leading zero: 111010₂
Final Result 111010 (Binary)

Quick Conversion Reference Table (0–15)

Standard values across Binary (base 2), Octal (base 8), Decimal (base 10), and Hexadecimal (base 16):

Decimal (10) Binary (2) Octal (8) Hexadecimal (16)
0 0000 0 0
1 0001 1 1
2 0010 2 2
3 0011 3 3
4 0100 4 4
5 0101 5 5
6 0110 6 6
7 0111 7 7
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F

Image preview

Fit