Octal to Decimal Converter
To use this octal (base-8) to decimal (base-10) conversion tool, you must type an octal value like 345 into the left field below and hit the Convert button. The converter will give you the decimal equivalent of the given octal.
Octal to decimal conversion result in base numbersThe Octal System
The octal number system (or shortly oct) uses the number 8 as its base (radix). As a base-8 numeral system, it uses eight symbols: The numbers from 0 to 7, namely 0, 1, 2, 3, 4, 5, 6 and 7. Although it was used by some native American tribes until the 20th century, the octal system has become popular in the early ages of computing as a language of computer programming. This is because the octal system shortens binary by simplifying long and complex chains of binary displays used by computers.
The octal system is mainly used for counting binary in groups of three: Each octal digit represents three binary digits. Since 8 is 2 to the third power (23), the octal system became a perfect abbreviation of binary for machines that employ word sizes divisible by three - which were 6-bit, 12-bit, 24-bit or 36-bit. Nowadays, most modern systems use hexadecimal rather than octal. However, octal numbers are an important part of basic knowledge in electronics.
Decimal System
The decimal numeral system is the most commonly used and the standard system in daily life. It uses the number 10 as its base (radix). Therefore, it has 10 symbols: The numbers from 0 to 9; namely 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.
As one of the oldest known numeral systems, the decimal numeral system has been used by many ancient civilizations. The difficulty of representing very large numbers in the decimal system was overcome by the Hindu–Arabic numeral system. The Hindu-Arabic numeral system gives positions to the digits in a number and this method works by using powers of the base 10; digits are raised to the nth power, in accordance with their position.
For instance, take the number 2345.67 in the decimal system:
- The digit 5 is in the position of ones (100, which equals 1),
- 4 is in the position of tens (101)
- 3 is in the position of hundreds (102)
- 2 is in the position of thousands (103)
- Meanwhile, the digit 6 after the decimal point is in the tenths (1/10, which is 10-1) and 7 is in the hundredths (1/100, which is 10-2) position
- Thus, the number 2345.67 can also be represented as follows: (2 * 103) + (3 * 102) + (4 * 101) + (5 * 100) + (6 * 10-1) + (7 * 10-2)
How to Calculate Octal to Decimal
An octal number can be converted to a decimal number by following simple rules. Here are two ways to convert octal to decimal step by step. The first is a more conventional method whereas the second one applies the repeated division and remainder algorithm technique in reverse.
Method 1:
- Step 1: Find out the number of digits in the number.
- Step 2: Let the number have n digits.
- Step 3: Think of the digits nth position from the right to the left as the position. This means you are showing the position of each digit as an increasing power of 8.
- Step 4: Multiply each digit with 8n-1, n being the position.
- Step 5: Add all the individual results from this multiplication process.
- Step 6: The result will be the decimal equivalent of the given octal number.
Now, let’s apply these steps to, for example, the octal number (765)8
Step 1: This octal number has 3 digits. Step 2: n is 3. Step 3: 5 is in position 1, so n-1 will be equal to 0. This will lead to 80 6 is in position 2, so n-1 will be 1. This will lead to 81; 7 is in position 3, so n-1 will be 2. This will lead to 82. Step 4: (5 * 80) + (6 * 81) + (7 * 82) Step 5: 5 + 48 + 448 = 501 Step 6: (501)10 equals (765)8
Method 2:
- Step 1: Start with the result 0.
- Step 2: Remove the most significant digit in the octal number (the leftmost one) and add it to the result (0).
- Step 3: Multiply the result by 8.
- Step 4: Go to step 2 and remove the leftmost digit. Add it to the result you got in step 3.
- Step 5: Keep until all octal digits have been removed. When you are left with only one digit, add it to the previous result. Do NOT multiply by 8. The sum from the last addition is the decimal equivalent.
Let’s apply these steps to the same octal number above, (765)8
Step 1: Write down 0. Step 2: Remove 7 (the leftmost digit) and add it to 0, which is 0 + 7 = 7. Step 3: Multiply the result by 8, which is 7 * 8 = 56. Step 4: In the octal number (765)8, the leftmost digit is now 6. Add 6 to 56 and multiply the result by 8, which follows as: (6 + 56) * 8 = 496. Step 5: In the octal number (765)8, we are only left with the digit 5. Therefore; 496 + 5 = 501. Step 6: (501)10 equals (765)8
Example 1: (345)8 = (229)10
Method 1: (5 * 80) + (4 * 81) + (3 * 82) = 5 + 32 + 192 = 229 Method 2: 0 + 3 = 3 3 * 8 = 24 24 + 4 = 28 28 * 8 = 224 224 + 5 = 229
Example 2: (2675)8 = (1469)10
Method 1: (5 * 80) + (7 * 81) + (6 * 82) + (2 * 83) = 5 + 56 + 384 + 1024 = 1469 Method 2: 0 + 2 = 2 2 * 8 = 16 16 + 6 = 22 22 * 8 = 176 176 + 7 = 183 183 * 8 = 1464 1464 + 5 = 1469
Related converters:
Decimal To Octal Converter
Octal Decimal Conversion Chart Table
Octal | Decimal |
---|---|
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 6 |
7 | 7 |
10 | 8 |
11 | 9 |
12 | 10 |
13 | 11 |
14 | 12 |
15 | 13 |
16 | 14 |
17 | 15 |
20 | 16 |
21 | 17 |
22 | 18 |
23 | 19 |
24 | 20 |
25 | 21 |
26 | 22 |
27 | 23 |
30 | 24 |
31 | 25 |
32 | 26 |
33 | 27 |
34 | 28 |
35 | 29 |
36 | 30 |
37 | 31 |
40 | 32 |
41 | 33 |
42 | 34 |
43 | 35 |
44 | 36 |
45 | 37 |
46 | 38 |
47 | 39 |
50 | 40 |
51 | 41 |
52 | 42 |
53 | 43 |
54 | 44 |
55 | 45 |
56 | 46 |
57 | 47 |
60 | 48 |
61 | 49 |
62 | 50 |
63 | 51 |
64 | 52 |
65 | 53 |
66 | 54 |
67 | 55 |
70 | 56 |
71 | 57 |
72 | 58 |
73 | 59 |
74 | 60 |
75 | 61 |
76 | 62 |
77 | 63 |
100 | 64 |
Octal | Decimal |
---|---|
101 | 65 |
102 | 66 |
103 | 67 |
104 | 68 |
105 | 69 |
106 | 70 |
107 | 71 |
110 | 72 |
111 | 73 |
112 | 74 |
113 | 75 |
114 | 76 |
115 | 77 |
116 | 78 |
117 | 79 |
120 | 80 |
121 | 81 |
122 | 82 |
123 | 83 |
124 | 84 |
125 | 85 |
126 | 86 |
127 | 87 |
130 | 88 |
131 | 89 |
132 | 90 |
133 | 91 |
134 | 92 |
135 | 93 |
136 | 94 |
137 | 95 |
140 | 96 |
141 | 97 |
142 | 98 |
143 | 99 |
144 | 100 |
145 | 101 |
146 | 102 |
147 | 103 |
150 | 104 |
151 | 105 |
152 | 106 |
153 | 107 |
154 | 108 |
155 | 109 |
156 | 110 |
157 | 111 |
160 | 112 |
161 | 113 |
162 | 114 |
163 | 115 |
164 | 116 |
165 | 117 |
166 | 118 |
167 | 119 |
170 | 120 |
171 | 121 |
172 | 122 |
173 | 123 |
174 | 124 |
175 | 125 |
176 | 126 |
177 | 127 |
200 | 128 |
Octal | Decimal |
---|---|
201 | 129 |
202 | 130 |
203 | 131 |
204 | 132 |
205 | 133 |
206 | 134 |
207 | 135 |
210 | 136 |
211 | 137 |
212 | 138 |
213 | 139 |
214 | 140 |
215 | 141 |
216 | 142 |
217 | 143 |
220 | 144 |
221 | 145 |
222 | 146 |
223 | 147 |
224 | 148 |
225 | 149 |
226 | 150 |
227 | 151 |
230 | 152 |
231 | 153 |
232 | 154 |
233 | 155 |
234 | 156 |
235 | 157 |
236 | 158 |
237 | 159 |
240 | 160 |
241 | 161 |
242 | 162 |
243 | 163 |
244 | 164 |
245 | 165 |
246 | 166 |
247 | 167 |
250 | 168 |
251 | 169 |
252 | 170 |
253 | 171 |
254 | 172 |
255 | 173 |
256 | 174 |
257 | 175 |
260 | 176 |
261 | 177 |
262 | 178 |
263 | 179 |
264 | 180 |
265 | 181 |
266 | 182 |
267 | 183 |
270 | 184 |
271 | 185 |
272 | 186 |
273 | 187 |
274 | 188 |
275 | 189 |
276 | 190 |
277 | 191 |
300 | 192 |
Octal | Decimal |
---|---|
301 | 193 |
302 | 194 |
303 | 195 |
304 | 196 |
305 | 197 |
306 | 198 |
307 | 199 |
310 | 200 |
311 | 201 |
312 | 202 |
313 | 203 |
314 | 204 |
315 | 205 |
316 | 206 |
317 | 207 |
320 | 208 |
321 | 209 |
322 | 210 |
323 | 211 |
324 | 212 |
325 | 213 |
326 | 214 |
327 | 215 |
330 | 216 |
331 | 217 |
332 | 218 |
333 | 219 |
334 | 220 |
335 | 221 |
336 | 222 |
337 | 223 |
340 | 224 |
341 | 225 |
342 | 226 |
343 | 227 |
344 | 228 |
345 | 229 |
346 | 230 |
347 | 231 |
350 | 232 |
351 | 233 |
352 | 234 |
353 | 235 |
354 | 236 |
355 | 237 |
356 | 238 |
357 | 239 |
360 | 240 |
361 | 241 |
362 | 242 |
363 | 243 |
364 | 244 |
365 | 245 |
366 | 246 |
367 | 247 |
370 | 248 |
371 | 249 |
372 | 250 |
373 | 251 |
374 | 252 |
375 | 253 |
376 | 254 |
377 | 255 |
Recent Comments
can you explain how did it covert?
Educative
Educative
Please make 100000 digits octal number to decimal number
(252)convert into decimal
Please convert octal value 88 to decimal
Octal number system is very easy method to solve. O means practice the question .
Very useful. Thanks
How to solve (0.1212) raise to 8 =(?) raise to 10
How to solve (619) raise to 10 =(?) raise to 8
Please give example of point(.) value.........
(249)convert into decimal