Decimal to Octal Converter
Enter a decimal integer to instantly convert it to octal (base 8), along with binary and hexadecimal outputs.
Last updated: May 30, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Decimal to Octal Converter?
The decimal (base 10) number system uses digits 0–9 and is the standard system used in everyday arithmetic. Octal (base 8) uses digits 0–7 and was historically important in early computing where byte sizes were multiples of 3 bits. Today octal is most commonly encountered in Unix file permissions (e.g. chmod 755).
To convert decimal to octal, repeatedly divide the number by 8 and collect the remainders from bottom to top. For example, converting 255: - 255 ÷ 8 = 31 remainder 7 - 31 ÷ 8 = 3 remainder 7 - 3 ÷ 8 = 0 remainder 3 Reading remainders upward: 377 — so 255 decimal = 377 octal.
How to Use Decimal to Octal Converter
Type or paste a decimal integer in the input field.
The octal, binary, and hexadecimal outputs update instantly.
Click any copy button to copy the result to your clipboard.
Click "Load Sample" to see an example conversion.
Common Use Cases
- Converting Unix file permission values (like 755 or 644) from decimal to octal.
- Learning about different number bases in computer science coursework.
- Networking exercises involving IP address octal encoding.
- Preparing for certification exams (CCNA, CompTIA) covering number systems.
Example Input and Output
The decimal number 255 converts to octal 377 — the well-known Unix permission 0377.
255377Data Privacy
All conversions run entirely in your browser. No data is sent to any external server.

