Hex to octal converter

Type a hex value to get the matching octal number with the binary step in between.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter hexadecimal number.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

Turn each hex digit into 4 bits, then regroup the bits into groups of 3 from the point and turn each group into one octal digit.

Example

Inputs: Hexadecimal number = FF. Result: Result in octal: 377.

FF
377

Limits and caveats

  • Negative numbers keep a minus sign in front of the magnitude; they are not shown in two's complement.
  • Up to 2000 digits before the point and 200 after it.

Questions about this tool

How do I convert FF to octal?

FF = 1111 1111 in binary. Regrouped in threes, 011 111 111 = 377.

Why are there no 8s or 9s in the result?

Octal uses only the digits 0 to 7.

Does it support fractions?

Yes. Hex 0.8 is 0.1000 in binary, and grouped in threes from the point that gives octal 0.4.