Oktal till Hex

Konvertera oktala tal till hexadecimala utan ansträngning

Verktyg för omvandlare

0 characters

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

Binär representation:

Decimal Representation:

Om talsystem

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 hexadecimala siffersystemet, eller hex för kort, är ett bas-16 talsystem som använder siffrorna 0-9 och bokstäverna AF för att representera värdena 10-15. Hexadecimalt används ofta inom datorer och digital elektronik eftersom det ger en mer människovänlig representation av binärt kodade värden.

Oktal till hexadecimal omvandlingstabell

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

Konvertering process

Konvertering från oktalt till hexadecimalt omfattar två huvudsteg:

  1. Konvertera varje oktal siffra till dess 3-bitars binära motsvarighet.
  2. Group the resulting binary digits into sets of four (starting from the right), and convert each group to its hexadecimal equivalent.

Exempel: Konvertera oktal "75" till hexadecimal

Steg 1: Konvertera varje oktal siffra till 3-bitars binär:

7 → 111

5 → 101

Steg 2: Kombinera de binära siffrorna:

111 101

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

0011 1101

Steg 4: Konvertera varje 4-bitarsgrupp till hexadecimal:

0011 → 3

1101 → D

Result:

3D

Related Tools