Skip to content
Converters

Hexadecimal to Octal Converter — With Step-by-Step Solution

Convert hexadecimal (base 16) numbers to octal (base 8) instantly, with a step-by-step explanation of the method — perfect for ICT and computer science students.

Example9C → 234

Loading converter…

Files never leave your deviceInstant resultsFree & unlimitedReverse: Octal to Hexadecimal

How to convert hexadecimal to octal (example: 9C)

The simplest way is to go through decimal (or through binary): convert hexadecimal 9C to decimal (156), then convert decimal to octal (234).

Place value chart

Every digit of 9C (base 16) is worth its value multiplied by a power of 16. Adding the last column gives the decimal value 156.

DigitPlace valueContribution
9161 = 16144
C160 = 112

Remember: in base 8 the allowed digits are 01234567; in base 16 they are 0123456789ABCDEF.

Hexadecimal to Octal table

HexadecimalOctal
00
11
22
33
44
55
77
810
A12
F17
1020
1931
2040
3262
40100
64144
7F177
80200
FF377
100400
2001000
3E81750
4002000
7EA3752

Where number systems are used

  • Binary — how CPUs, memory and network packets store every value.
  • Octal — Unix/Linux file permissions such as chmod 755.
  • Hexadecimal — colour codes (#FF5733), MAC addresses, memory dumps and Unicode code points.
  • Decimal — everyday arithmetic, prices and measurements.

About these number systems

Hexadecimal

Hexadecimal (base 16) uses 0–9 and A–F, common in programming, colour codes and memory addresses.

Octal

Octal (base 8) uses digits 0–7. It is used for Unix file permissions (e.g. chmod 755).

Frequently asked questions

What is 9C (hexadecimal) in octal?

9C in base 16 equals 234 in base 8.

Can it convert very large numbers?

Yes. The converter uses arbitrary-precision integers (BigInt), so large numbers convert exactly.

Is this useful for HSC ICT?

Yes. Number systems are part of the HSC ICT syllabus in Bangladesh, and the step-by-step method matches textbook solutions.