Here's a comparison table of Hexadecimal, Decimal, and Binary number systems, showing how values in one system correspond to the others:
| Hexadecimal | Decimal | Binary |
|---|---|---|
| 0 | 0 | 0000 |
| 1 | 1 | 0001 |
| 2 | 2 | 0010 |
| 3 | 3 | 0011 |
| 4 | 4 | 0100 |
| 5 | 5 | 0101 |
| 6 | 6 | 0110 |
| 7 | 7 | 0111 |
| 8 | 8 | 1000 |
| 9 | 9 | 1001 |
| A (10) | 10 | 1010 |
| B (11) | 11 | 1011 |
| C (12) | 12 | 1100 |
| D (13) | 13 | 1101 |
| E (14) | 14 | 1110 |
| F (15) | 15 | 1111 |
| 10 | 16 | 0001 0000 |
| 11 | 17 | 0001 0001 |
| 12 | 18 | 0001 0010 |
| 13 | 19 | 0001 0011 |
| 14 | 20 | 0001 0100 |
| 15 | 21 | 0001 0101 |
| 16 | 22 | 0001 0110 |
| 17 | 23 | 0001 0111 |
| 18 | 24 | 0001 1000 |
| 19 | 25 | 0001 1001 |
| 1A | 26 | 0001 1010 |
| 1B | 27 | 0001 1011 |
| 1C | 28 | 0001 1100 |
| 1D | 29 | 0001 1101 |
| 1E | 30 | 0001 1110 |
| 1F | 31 | 0001 1111 |
| 20 | 32 | 0010 0000 |
- Hexadecimal uses digits 0-9 and letters A-F to represent values from 0 to 15.
- Decimal is the standard base-10 system (0-9).
- Binary uses base-2, representing values using only 0 and 1.
In the table:
- Hexadecimal
Acorresponds to Decimal10and Binary1010. - Each hexadecimal digit corresponds to a 4-bit binary group.