Base 8 (Octal) to Base 16 (Hexadecimal) conversion calculator

→

1 oct = 1 hex

Base 8 (Octal) to Base 16 (Hexadecimal) conversion formula

Base 8 (Octal) to Base 16 (Hexadecimal) conversion formula

To convert from Base 8 (Octal) to Base 16 (Hexadecimal), first convert the number to decimal (multiply each digit by 8 raised to the power of its position, counting from 0 at the right-hand end, and add the results), then convert the decimal number to Base 16 (Hexadecimal) (divide by 16 repeatedly and read the remainders from last to first).

In base 16 the digits 10 to 15 are written A to F.

Example: 144 oct = 100 dec = 64 hex

Base 8 (Octal) to Base 16 (Hexadecimal) calculation

1 oct = 1 dec 1 dec = 1 hex

Base 16 (Hexadecimal) to Base 8 (Octal) (Swap units)

 

 

Base 8 (Octal) to Base 16 (Hexadecimal) table

Base 8 (Octal) Base 16 (Hexadecimal)
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
20 10
21 11
22 12
23 13
24 14
25 15
26 16
27 17
30 18
Base 8 (Octal) Base 16 (Hexadecimal)
31 19
32 1A
33 1B
34 1C
35 1D
36 1E
37 1F
40 20
41 21
42 22
43 23
44 24
45 25
46 26
47 27
50 28
51 29
52 2A
53 2B
54 2C
55 2D
56 2E
57 2F
60 30
61 31
Base 8 (Octal) Base 16 (Hexadecimal)
62 32
63 33
64 34
65 35
66 36
67 37
70 38
71 39
72 3A
73 3B
74 3C
75 3D
76 3E
77 3F
100 40
101 41
102 42
103 43
104 44
105 45
106 46
107 47
110 48
111 49
112 4A
Base 8 (Octal) Base 16 (Hexadecimal)
113 4B
114 4C
115 4D
116 4E
117 4F
120 50
121 51
122 52
123 53
124 54
125 55
126 56
127 57
130 58
131 59
132 5A
133 5B
134 5C
135 5D
136 5E
137 5F
140 60
141 61
142 62
143 63