Find your next tool

Browse tools or search by task

Explore JSONToonPro

Number Converter Tools

Decimal to Octal Converter Online

Convert decimal integers to octal base-8 online with step-by-step division examples and related base conversions.

Runs locally in your browser. Nothing you paste is uploaded.

Decimal to Octal workspace
Decimal to Octal
Decimal (Base 10)
Octal (Base 8)
Result appears here...

How to Convert Decimal to Octal

Enter an integer using 0 through 9. The converter reads it in base 10 and writes the same value in base 8. Copy the output or reverse the direction to verify it. Whitespace grouping does not change the value.

How Decimal and Octal Represent Values

In decimal, each place is a power of 10; in octal, each place is a power of 8. Starting at the right, multiply each digit by its place value and add the results. Conversion changes notation, not magnitude.

Decimal to Octal Conversion Examples

For example, 42 in decimal equals 52 in octal, and both equal decimal 42. Work through the positional sum on a small example before converting a long identifier. Leading zeros affect display width but not the integer value.

Common Uses and Edge Cases

The tool accepts signed integers and uses exact integer arithmetic. It does not interpret a negative value as a fixed-width two’s-complement bit pattern. Fractions and scientific notation are not supported. Use the text translators for encoded bytes rather than treating a whole message as one number.

More examples and technical details

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

How do I convert decimal to octal?

Read the input as base 10 and express its value in base 8; enter it here for an automatic result.

Can this converter handle negative or large values?

Yes. Signed and large integers use exact BigInt arithmetic, subject to practical browser resource limits. Fractions are not supported.

How can I verify the octal result?

Convert octal back to decimal and compare the numeric value; leading zeros may be normalized.

Is the conversion processed in my browser?

Yes. No number is sent to a conversion server.