Oktal ke Hex

Ubah bilangan oktal menjadi heksadesimal dengan mudah

Alat Konverter

0 characters

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

Representasi Biner:

Representasi Desimal:

Tentang Sistem Angka

Sistem Oktal

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

Sistem heksadesimal

Sistem angka heksadesimal, atau disingkat hex, adalah sistem bilangan basis-16 yang menggunakan digit 0-9 dan huruf A-F untuk mewakili nilai 10-15. Heksadesimal biasanya digunakan dalam komputasi dan elektronik digital karena memberikan representasi nilai berkode biner yang lebih ramah manusia.

Tabel Konversi Oktal ke Heksadesimal

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

Proses Konversi

Mengonversi dari oktal ke heksadesimal melibatkan dua langkah utama:

  1. Konversi setiap digit oktal ke setara biner 3-bit.
  2. Group the resulting binary digits into sets of four (starting from the right), and convert each group to its hexadecimal equivalent.

Contoh: Konversi Oktal "75" ke Heksadesimal

Langkah 1: Konversi setiap digit oktal menjadi biner 3-bit:

7 → 111

5 → 101

Langkah 2: Gabungkan digit biner:

111 101

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

0011 1101

Langkah 4: Konversi setiap grup 4-bit menjadi heksadesimal:

0011 → 3

1101 → D

Result:

3D

Related Tools