Hexadecimal Converter

Convert hexadecimal numbers to binary, decimal, and octal with comprehensive results and explanations.

Hex → All
Binary → Hex
Decimal → Hex
Octal → Hex

Valid hex digits: 0-9, A-F. Case insensitive. Supports fractional hex numbers.

Understanding Hexadecimal

Hexadecimal System

Hexadecimal (base-16) uses 16 digits: 0-9 and A-F. Each digit represents 4 binary bits, making hex a compact way to represent binary data. Perfect for memory addresses and color codes.

Hex digits and their decimal values:
0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
A = 10
B = 11
C = 12
D = 13
E = 14
F = 15

Common Uses

  • Web Colors: RGB values like #FF0000 (red)
  • Memory Addresses: CPU and RAM locations
  • Network MAC Addresses: Hardware identifiers
  • Unicode Characters: Character encoding
  • File Signatures: Magic numbers in files
  • Checksums: Data integrity verification

Hex Conversion Tips

  • Binary groups: Every 4 binary digits = 1 hex digit
  • Leading zeros: Add zeros to make binary length divisible by 4
  • Case insensitive: 'A' and 'a' both represent the same value
  • 0x prefix: Common notation for hex numbers in programming (0xFF)
  • Color codes: 6-digit hex codes represent RGB colors