JSONToonPro
Number converter tool

Octal to Hex Converter

Convert octal numbers (base 8) to hexadecimal (base 16) instantly. The tool handles the octal → binary → hex conversion automatically. Enter any octal value and get the hex result in real time.

100% client sideInstant resultNo data sent
Octal to Hexadecimal
Octal (Base 8)
Hexadecimal (Base 16)
Result appears here...

How to Convert Octal to Hexadecimal

Converting octal to hexadecimal by hand is straightforward once you know the routine. The converter above does it instantly, but working through the steps yourself is the fastest way to understand what is actually happening to the digits.

  1. Convert each octal digit into its 3 digit binary form.
  2. Join all the bits together into one binary string.
  3. Regroup that binary string into blocks of 4, working from the right and padding the left with zeros.
  4. Convert each block into a single hexadecimal digit.

Worked example: 764

Each digit to binary: 111 110 100
Joined binary: 111110100
Regrouped into 4 bit blocks: 0001 1111 0100
Each block converted: 0001 = 1, 1111 = F, 0100 = 4

Result: (764)⁸ = (1F4)¹⁶

The Octal System

Octal is the base 8 numeral system and uses the digits 0 through 7. Its usefulness comes from the fact that one octal digit maps exactly onto three binary digits, so it is a compact way to write binary without doing real arithmetic. Octal was common on early minicomputers with 12, 24, and 36 bit words. Today the place most developers still meet it is Unix file permissions, where a command such as chmod 755 sets read, write, and execute bits three at a time.

Octal uses the digits 0 through 7.

The Hexadecimal System

Hexadecimal is the base 16 system. It uses the digits 0 through 9 and then the letters A through F to stand for the values 10 through 15. Its key property is that one hex digit represents exactly four binary digits, a nibble, so a single byte is always two hex characters. That compactness is why hex shows up everywhere in computing: HTML colour codes such as FFFFFF for white and 000000 for black, memory addresses, MAC addresses, hash digests, and byte level debugging output.

Hexadecimal uses the digits 0 through 9 and A through F.

Octal to Hexadecimal Conversion Examples

(100)⁸ = (40)¹⁶
(377)⁸ = (FF)¹⁶
(2000)⁸ = (400)¹⁶

Octal to Hexadecimal Conversion Chart

A full reference table for the values 1 to 256. Use it to check a conversion quickly or to look up a common value without typing anything.

OctalHexadecimal
11
22
33
44
55
66
77
108
119
12A
13B
14C
15D
16E
17F
2010
2111
2212
2313
2414
2515
2616
2717
3018
3119
321A
331B
341C
351D
361E
371F
4020
4121
4222
4323
4424
4525
4626
4727
5028
5129
522A
532B
542C
552D
562E
572F
6030
6131
6232
6333
6434
6535
6636
6737
7038
7139
723A
733B
743C
753D
763E
773F
10040
OctalHexadecimal
10141
10242
10343
10444
10545
10646
10747
11048
11149
1124A
1134B
1144C
1154D
1164E
1174F
12050
12151
12252
12353
12454
12555
12656
12757
13058
13159
1325A
1335B
1345C
1355D
1365E
1375F
14060
14161
14262
14363
14464
14565
14666
14767
15068
15169
1526A
1536B
1546C
1556D
1566E
1576F
16070
16171
16272
16373
16474
16575
16676
16777
17078
17179
1727A
1737B
1747C
1757D
1767E
1777F
20080
OctalHexadecimal
20181
20282
20383
20484
20585
20686
20787
21088
21189
2128A
2138B
2148C
2158D
2168E
2178F
22090
22191
22292
22393
22494
22595
22696
22797
23098
23199
2329A
2339B
2349C
2359D
2369E
2379F
240A0
241A1
242A2
243A3
244A4
245A5
246A6
247A7
250A8
251A9
252AA
253AB
254AC
255AD
256AE
257AF
260B0
261B1
262B2
263B3
264B4
265B5
266B6
267B7
270B8
271B9
272BA
273BB
274BC
275BD
276BE
277BF
300C0
OctalHexadecimal
301C1
302C2
303C3
304C4
305C5
306C6
307C7
310C8
311C9
312CA
313CB
314CC
315CD
316CE
317CF
320D0
321D1
322D2
323D3
324D4
325D5
326D6
327D7
330D8
331D9
332DA
333DB
334DC
335DD
336DE
337DF
340E0
341E1
342E2
343E3
344E4
345E5
346E6
347E7
350E8
351E9
352EA
353EB
354EC
355ED
356EE
357EF
360F0
361F1
362F2
363F3
364F4
365F5
366F6
367F7
370F8
371F9
372FA
373FB
374FC
375FD
376FE
377FF
400100

Need a different pair of bases? Browse every number converter tool including binary, octal, decimal, and hexadecimal in both directions.

Frequently asked questions

4 answers
Convert octal to binary first (each octal digit = 3 bits), then regroup into sets of 4 bits from the right and convert to hex. For example, octal 377 → 011 111 111 in binary → 1111 1111 → 0xFF. This two-step method always works because both bases are powers of 2.

More JSON Tools

About Octal to Hex Conversion

Octal to hex conversion bridges two important but non-directly-mappable number systems. Because 8 = 2³ and 16 = 2⁴ do not share a common exponent, there is no single-digit lookup table between them. The conversion always passes through binary as a natural intermediate. This tool handles all three steps, octal digits to 3-bit groups, bit reassembly, then 4-bit groups to hex digits, so you get the correct hexadecimal output from any octal input without manual calculation.