Octal para Hex

Converta números octais em hexadecimais sem esforço

Ferramenta de conversão

0 characters

Enter an octal number (0-7). The conversion will automatically handle both positive and negative numbers.

Representação binária:

Representação decimal:

Sobre os sistemas numéricos

Sistema octal

The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. Octal numerals can be made from binary numerals by grouping consecutive binary digits into groups of three (starting from the right).

Sistema hexadecimal

O sistema numérico hexadecimal, ou hexadecimal para abreviar, é um sistema numérico de base 16 que usa os dígitos de 0 a 9 e as letras AF para representar os valores de 10 a 15. O hexadecimal é comumente usado em computação e eletrônica digital porque fornece uma representação mais amigável de valores codificados em binário.

Tabela de conversão de octal para hexadecimal

Octal Hexadecimal Octal Hexadecimal
0 0 10 8
1 1 11 9
2 2 12 A
3 3 13 B
4 4 14 C
5 5 15 D
6 6 16 E
7 7 17 F

Processo de conversão

A conversão de octal para hexadecimal envolve duas etapas principais:

  1. Converta cada dígito octal em seu equivalente binário de 3 bits.
  2. Group the resulting binary digits into sets of four (starting from the right), and convert each group to its hexadecimal equivalent.

Exemplo: Converter octal "75" em hexadecimal

Etapa 1: Converta cada dígito octal em binário de 3 bits:

7 → 111

5 → 101

Passo 2: Combine os dígitos binários:

111 101

Step 3: Group binary digits into sets of four (from right):

0011 1101

Etapa 4: Converta cada grupo de 4 bits em hexadecimal:

0011 → 3

1101 → D

Result:

3D

Related Tools