Table of Contents
Hexadecimal Number System
đˇ Hexadecimal Number System
đ Introduction:
The Hexadecimal Number System is a base-16 number system.
It is widely used in computer systems and digital electronics.
-
It uses 16 digits:
-
From 0 to 9
-
And A to F, where:
A = 10
B = 11
C = 12
D = 13
E = 14
F = 15
-
đĸ Digits Used:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
đ§ Positional Value Concept:
Each digit in a hexadecimal number represents a power of 16, depending on its position.
Value of a Hexadecimal Number
dâ dâââ ... dâ=dâ × 16âŋ + dâââ × 16âŋâģ¹ + ... + dâ × 16¹ + dâ × 16â°
â Example 6:
Convert (1A5C)ââ to Decimal:
Step-by-step:
= 1 à 16Âŗ + A à 16² + 5 à 16š + C à 16â°
= 1 Ã 4096 + 10 Ã 256 + 5 Ã 16 + 12 Ã 1
= 4096 + 2560 + 80 + 12
= (6748)ââ
â So, (1A5C)ââ = (6748)ââ
â Another Example:
(2F)ââ to Decimal
= 2 à 16š + F à 16â°
= 2 Ã 16 + 15 Ã 1
= 32 + 15
= (47)ââ
đ Hexadecimal to Decimal Table:
| Hex | Decimal |
|---|---|
| 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 |
đĄ Applications of Hexadecimal:
Memory addresses in programming (e.g.,
0xFF2A)Color codes in web design (e.g.,
#FF5733)Compact representation of binary data (1 hex digit = 4 binary bits)
Used in machine-level programming
đ§ž Summary:
| Feature | Description |
|---|---|
| Base | 16 |
| Digits Used | 0–9, A–F |
| Positional System | Yes |
| Easy to Convert With | Binary |
| Commonly Used In | Computers, Web, Memory addresses |