Da esagono a ottale

Converti facilmente i numeri esadecimali in ottali

Strumento di conversione

0 characters

Enter a hexadecimal number (0-9, A-F). The '0x' prefix is optional. The conversion will automatically handle both positive and negative numbers.

Rappresentazione binaria:

Rappresentazione decimale:

Informazioni sui sistemi numerici

Sistema esadecimale

Il sistema numerico esadecimale, o esadecimale in breve, è un sistema numerico in base 16 che utilizza le cifre 0-9 e le lettere A-F per rappresentare i valori 10-15. L'esadecimale è comunemente usato nell'informatica e nell'elettronica digitale perché fornisce una rappresentazione più intuitiva dei valori codificati binari.

Sistema ottale

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).

Tabella di conversione da esadecimale a ottale

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

Processo di conversione

La conversione da esadecimale a ottale prevede due passaggi principali:

  1. Converti ogni cifra esadecimale nel suo equivalente binario a 4 bit.
  2. Group the resulting binary digits into sets of three (starting from the right), and convert each group to its octal equivalent.

Esempio: conversione esadecimale "1A" in ottale

Passaggio 1: converti ogni cifra esadecimale in binario a 4 bit:

1 → 0001

A → 1010

Combinato: 0001 1010

Step 2: Group binary digits into sets of three (from right):

000 110 100

Passaggio 3: convertire ogni gruppo a 3 bit in ottale:

000 → 0

110 → 6

100 → 4

Result:

064 (leading zeros can be omitted: 64)

Related Tools