Have to deal with several conversions between Octal and Hex (hexadecimal) numeral systems? Then this site is made for you! Use our super handy online tool to convert your data.Welcome!

Octal to Hex converter

How to convert Octal to Hex

The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. Octal is sometimes used in computing instead of hexadecimal, perhaps most often in modern times in conjunction with file permissions under Unix systems. It has the advantage of not requiring any extra symbols as digits. It is also used for digital displays.

Hexadecimal is a positional system that represents numbers using a base of 16. Unlike the common way of representing numbers with ten symbols, it uses sixteen distinct symbols, most often the symbols "0"-"9" to represent values zero to nine, and "A"-"F" to represent values ten to fifteen. Hexadecimal numerals are widely used by computer system designers and programmers, as they provide a human-friendly representation of binary-coded values.

Follow these steps to convert a octal number into hexadecimal form:

The simplest way is to convert the octal number into decimal, then the decimal into hexadecimal form.
  1. Write the powers of 8 (1, 8, 64, 512, 4096, and so on) beside the octal digits from bottom to top.
  2. Multiply each digit by it's power.
  3. Add up the answers. This is the decimal solution.
  4. Divide the decimal number by 16.
  5. Get the integer quotient for the next iteration (if the number will not divide equally by 16, then round down the result to the nearest whole number).
  6. Keep a note of the remainder, it should be between 0 and 15.
  7. Repeat the steps from ftep 4. until the quotient is equal to 0.
  8. Write out all the remainders, from bottom to top.
  9. Convert any remainders bigger than 9 into hex letters. This is the hex solution.
For example if the given octal number is 7165:
DigitPowerMultiplication
75123584
16464
6848
515
Then the decimal solution (3584 + 64 + 48 + 5) is: 3701
DivisionQuotientRemainder
3701 / 162315
231 / 16147
14 / 16014 (E)
Finally the hexadecimal solution is: E75
Switch to desktop version