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: Decimal is a base-10 numeral system using digits 0 through 9.
History/origin: The most common number system used in everyday counting, historically developed by humans.
Current use: Used universally for arithmetic, financial calculations, and general counting.
| Hexadecimal | Decimal |
|---|---|
| 0 | 0 |
| 1 | 1 |
| A | 10 |
| F | 15 |
| 10 | 16 |
| 1F | 31 |
| FF | 255 |
| 100 | 256 |
Formula: Decimal = Sum of (each hex digit × 16^position)
Example: convert hexadecimal FF to decimal:
F × 16¹ + F × 16⁰ = 15 × 16 + 15 × 1 = 255