Hex to Octal Converter
Convert hex numbers to octal instantly. For example, hex 3C7 equals 1707 in octal. See the working step by step, and the result in all four bases.
Step-by-step working
How the answer is reached, one step at a time.
All bases
The same number in every base. Copy any row.
How to use Hex to Octal Converter on KickSolve
Three quick steps, no account needed.
Why choose KickSolve
Built for speed, privacy and clean results.
What you can do with Hex to Octal Converter
Everything this tool offers.
About Hex to Octal Converter on KickSolve
What it does and how to get the best results.
How to convert hex to octal
There is no direct shortcut between octal and hex, so convert through binary: write each digit as bits, regroup the bits for the new base, and read off the digits. The worked example below shows every step.
Hex digits and place values
Hexadecimal uses sixteen symbols, 0 to 9 and A to F (A is 10 up to F, which is 15), and each position is worth a power of 16.
Why octal is used
One octal digit equals exactly three bits, which makes octal a compact way to write binary values and Unix permissions.
About this converter
It uses exact big-integer arithmetic. Whole numbers only: negative numbers work with a leading minus sign and prefixes such as 0b, 0o and 0x are accepted. Fractions are not supported. Everything runs in your browser.
Working with other number systems? Try Hex to Binary or Hex to Decimal, convert back with Octal to Hex, or use the Number Base Converter for any base from 2 to 36.
Read the KickSolve privacy policy for details about the site itself.
Worked example: hex 3C7 to octal
The same steps the converter shows for any number.
Write each hexadecimal digit as 4 bits: 3 = 0011 C = 1100 7 = 0111 Join the bits: 001111000111 Group the bits in sets of 3 from the right: 001 111 000 111 001 = 1 111 = 7 000 = 0 111 = 7 Result: 1707
So hex 3C7 equals octal 1707.
Hex to Octal conversion table (0 to 32)
Quick reference for small numbers.
| Hex | Octal | Decimal |
|---|---|---|
| 0 | 0 | 0 |
| 1 | 1 | 1 |
| 2 | 2 | 2 |
| 3 | 3 | 3 |
| 4 | 4 | 4 |
| 5 | 5 | 5 |
| 6 | 6 | 6 |
| 7 | 7 | 7 |
| 8 | 10 | 8 |
| 9 | 11 | 9 |
| A | 12 | 10 |
| B | 13 | 11 |
| C | 14 | 12 |
| D | 15 | 13 |
| E | 16 | 14 |
| F | 17 | 15 |
| 10 | 20 | 16 |
| 11 | 21 | 17 |
| 12 | 22 | 18 |
| 13 | 23 | 19 |
| 14 | 24 | 20 |
| 15 | 25 | 21 |
| 16 | 26 | 22 |
| 17 | 27 | 23 |
| 18 | 30 | 24 |
| 19 | 31 | 25 |
| 1A | 32 | 26 |
| 1B | 33 | 27 |
| 1C | 34 | 28 |
| 1D | 35 | 29 |
| 1E | 36 | 30 |
| 1F | 37 | 31 |
| 20 | 40 | 32 |
Place values of hex
Each position is worth the base raised to a power.
| Position | Power | Value in decimal | In hex |
|---|---|---|---|
| 0 | 16^0 | 1 | 1 |
| 1 | 16^1 | 16 | 10 |
| 2 | 16^2 | 256 | 100 |
| 3 | 16^3 | 4096 | 1000 |
| 4 | 16^4 | 65536 | 10000 |
| 5 | 16^5 | 1048576 | 100000 |
| 6 | 16^6 | 16777216 | 1000000 |
| 7 | 16^7 | 268435456 | 10000000 |
| 8 | 16^8 | 4294967296 | 100000000 |
| 9 | 16^9 | 68719476736 | 1000000000 |
| 10 | 16^10 | 1099511627776 | 10000000000 |
| 11 | 16^11 | 17592186044416 | 100000000000 |
Frequently asked questions
Quick answers.
How do I convert hex to octal?
There is no direct shortcut between octal and hex, so convert through binary: write each digit as bits, regroup the bits for the new base, and read off the digits.
What is 3E8 in octal?
Hex 3E8 equals 1750 in octal.
What is A in octal?
Hex A equals 12 in octal.
What is 40 in octal?
Hex 40 equals 100 in octal.
How do I convert octal back to hex?
Use the swap button above to open the octal to hex converter, or follow the same method in reverse.
What digits are valid in hex?
Hex numbers use 0 to 9 and A to F.
What is hex?
Hexadecimal uses sixteen symbols, 0 to 9 and A to F (A is 10 up to F, which is 15), and each position is worth a power of 16.
Why is octal used?
One octal digit equals exactly three bits, which makes octal a compact way to write binary values and Unix permissions.
Does it support negative numbers or fractions?
Negative whole numbers work with a leading minus sign. Fractions are not supported.
Does it show the working?
Yes. Under the result, the converter lists each step it used to convert hex to octal, so you can check your own homework or learn the method.
Can I see the result in other bases?
Yes. The All bases table shows the same number in binary, octal, decimal and hex, with a Copy button on every row.
Is the converter free and private?
Yes. It is free with no signup, and all conversion happens in your browser.
More free tools from KickSolve
Related everyday tools.