十六進位到八進位
毫不費力地將十六進位數轉換為八進位
轉換器工具
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.
二進位表示:
十進位表示法:
關於 Number Systems
十六進位系統
十六進位數字系統,或簡稱十六進位,是一種以 16 為基數的數字系統,它使用數位 0-9 和字母 AF 來表示值 10-15。十六進位通常用於計算和數位電子,因為它提供了對二進位編碼值更友好的表示形式。
Octal 系統
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).
十六進位到八進位轉換表
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 |
轉換過程
從十六進位轉換為八進位涉及兩個主要步驟:
- 將每個十六進位數位轉換為其 4 位二進位等效數位。
- Group the resulting binary digits into sets of three (starting from the right), and convert each group to its octal equivalent.
範例:將十六進位 「1A」 轉換為八進位
第 1 步:將每個十六進位數字轉換為 4 位二進位:
1 → 0001
A → 1010
合票:0001 1010
Step 2: Group binary digits into sets of three (from right):
000 110 100
第 3 步:將每個 3 位組轉換為八進位:
000 → 0
110 → 6
100 → 4
Result:
064 (leading zeros can be omitted: 64)