Converts decimal (base 10) numbers to octal (base 8). Octal uses digits 0-7 and was historically important in computing because each octal digit maps to exactly 3 binary bits. It's still used today for Unix file permissions (chmod 755) and some programming contexts.
Decimal to Octal Converter
Convert base-10 numbers to octal (base 8)
How to decimal to octal
- 1.Enter a decimal number in the input field.
- 2.The octal equivalent and all other bases appear instantly.
- 3.Switch the input base if you want to convert from another format.
- 4.Click Copy next to any result to use it.
About This Tool
Frequently Asked Questions
Octal is a base-8 number system using digits 0-7. Each octal digit represents 3 binary bits, making it a compact way to express groups of 3 bits.
Primarily in Unix/Linux file permissions (e.g. chmod 755 means rwxr-xr-x). It also appears in some programming languages as number literals prefixed with 0 or 0o.
Divide the decimal number by 8 repeatedly, recording the remainder each time. Read the remainders from bottom to top to get the octal representation.