JSONToonPro
Number converter tool

Decimal to Octal Converter

Convert any decimal number (base 10) to octal (base 8) instantly. Octal is widely used for Unix/Linux file permissions. Enter a decimal value and get the octal equivalent in real time.

100% client sideInstant resultNo data sent
Decimal to Octal
Decimal (Base 10)
Octal (Base 8)
Result appears here...

How to Convert Decimal to Octal

Converting decimal to octal by hand is straightforward once you know the routine. The converter above does it instantly, but working through the steps yourself is the fastest way to understand what is actually happening to the digits.

  1. Divide the decimal number by 8 and write down the quotient and the remainder.
  2. Divide the new quotient by 8 again, recording each remainder as you go.
  3. Repeat until the quotient reaches 0.
  4. Read the remainders from the bottom up. That sequence is the octal result.

Worked example: 2014

2014 ÷ 8 = 251 remainder 6
251 ÷ 8 = 31 remainder 3
31 ÷ 8 = 3 remainder 7
3 ÷ 8 = 0 remainder 3
Reading the remainders bottom to top: 3736

Result: (2014)¹⁰ = (3736)⁸

The Decimal System

Decimal is the base 10 system that almost every human culture settled on, most likely because we have ten fingers. It uses the digits 0 through 9, and each position is worth ten times the position to its right. The number 2345.67 means 2 thousands, 3 hundreds, 4 tens, 5 ones, 6 tenths, and 7 hundredths. It is the default for everything people read, which is why converting to and from decimal is the most common base conversion a programmer performs.

Decimal uses the digits 0 through 9.

The Octal System

Octal is the base 8 numeral system and uses the digits 0 through 7. Its usefulness comes from the fact that one octal digit maps exactly onto three binary digits, so it is a compact way to write binary without doing real arithmetic. Octal was common on early minicomputers with 12, 24, and 36 bit words. Today the place most developers still meet it is Unix file permissions, where a command such as chmod 755 sets read, write, and execute bits three at a time.

Octal uses the digits 0 through 7.

Decimal to Octal Conversion Examples

(64)¹⁰ = (100)⁸
(255)¹⁰ = (377)⁸
(1024)¹⁰ = (2000)⁸

Decimal to Octal Conversion Chart

A full reference table for the values 1 to 256. Use it to check a conversion quickly or to look up a common value without typing anything.

DecimalOctal
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
DecimalOctal
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
DecimalOctal
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
DecimalOctal
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

Need a different pair of bases? Browse every number converter tool including binary, octal, decimal, and hexadecimal in both directions.

Frequently asked questions

4 answers
Divide the decimal number by 8 repeatedly, recording the remainders. Then read the remainders from bottom to top. For example, 255 ÷ 8 = 31 R7, 31 ÷ 8 = 3 R7, 3 ÷ 8 = 0 R3. Reading bottom to top: 377. So 255 in decimal = 377 in octal.

More JSON Tools

About Decimal to Octal Conversion

Octal (base 8) was widely used in early computer systems and remains relevant today primarily for Unix/Linux file permissions. The chmod command uses octal notation because three permission bits (read, write, execute) map perfectly to one octal digit: 7 = rwx, 6 = rw-, 5 = r-x, 4 = r--, and so on. This converter lets you quickly translate any decimal permission or value into its octal equivalent, saving the repetitive divide-by-8 arithmetic.