Definition: Hexadecimal is a base-16 numeral system using digits 0-9 and letters A-F.
History/origin: Used widely in computing and digital electronics as a compact representation of binary data.
Current use: Common in programming, memory addressing, and color codes in web design.
Definition: Binary is a base-2 numeral system using only two digits, 0 and 1.
History/origin: Used in digital electronics and computing as it represents two states (off/on).
Current use: Fundamental to computer systems, data representation, and digital communication.
Hexadecimal | Binary |
---|---|
0 | 00000000 |
1 | 00000001 |
A | 00001010 |
F | 00001111 |
10 | 00010000 |
FF | 11111111 |
1A3 | 110100011 |
Formula: Binary = Hexadecimal converted to decimal, then decimal to base-2 string
Example: convert hexadecimal FF to binary:
FF (hex) = 255 (decimal)
255 in binary = 11111111