💻 Binary to Hexadecimal Converter

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

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

Quick Answer

Example: 11111111 (Binary) = FF (Hexadecimal)

Method: Group binary digits in sets of 4 from the right. Each group converts to one hex digit. E.g. 1010₂ = A₁₆.

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

Worked Examples

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

Binary to Hexadecimal Reference Table

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

Binary (base 2)Hexadecimal (base 16)Notes
00Zero
11One
102Two
113
1004Four
1015
1106
1117
10008Eight
10019
1010ATen
1011B
1100C
1101D
1110E
1111FMax nibble (4-bit)
1000010One hex digit
100000202⁵
1000000402⁶
10000000802⁷
11111111FFMax byte
1000000001002⁸
10000000002002⁹
100000000004001 KiB
1000000000008002 KiB
100000000000010004 KiB
1000000000000000800032 KiB
1111111111111111FFFFMax 16-bit unsigned
10000000000000000100002¹⁶
1000000000000000000001000001 MiB (2²⁰)

How to Convert

Group 4 bits from right

Pad left with zeros to make groups of 4. 101₂ → 0101₂ = 5₁₆.

Memorize 0000–1111

16 combinations map to 0–9 and A–F. Know these by heart.

4 bits = 1 hex digit

1 byte = 8 bits = 2 hex digits. Always exact — no rounding.

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 Binary and Hexadecimal Number Systems

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.

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).

About Binary to Hexadecimal Conversion

Binary to hexadecimal is used constantly in programming: memory dumps, color codes, and network addresses all use hex. The key rule: group 4 binary bits → 1 hex digit. 8 bits → 2 hex digits (one byte). 11111111₂ = FF₁₆ — the most important pair to memorize.

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