Decimal to Octal Converter
To convert a decimal number to octal, divide the number by 8 repeatedly and collect the remainders. The octal number is formed by reading the remainders from bottom to top.
Octal Digit to Decimal Conversion Mapping
Octal Digit | Decimal Value |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
Example: Convert Decimal 345 to Octal
Division Step | Division Expression | Quotient | Remainder | Octal Digit |
---|---|---|---|---|
1 | 345 ÷ 8 | 43 | 1 | 1 |
2 | 43 ÷ 8 | 5 | 3 | 3 |
3 | 5 ÷ 8 | 0 | 5 | 5 |
Octal Result: | 531 |
The octal equivalent of the decimal number 345 is 531 .