Convert Octal to Hexadecimal
1 Octal (oct) = 1 Hexadecimal (hex). Use the free converter below to instantly convert any octal value to hexadecimal, or view the full conversion table and formula.
1 oct = 1 hex
Octal to Hexadecimal Conversion Table
How to Convert Octal to Hexadecimal
To convert octal to hexadecimal, first convert the octal number to decimal by expanding each digit, then convert the decimal result to hexadecimal. This is a standard base-8 to base-16 conversion.
Worked Example: Convert 10 oct to hex
Start with the value in octal
10 oct
Apply the formula
Convert 10 → decimal → hexadecimal (base 8 → 16)
Calculate the result
10 oct = 8 hex
Octal to Hexadecimal Examples
0 oct is equal to 0 hex. Using the formula Convert octal → decimal → hexadecimal (base 8 → 16), 0 oct converts to 0 hex.
1 oct is equal to 1 hex. Using the formula Convert octal → decimal → hexadecimal (base 8 → 16), 1 oct converts to 1 hex.
7 oct is equal to 7 hex. Using the formula Convert octal → decimal → hexadecimal (base 8 → 16), 7 oct converts to 7 hex.
10 oct is equal to 8 hex. Using the formula Convert octal → decimal → hexadecimal (base 8 → 16), 10 oct converts to 8 hex.
17 oct is equal to F hex. Using the formula Convert octal → decimal → hexadecimal (base 8 → 16), 17 oct converts to F hex.
20 oct is equal to 10 hex. Using the formula Convert octal → decimal → hexadecimal (base 8 → 16), 20 oct converts to 10 hex.
77 oct is equal to 3F hex. Using the formula Convert octal → decimal → hexadecimal (base 8 → 16), 77 oct converts to 3F hex.
100 oct is equal to 40 hex. Using the formula Convert octal → decimal → hexadecimal (base 8 → 16), 100 oct converts to 40 hex.
Converting Hexadecimal to Octal
Need the reverse conversion? Use the table below for a quick reference converting hexadecimal back to octal.
| Hexadecimal (hex) | Octal (oct) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| A | 12 |
| F | 17 |
| 10 | 20 |
| 1F | 37 |
Octal to Hexadecimal FAQ
What is octal?
Octal is a base-8 number system. It uses 8 distinct digits to represent values.
How do I convert octal to hexadecimal?
Convert the octal number to base 16. First convert octal to decimal, then convert decimal to hexadecimal.
Why is octal used in computing?
Octal (base-8) is used in computing because it provides a compact way to represent groups of 3 binary bits.
Understanding Octal and Hexadecimal
What is an Octal (oct)?
The octal (oct) is a specialized unit of number systems. It is commonly abbreviated as oct and relates to hexadecimal by a factor of 1.
What is a Hexadecimal (hex)?
The hexadecimal (hex) is a specialized unit of number systems. It is commonly abbreviated as hex and relates to octal by a factor of 1.