Oktal til hex

Konverter oktale tal til hexadecimale uden besvær

konverterværktøj

0 characters

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

binær repræsentation:

decimal repræsentation:

Om talsystemer

Oktalt system

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

hexadecimalt System

Det hexadecimale talsystem, eller forkortet hex, er et base-16-talsystem, der bruger cifrene 0-9 og bogstaverne A-F til at repræsentere værdierne 10-15. Hexadecimal bruges almindeligvis i computere og digital elektronik, fordi det giver en mere menneskevenlig repræsentation af binære kodede værdier.

Konverteringsproces for oktal til hexadecimal konverteringstabel

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

Konverteringsproces Kopier

Konvertering fra oktal til hexadecimal involverer to hovedtrin:

  1. Konverter hvert oktalt ciffer til dets 3-bit binære ækvivalent.
  2. Group the resulting binary digits into sets of four (starting from the right), and convert each group to its hexadecimal equivalent.

Eksempel: Konverter oktal "75" til hexadecimal

Trin 1: Konverter hvert oktalt ciffer til 3-bit binært:

7 → 111

5 → 101

Trin 2: Kombiner de binære cifre:

111 101

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

0011 1101

Trin 4: Konverter hver 4-bit gruppe til hexadecimal:

0011 → 3

1101 → D

Result:

3D

Related Tools