ヘックスからオクタル
16進数を8進数に簡単に変換
コンバータツール
Enter a hexadecimal number (0-9, A-F). The '0x' prefix is optional. The conversion will automatically handle both positive and negative numbers.
バイナリ表現:
10進数表現:
番号システムについて
16進法
16進数システム、または略して16進数は、0〜9の数字と文字A〜Fを使用して10〜15の値を表す16進数システムです。16進数は、バイナリコード化された値をより人間に優しい表現を提供するため、コンピューティングやデジタル電子機器で一般的に使用されています。
オクタルシステム
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).
16進数から8進数への変換テーブル
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 |
変換プロセス
16進数から8進数への変換には、主に2つの手順があります。
- 各 16 進数を 4 ビットのバイナリ等価物に変換します。
- Group the resulting binary digits into sets of three (starting from the right), and convert each group to its octal equivalent.
例:ヘキサ「1A」をオクタルに変換する
ステップ1:各16進数を4ビットバイナリに変換します。
1 → 0001
A → 1010
複合:0001 1010
Step 2: Group binary digits into sets of three (from right):
000 110 100
ステップ3:各3ビットグループを8進数に変換します。
000 → 0
110 → 6
100 → 4
Result:
064 (leading zeros can be omitted: 64)