Decimal to Octal Converter
* You can enter decimals with e notation. e.g: 572 = 5.72e2.
Decimal
Decimal number is a number expressed in the base 10 numeral system. Decimal number's digits have 10 symbols: 0,1,2,3,4,5,6,7,8,9. Each digit of a decimal number counts a power of 10.
Decimal number example:
65310 = 6×102+5×101+3×100
Octal
Octal number is a number expressed in the base 8 numeral system. Octal number's digits have 8 symbols: 0,1,2,3,4,5,6,7. Each digit of an octal number counts a power of 16.
Octal number example:
6278 = 6×82+2×81+7×80 = 158010
How to convert from decimal to octal
Conversion steps:
- Divide the number by 8.
- Get the integer quotient for the next iteration.
- Get the remainder for the octal digit.
- Repeat the steps until the quotient is equal to 0.
Example #1
Convert 756210 to octal:
Division by 8 |
Quotient (integer) |
Remainder (decimal) |
Remainder (octal) |
Digit # |
| 7562/8 |
945 |
2 |
2 |
0 |
| 945/8 |
118 |
1 |
1 |
1 |
| 118/8 |
14 |
6 |
6 |
2 |
| 14/8 |
1 |
6 |
6 |
3 |
| 1/8 |
0 |
1 |
1 |
4 |
So 756210 = 166128
Example #2
Convert 3563110 to octal:
Division by 8 |
Quotient |
Remainder (decimal) |
Remainder (octal) |
Digit # |
| 35631/8 |
4453 |
7 |
7 |
0 |
| 4453/8 |
556 |
5 |
5 |
1 |
| 556/8 |
69 |
4 |
4 |
2 |
| 69/8 |
8 |
5 |
5 |
3 |
| 8/8 |
1 |
0 |
0 |
4 |
| 1/8 |
0 |
1 |
1 |
5 |
So 3563110 = 1054578
Decimal to octal conversion table
| Decimal base 10 |
Octal base 8 |
| 0 |
0 |
| 1 |
1 |
| 2 |
2 |
| 3 |
3 |
| 4 |
4 |
| 5 |
5 |
| 6 |
6 |
| 7 |
7 |
| 8 |
10 |
| 9 |
11 |
| 10 |
12 |
| 11 |
13 |
| 12 |
14 |
| 13 |
15 |
| 14 |
16 |
| 15 |
17 |
| 16 |
20 |
| 17 |
21 |
| 18 |
22 |
| 19 |
23 |
| 20 |
24 |
| 21 |
25 |
| 22 |
26 |
| 23 |
27 |
| 24 |
30 |
| 25 |
31 |
| 26 |
32 |
| 27 |
33 |
| 28 |
34 |
| 29 |
35 |
| 30 |
36 |
| 40 |
50 |
| 50 |
62 |
| 60 |
74 |
| 70 |
106 |
| 80 |
120 |
| 90 |
132 |
| 100 |
144 |
| 200 |
310 |
| 1000 |
1750 |
| 2000 |
3720 |