Cómo convertir de número binario a número hexadecimal.
Cómo convertir de base 2 a base ₁₆.
Convert each 4 binary digits to hex digit according to this table:
| Binario | Hexadecimal |
|---|---|
| 0000 | 0 |
| 0001 | 1 |
| 0010 | 2 |
| 0011 | 3 |
| 0100 | 4 |
| 0101 | 5 |
| 0110 | 6 |
| 0111 | 7 |
| 1000 | 8 |
| 1001 | 9 |
| 1010 | A |
| 1011 | B |
| 1100 | C |
| 1101 | D |
| 1110 | E |
| 1111 | F |
Convertir (01001110)₂₂2 a hexadecimal:
(0100)₂₂2 = (4)₁₆₁₆
(1110)₂2 = (E)₁₆₁₆
Entonces
(01001110)₂2 = (4E)₁₆₁₆
Convertir (0100101000000001)₂2 a hexadecimal:
(0100)₂₂2 = (4)₁₆₁₆
(1010)2 = (A)₁₆
(0000)2 = (0)₁₆
(0001)2 = (1)₁₆
Entonces
(0100101000000001)2 = (4A01)₁₆
Cómo convertir hexadecimal a binario