Home » Binary Converter Tools » Octal to Decimal Converter

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

Input0 chars
Output0 chars

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.

Worked example: octal 52 to decimal

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.

How to Use This Tool

  1. Enter an octal number using digits 0 to 7 only.
  2. Press Convert to see the decimal result and the steps.
  3. Copy the result or download it as a text file.
  4. Use Load Sample to try 52, which converts to 42.

Why Use This Tool

Common Values

OctalDecimalWhere You See It
10 in octal8 in decimalThe smallest two digit octal value
52 in octal42 in decimalThe sample value in the tool above
100 in octal64 in decimal8 squared, a round octal value
377 in octal255 in decimalThe largest value in one byte
144 in octal100 in decimalA round decimal number
644 in octal420 in decimalDefault permissions for a file
755 in octal493 in decimalPermissions for a script or program
777 in octal511 in decimalFull permissions for everyone
1000 in octal512 in decimal8 cubed
7777 in octal4095 in decimalThe largest four digit octal value

Related Conversions

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.

Frequently Asked Questions

Is the Octal to Decimal Converter free to use?

Yes, it is completely free with no sign up.

How is octal converted to decimal?

Each octal digit is multiplied by its place value, which is a power of 8, and all the terms are added together.

Why are digits 8 and 9 not allowed?

Because octal numbers only use digits from 0 to 7, so 8 and 9 are not valid octal digits.

Is my number uploaded to a server?

No. All conversion happens in your browser on your own device, so your number never leaves your computer.

What is octal 755 in decimal?

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.

What is octal 377 in decimal?

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.

What is octal 10 in decimal?

Octal 10 in decimal is 8, because 1 times 8 plus 0 times 1 is 8.

Can I type 0o755 or a leading zero?

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.

Can this converter handle very long octal numbers?

Yes. The conversion uses BigInt, so long values stay exact, with no rounding and no limit on the number of digits you type.

What is octal 777 in decimal?

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.

How do I convert decimal back to octal?

Use the Decimal to Octal Converter on this site. Enter a decimal number, and it gives you the octal value with the steps shown.

What Is Octal?

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.

The Octal to Decimal Formula

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.

Powers of 8

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.

PowerValuePlace
8^011s
8^188s
8^26464s
8^3512512s
8^440964096s
8^53276832768s

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.

Octal in Unix File Permissions

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.

OctalOwnerGroupOthersDecimal
755Read, write, executeRead, executeRead, execute493
644Read, writeReadRead420
777Read, write, executeRead, write, executeRead, write, execute511

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.

Octal Literals in Programming

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.

↑