10
8
16

Decimal to octal calculation steps

Divide by the base 8 to get the digits from the remainders:

Division
by 8
Quotient

Remainder

(Digit)
Digit #

Octal to Decimal converter ►

How to convert from decimal to octal

Conversion steps:

  1. Divide the number by 8.
  2. Get the integer quotient for the next iteration.
  3. Get the remainder for the octal digit.
  4. 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