To convert octal to hexadecimal we have to transform input value in base 8 to base-16 system.
The following is a conversion chart to help you compare values in base 8 with base 16:
| Value in Base 8 | Base 16 |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 10 | 8 |
| 11 | 9 |
| 12 | A |
| 13 | B |
| 14 | C |
| 15 | D |
| 16 | E |
| 17 | F |