My Learning

Keep this for later

Sign in or create a free account to save it. You’ll return to this page afterward.

Sign inCreate an account

Octal to HEX

Convert one nonnegative octal integer to hexadecimal without integer overflow.

Enter one nonnegative whole number, not a list of bytes.

How to use this tool

Enter one octal integer, optionally beginning with 0o, and process it.

Important to know

Convert one nonnegative octal integer to hexadecimal without integer overflow.

This is a number-base conversion, not a text decoder. Digits 8 and 9 are invalid in octal.

Formula and methodology

Repeatedly divide the base-8 integer by 16; map remainders 10–15 to A–F and read the digits in reverse.

Example

Octal 377 is hexadecimal FF.

Frequently asked questions

Can I enter a sequence of octal bytes here?

No. Use Octal to Text for whitespace-separated byte values.