Hexadecimal to Octal
Convert hexadecimal to octal instantly — expand each hex digit to four bits, then regroup those bits into threes and read them as octal digits. Type in either box to convert both ways. Handy when a value written in hexadecimal needs to be expressed in base eight, as in some file permissions and legacy formats.
Hexadecimal to Octal conversion table
| Hexadecimal | Octal |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 4 | 4 |
| 8 | 10 |
| A | 12 |
| 10 | 20 |
| 20 | 40 |
| 40 | 100 |
| 64 | 144 |
| 80 | 200 |
| FF | 377 |
| 100 | 400 |
How to convert hexadecimal to octal
To convert hexadecimal to octal, expand each hex digit to four bits, then regroup those bits into threes and read them as octal digits. For example, A in hexadecimal is 12 in octal. The converter above validates each digit for its base and updates as you type, and the swap button flips the direction so you can go from octal back to hexadecimal just as quickly.
Frequently asked questions
How do you convert hexadecimal to octal?
To convert hexadecimal to octal, expand each hex digit to four bits, then regroup those bits into threes and read them as octal digits. For example, A in hexadecimal is 12 in octal. The converter above does it instantly — type a hexadecimal value on the left and the octal result appears on the right, and you can type in either box to convert in the opposite direction. It only accepts valid digits for each base, so a stray character simply clears the result rather than giving a wrong answer.
What is A in octal?
A in hexadecimal equals 12 in octal. The conversion table on this page lists common values — 1 is 1, and it continues up to 100 = 400 — so you can read off everyday values at a glance. Any value in between converts exactly too, because the tool carries the full number rather than the rounded figures printed here.
What is the difference between binary, decimal and hexadecimal?
They are just different bases — different numbers of digits before you carry over. Decimal (base 10) is the everyday system with digits 0–9. Binary (base 2) uses only 0 and 1, which is how computers store everything at the hardware level. Hexadecimal (base 16) uses 0–9 then A–F, and is a compact way to write long binary values because each hex digit maps to exactly four bits. The same quantity can be written in any base; only its notation changes.
Is this hexadecimal to octal converter free and accurate?
Yes — it is completely free with no sign-up, and it converts exactly using the standard positional method, validating that every digit is legal for its base. Handy when a value written in hexadecimal needs to be expressed in base eight, as in some file permissions and legacy formats. Everything runs locally in your browser, so nothing you enter is uploaded or stored. For octal, custom bases and step-by-step breakdowns, the full number base converter handles any base from 2 to 36.
More conversions
Octal → HexadecimalBinary → DecimalDecimal → BinaryHexadecimal → DecimalDecimal → HexadecimalBinary → HexadecimalHexadecimal → BinaryOctal → DecimalDecimal → OctalOctal → BinaryBinary → Octal Number base converter →