Angle Converter
Convert angles between degrees, radians, gradians, turns, and arcminutes. Uses the exact formula radians = degrees × π/180.
Convert octal (base-8) numbers to decimal, hexadecimal, and binary. Shows step-by-step positional expansion for easy learning.
| Octal | Decimal | Hexadecimal | Binary |
|---|---|---|---|
| 010 | 8 | 8 | 1000 |
| 077 | 63 | 3F | 111111 |
| 0100 | 64 | 40 | 1000000 |
| 0377 | 255 | FF | 11111111 |
| 0777 | 511 | 1FF | 111111111 |
| 0377-0377-0377 | 16843009 | FFFFFF | 111111111111111111111111 |
The Octal to Decimal Converter translates octal (base-8) numbers into decimal (base-10), hexadecimal (base-16), and binary (base-2). Enter a number using digits 0–7 and review the converted values with a step-by-step expansion.
Octal was historically important in computing because early systems used 12-bit, 24-bit, or 36-bit words that divided evenly into 3-bit groups. Today, octal is most commonly encountered in Unix/Linux file permissions (chmod values like 755 or 644) and some programming languages.
Each octal digit represents exactly 3 binary bits, making octal-to-binary conversion particularly straightforward. This converter also shows the hex and binary equivalents and provides the mathematical expansion for educational use.
Unix permissions, older computing systems, and number theory all use octal. It shows cross-base conversion with a step-by-step explanation for learning.
decimal = Σ(digit × 8^position)
Positions count from right (0) to left.
Each octal digit = 3 binary bits: 0=000, 1=001, 2=010, 3=011, 4=100, 5=101, 6=110, 7=111Result: 493
755 in octal: 5×8⁰=5, 5×8¹=40, 7×8²=448. Sum = 5 + 40 + 448 = 493 in decimal. In binary: 111 101 101 (rwxr-xr-x Unix permissions). In hex: 1ED.
Octal was dominant in early computing when many machines used 12, 24, or 36-bit word sizes. The PDP-8, one of the most successful minicomputers, used 12-bit words displayed in octal. The shift to 8-bit bytes and 32/64-bit words made hexadecimal (4 bits per digit) more natural than octal (3 bits per digit).
The most visible modern use of octal is Unix file permissions. Three permission bits (read=4, write=2, execute=1) form a 3-bit number for each of owner, group, and others. chmod 644, chmod 755, and chmod 777 are everyday commands for system administrators.
In C/C++, a leading zero indicates an octal literal: 010 = 8 in decimal, not 10. Python 3 uses the 0o prefix: 0o10 = 8. JavaScript's strict mode disallows legacy octal literals to prevent confusion.
Last updated:
Octal is a base-8 number system using digits 0–7. Each digit represents three binary bits. It was widely used in early computing when word sizes were multiples of 3 bits. Today it's primarily used for Unix file permissions.
Multiply each octal digit by 8 raised to its position (starting from 0 on the right) and sum the results. For 752: 2×1 + 5×8 + 7×64 = 2 + 40 + 448 = 490.
In Unix, 755 is an octal representation of file permissions. 7 (111 binary = rwx) for owner, 5 (101 binary = r-x) for group, and 5 for others. This means the owner can read, write, and execute; group and others can read and execute.
Replace each octal digit with its 3-bit binary equivalent: 0=000, 1=001, 2=010, 3=011, 4=100, 5=101, 6=110, 7=111. So 755 = 111 101 101.
C, C++, Java, and Python support octal literals (usually with a 0 or 0o prefix). This is mainly for backward compatibility and for Unix permission values. A common bug is accidentally writing 0100 (octal 64) when you meant decimal 100.
Octal is less common but still relevant for Unix/Linux file permissions (chmod), some legacy systems, and as an intermediate step in binary-to-decimal conversion. Most modern systems prefer hexadecimal for compact binary representation.
Convert angles between degrees, radians, gradians, turns, and arcminutes. Uses the exact formula radians = degrees × π/180.
Convert between square feet, square meters, acres, hectares, and more for real estate, land measurement, and construction planning.
Look up ASCII and Unicode code points for any character. Convert between characters, decimal, hex, octal, and binary values.