Octal to Decimal converter
Simplify the process of converting octal values to decimal format with our efficient Octal to Decimal Converter. This tool allows you to effortlessly convert any octal value to its equivalent decimal representation. Simply input the octal value, and our converter will instantly generate the decimal number.
What is Octal to Decimal converter
To convert an octal number to decimal, you can follow these steps:
-
Assign decimal values to each octal digit (0-7).
- 0: 0
- 1: 1
- 2: 2
- 3: 3
- 4: 4
- 5: 5
- 6: 6
- 7: 7
-
Multiply each octal digit by the corresponding power of 8 based on its position (starting from the rightmost digit).
-
Sum up the results from step 2 to obtain the decimal equivalent.
Here's an example:
Let's say you want to convert the octal number "345" to decimal.
-
Assign decimal values to each octal digit: 3: 3 4: 4 5: 5
-
Multiply each octal digit by the corresponding power of 8: 3 * 8^2 = 3 * 64 = 192 4 * 8^1 = 4 * 8 = 32 5 * 8^0 = 5 * 1 = 5
-
Sum up the results: 192 + 32 + 5 = 229
So, the octal number "345" is equivalent to the decimal number 229.
You can use online converters or programming libraries to perform octal to decimal conversions easily.
How to convert from octal to decimal
A regular decimal number is the sum of the digits multiplied with 10n.
Example #1
137 in base 10 is equal to each digit multiplied with its corresponding 10n:
13710 = 1×102+3×101+7×100 = 100+30+7
Octal numbers are read the same way, but each digit counts 8n instead of 10n.
Multiply each digit of the hex number with its corresponding 8n.
Example #2
37 in base 8 is equal to each digit multiplied with its corresponding 8n:
378 = 3×81+7×80 = 24+7 = 31
Example #3
7014 in base 8 is equal to each digit multiplied with its corresponding power of 8:
70148 = 7×83+0×82+1×81+4×80= 3584+0+8+4 = 3596
Octal to decimal conversion table
Octal base 8 |
Decimal base 10 |
---|---|
0 | 0 |
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 |
30 | 24 |
40 | 32 |
50 | 40 |
60 | 48 |
70 | 56 |
100 | 64 |