Heksadecimal në Oktal

Konvertoni numrat heksadecimalë në oktalë pa mundim

Mjet Konvertues

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.

Përfaqësimi Binar:

Përfaqësimi dhjetor:

Rreth Sistemeve të Numrave

Sistemi Heksadecimal

Sistemi numerik heksadecimal, ose shkurt heksadecimal, është një sistem numrash me bazë 16 që përdor shifrat 0-9 dhe shkronjat AF për të përfaqësuar vlerat 10-15. Sistemi heksadecimal përdoret zakonisht në informatikë dhe elektronikën dixhitale sepse ofron një përfaqësim më miqësor ndaj njeriut të vlerave të koduara binar.

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

Tabela e Konvertimit Heksadecimal në Oktal

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

Procesi i konvertimit

Konvertimi nga heksadecimal në oktal përfshin dy hapa kryesorë:

  1. Konvertoni çdo shifër heksadecimale në ekuivalentin e saj binar 4-bitësh.
  2. Group the resulting binary digits into sets of three (starting from the right), and convert each group to its octal equivalent.

Shembull: Konvertoni heksadecadën "1A" në oktal

Hapi 1: Konvertoni çdo shifër heksadecimale në një sistem binar 4-bitësh:

1 → 0001

A → 1010

Të kombinuara: 0001 1010

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

000 110 100

Hapi 3: Konvertoni çdo grup 3-bitësh në oktal:

000 → 0

110 → 6

100 → 4

Result:

064 (leading zeros can be omitted: 64)

Related Tools