Convert Hexadecimal to Octal
1 Hexadecimal (hex) = 1 Octal (oct). Use the free converter below to instantly convert any hexadecimal value to octal, or view the full conversion table and formula.
1 hex = 1 oct
Hexadecimal to Octal Conversion Table
How to Convert Hexadecimal to Octal
To convert hexadecimal to octal, first convert the hexadecimal number to decimal by expanding each digit, then convert the decimal result to octal. This is a standard base-16 to base-8 conversion.
Worked Example: Convert F hex to oct
Start with the value in hexadecimal
F hex
Apply the formula
Convert F → decimal → octal (base 16 → 8)
Calculate the result
F hex = 17 oct
Hexadecimal to Octal Examples
0 hex is equal to 0 oct. Using the formula Convert hexadecimal → decimal → octal (base 16 → 8), 0 hex converts to 0 oct.
1 hex is equal to 1 oct. Using the formula Convert hexadecimal → decimal → octal (base 16 → 8), 1 hex converts to 1 oct.
A hex is equal to 12 oct. Using the formula Convert hexadecimal → decimal → octal (base 16 → 8), A hex converts to 12 oct.
F hex is equal to 17 oct. Using the formula Convert hexadecimal → decimal → octal (base 16 → 8), F hex converts to 17 oct.
10 hex is equal to 20 oct. Using the formula Convert hexadecimal → decimal → octal (base 16 → 8), 10 hex converts to 20 oct.
1F hex is equal to 37 oct. Using the formula Convert hexadecimal → decimal → octal (base 16 → 8), 1F hex converts to 37 oct.
20 hex is equal to 40 oct. Using the formula Convert hexadecimal → decimal → octal (base 16 → 8), 20 hex converts to 40 oct.
40 hex is equal to 100 oct. Using the formula Convert hexadecimal → decimal → octal (base 16 → 8), 40 hex converts to 100 oct.
Converting Octal to Hexadecimal
Need the reverse conversion? Use the table below for a quick reference converting octal back to hexadecimal.
| Octal (oct) | Hexadecimal (hex) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 7 | 7 |
| 10 | 8 |
| 17 | F |
| 20 | 10 |
Hexadecimal to Octal FAQ
What is hexadecimal?
Hexadecimal is a base-16 number system. It uses 16 distinct digits to represent values.
How do I convert hexadecimal to octal?
Convert the hexadecimal number to base 8. First convert hexadecimal to decimal, then convert decimal to octal.
Why is hexadecimal used in computing?
Hexadecimal (base-16) is used in computing because each hex digit maps to exactly 4 binary bits, making it compact for representing binary data.
Understanding Hexadecimal and Octal
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.
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.