Octal to Decimal Calculator
Octal (base 8) is a number system using only digits 0 through 7. One octal digit represents exactly three binary bits, which made it convenient for early computer systems that processed data in 6 or 12-bit groups. Today, octal is most commonly encountered in Unix/Linux file permissions (chmod 755), where three octal digits represent the read, write, and execute permissions for owner, group, and others. This calculator converts any number entered in octal, decimal, binary, or hexadecimal into all four bases simultaneously. Select your input base using the radio buttons, enter the value, and click Convert to see results in all four number systems.
Unix file permission octal values
| Octal digit | Binary | Permissions |
|---|---|---|
| 0 | 000 | No permissions |
| 1 | 001 | Execute only |
| 2 | 010 | Write only |
| 3 | 011 | Write and execute |
| 4 | 100 | Read only |
| 5 | 101 | Read and execute |
| 6 | 110 | Read and write |
| 7 | 111 | Read, write, and execute (full) |
Octal to decimal formula
Decimal = sum of (each octal digit x 8 to the power of its position, from right starting at 0)
Octal: frequently asked questions
What is the octal number system?
Octal is a base-8 number system that uses digits 0 through 7. Each octal digit represents exactly three binary digits (bits), since 2^3 = 8. Octal was used in early computing because older computers processed data in 6-bit or 12-bit groups, which are multiples of 3. Today, octal is mainly used in Unix/Linux file permissions (e.g., chmod 755) and some networking contexts.
How do you convert octal to decimal?
Multiply each octal digit by 8 raised to the power of its position (from right, starting at 0), then sum the results. For example, 755 in octal: 5 x 8^0 = 5, 5 x 8^1 = 40, 7 x 8^2 = 448. Total = 5 + 40 + 448 = 493 in decimal.
What does chmod 755 mean?
chmod 755 is a Unix/Linux file permission setting using octal notation. The three digits represent the permissions for owner (7), group (5), and others (5). Each digit is the sum of read (4), write (2), and execute (1) permissions. 7 = 4+2+1 = read, write, execute. 5 = 4+0+1 = read, no write, execute. So 755 means the owner can read, write, and execute; group and others can only read and execute.
What is the relationship between octal and binary?
One octal digit represents exactly three binary bits, making conversion between the two very simple. To convert binary to octal, group binary digits in threes from the right and convert each group: 000=0, 001=1, 010=2, 011=3, 100=4, 101=5, 110=6, 111=7. For example, binary 110 111 101 = octal 675. This is why octal was convenient before hexadecimal became standard.
Is octal still used in modern computing?
Octal is less common than it once was but is still used in specific contexts: Unix/Linux file permissions (chmod), some escape sequences in programming languages (e.g., \077 in C), embedded systems programming, and some network equipment configuration. Hexadecimal has largely replaced octal for most computing uses because processors now commonly work with 4-bit nibbles (hexadecimal) rather than 3-bit groups (octal).
Official sources
- The Open Group: POSIX chmod and octal permission modes.
- Linux man pages: chmod manual page (octal modes).
Reviewed by the CalculatorHub team, edited by James Graham, 14 June 2026. See our methodology.