Home » Binary Converter Tools » Octal to Decimal Converter
Enter an octal number and get the exact decimal value in seconds, with the place value steps shown.
Last updated 13 November 2026
Everything runs in your browser, so your value never leaves your device. Whole numbers only for number base conversions.
An octal to decimal converter turns an octal number into an everyday decimal number. Octal is base 8, so each digit is worth eight times the digit to its right. That place value idea is the whole conversion, and once you see it written out, octal to decimal becomes straightforward.
This converter shows every place value term, adds them up, and gives the exact decimal result. It is useful for computing study, file permissions and reading older code that uses octal values, and it works with no rounding and no sign up.
Everything runs in your browser, so your number never leaves your device. Enter an octal value, press Convert, and you can check the answer yourself from the steps shown.
Write the place values from the right: the 2 sits in the ones place, worth 1, and the 5 sits in the eights place, worth 8.
Multiply each digit by its place value: 5 times 8 equals 40, and 2 times 1 equals 2.
Add the terms: 40 plus 2 equals 42. So 52 in octal is 42 in decimal.
The same method works for longer values: for 377, the terms are 3 times 64, plus 7 times 8, plus 7 times 1, which add up to 255.
| Octal | Decimal | Where You See It |
|---|---|---|
| 10 in octal | 8 in decimal | The smallest two digit octal value |
| 52 in octal | 42 in decimal | The sample value in the tool above |
| 100 in octal | 64 in decimal | 8 squared, a round octal value |
| 377 in octal | 255 in decimal | The largest value in one byte |
| 144 in octal | 100 in decimal | A round decimal number |
| 644 in octal | 420 in decimal | Default permissions for a file |
| 755 in octal | 493 in decimal | Permissions for a script or program |
| 777 in octal | 511 in decimal | Full permissions for everyone |
| 1000 in octal | 512 in decimal | 8 cubed |
| 7777 in octal | 4095 in decimal | The largest four digit octal value |
If you need a different direction, try the Octal to Binary Converter, Octal to Hex Converter, Decimal to Octal Converter and Binary to Decimal Converter. Each one works the same way, in your browser, with the steps shown so you can check the answer.
Yes, it is completely free with no sign up.
Each octal digit is multiplied by its place value, which is a power of 8, and all the terms are added together.
Because octal numbers only use digits from 0 to 7, so 8 and 9 are not valid octal digits.
No. All conversion happens in your browser on your own device, so your number never leaves your computer.
Octal 755 in decimal is 493. The working is 7 times 64, plus 5 times 8, plus 5 times 1, which is 448 plus 40 plus 5. You see 755 as the permissions of a script or program file on a Unix system.
Octal 377 in decimal is 255. The working is 3 times 64, plus 7 times 8, plus 7 times 1, which is 192 plus 56 plus 7. 255 is the largest value one byte can hold.
Octal 10 in decimal is 8, because 1 times 8 plus 0 times 1 is 8.
Yes. You can type a 0o prefix in front of the value, and leading zeros are accepted too, so 0o755, 0755 and 755 all convert to 493.
Yes. The conversion uses BigInt, so long values stay exact, with no rounding and no limit on the number of digits you type.
Octal 777 in decimal is 511. The working is 7 times 64, plus 7 times 8, plus 7 times 1, which is 448 plus 56 plus 7. You see 777 as full read, write and execute permissions for everyone on a Unix system.
Use the Decimal to Octal Converter on this site. Enter a decimal number, and it gives you the octal value with the steps shown.
Octal is a number system with base 8. It uses only the digits 0 to 7, so there is no digit 8 or 9 in an octal number. Each position in an octal number is worth eight times the position to its right, just as each position in a decimal number is worth ten times the position to its right. Octal was widely used in early computing because three binary digits fit exactly into one octal digit, which made long binary values much shorter to write and read. You still see octal today in Unix file permissions, in some programming languages, and in older hardware and aviation systems.
To convert an octal number to decimal, multiply each digit by 8 to the power of its position, counting from 0 on the right, and add the results. In short, the decimal value is the sum of each digit times 8 to the power of its position. Here is a full worked example with the value 377:
Add the terms: 192 plus 56 plus 7 is 255. So 377 in octal is 255 in decimal. Try it in the tool above: enter 377 and the converter shows the same answer with the steps worked out. The same method works for any length. For 144, the terms are 1 times 64, plus 4 times 8, plus 4 times 1, which add up to 100.
These are the place values you use when you convert octal to decimal by hand. Each column to the left is worth eight times the one before it.
| Power | Value | Place |
|---|---|---|
| 8^0 | 1 | 1s |
| 8^1 | 8 | 8s |
| 8^2 | 64 | 64s |
| 8^3 | 512 | 512s |
| 8^4 | 4096 | 4096s |
| 8^5 | 32768 | 32768s |
To convert by hand, write the powers above the digits from the right, multiply each digit by the power below it, and add the results. If you need to go the other way, from decimal back to octal, use the Decimal to Octal Converter. To convert octal to another base, use the Octal to Binary Converter or the Octal to Hex Converter. For the same kind of conversion from binary or hex, use the Binary to Decimal Converter or the Hex to Decimal Converter.
The most common place you meet octal today is Unix file permissions. Each file has three permission digits: one for the owner, one for the group, and one for everyone else. Each digit is the sum of 4 for read, 2 for write, and 1 for execute. So 7 means read, write and execute, 6 means read and write, 5 means read and execute, and 4 means read only.
| Octal | Owner | Group | Others | Decimal |
|---|---|---|---|---|
| 755 | Read, write, execute | Read, execute | Read, execute | 493 |
| 644 | Read, write | Read | Read | 420 |
| 777 | Read, write, execute | Read, write, execute | Read, write, execute | 511 |
755 is the usual permission for a script or program file: the owner can read, write and run it, while everyone else can read and run it. 644 is the default for a plain file: the owner can read and write it, while everyone else can only read it. 777 gives full read, write and execute permission to everyone, which is rarely a good idea on a shared system. In decimal, 755 is 493, 644 is 420, and 777 is 511. You can check each one in the tool above: enter 755 and the converter shows 493.
Several programming languages let you write an octal number directly in code. In JavaScript and Python, the modern form uses a 0o prefix: 0o755 means the octal value 755, which is 493 in decimal. In older C style code, a leading zero marks an octal literal, so 0755 also means 493 in decimal. Take care with that older form: a leading zero changes the meaning, so 010 is 8, not 10. In JavaScript, you can also convert a string with parseInt and base 8: parseInt("755", 8) returns 493. In Python, int("755", 8) returns 493. This tool accepts the 0o prefix too, so you can paste 0o755 straight from code and get 493.
Octal is one of several number bases used in code. To convert binary values, use the Binary to Hex Converter or the Binary to Octal Converter. To convert hex values, use the Hex to Binary Converter or the Hex to Octal Converter. To go from decimal to hex, use the Decimal to Hex Converter. To convert text, use the Text to Binary Converter, the Text to Hex Converter, or the Text to ASCII Converter.