Convert from Decimal (Base 10) to Octal (Base 8)

Perform the conversion of numbers between different numerical systems.

Decimal (Base 10) = Octal (Base 8)

Convert from Octal (Base 8) to Decimal (Base 10)

Information about conversion units:

About Decimal (Base 10)

The Decimal Number System is a positional numeral system and is the system that we all use without realizing why. The Decimal System uses 10 digits (from 0 to 9). By combining these digits, larger numbers can be expressed.

About Octal (Base 8)

The octal system is the positional numeral system with a base of 8, using the Arabic-Indic digits: 0, 1, 2, 3, 4, 5, 6, 7. In computing, octal numbering is sometimes used instead of hexadecimal. It has the advantage of not requiring symbols other than digits.

Decimal (Base 10) vs Octal (Base 8)

Decimal (Base 10)Octal (Base 8)
00
11
22
33
44
55
66
77
810
911

¿How to convert from Decimal (Base 10) to Octal (Base 8)?

Note: To convert a decimal number (base 10) to an octal number (base 8), follow these steps:

  1. Divide the decimal number by 8 and record the remainders of the divisions until the division result is 0.
  2. The remainders from the divisions should be written in reverse order as they were obtained, as they represent the weights of the corresponding octal digits.

Here's an example of converting the decimal number 159 to octal:

  1. Divide 159 by 8: 159 ÷ 8 = 19 with a remainder of 7.
  2. Divide 19 by 8: 19 ÷ 8 = 2 with a remainder of 3.
  3. Divide 2 by 8: 2 ÷ 8 = 0 with a remainder of 2.

The remainders of the divisions are written in reverse order: 237.

Therefore, the decimal number 159 converts to 237 in octal.

Visual example of the procedure to convert a decimal (base 10) number to octal (base 8).

Conversion table of Decimal (Base 10) to Octal (Base 8)

Decimal (Base 10) Octal (Base 8)
11
22
33
44
55
66
77
810
911
1012
1113
1214
1315
1416
1517
1620
1721
1822
1923
2024
2125
2226
2327
2430
2531
2632
2733
2834
2935
3036
3137
3240
3341
3442
3543
3644
3745
3846
3947
4050
4151
4252
4353
4454
4555
4656
4757
4860
4961
5062
5163
5264
5365
5466
5567
5670
5771
5872
5973
6074
6175
6276
6377
64100
65101
66102
67103
68104
69105
70106
71107
72110
73111
74112
75113
76114
77115
78116
79117
80120
81121
82122
83123
84124
85125
86126
87127
88130
89131
90132
91133
92134
93135
94136
95137
96140
97141
98142
99143
100144
101145
102146
103147
104150
105151
106152
107153
108154
109155
110156
111157
112160
113161
114162
115163
116164
117165
118166
119167
120170
121171
122172
123173
124174
125175
126176
127177
128200
129201
130202
131203
132204
133205
134206
135207
136210
137211
138212
139213
140214
141215
142216
143217
144220
145221
146222
147223
148224
149225
150226
151227
152230
153231
154232
155233
156234
157235
158236
159237
160240
161241
162242
163243
164244
165245
166246
167247
168250
169251
170252
171253
172254
173255
174256
175257
176260
177261
178262
179263
180264
181265
182266
183267
184270
185271
186272
187273
188274
189275
190276
191277
192300
193301
194302
195303
196304
197305
198306
199307
200310
201311
202312
203313
204314
205315
206316
207317
208320
209321
210322
211323
212324
213325
214326
215327
216330
217331
218332
219333
220334
221335
222336
223337
224340
225341
226342
227343
228344
229345
230346
231347
232350
233351
234352
235353
236354
237355
238356
239357
240360
241361
242362
243363
244364
245365
246366
247367
248370
249371
250372
251373
252374
253375
254376
255377
256400
257401
258402
259403
260404
261405
262406
263407
264410
265411
266412
267413
268414
269415
270416
271417
272420
273421
274422
275423
276424
277425
278426
279427
280430
281431
282432
283433
284434
285435
286436
287437
288440
289441
290442
291443
292444
293445
294446
295447
296450
297451
298452
299453
300454