Decimal to Octal Converter
Convert decimal (base 10) numbers to octal (base 8) — any length, with the other bases shown too.
Convert decimal (base 10) numbers to octal (base 8) — any length, with the other bases shown too.
Results
Enter your details and click Calculate to see your results.
About This Calculator
Each decimal digit is multiplied by its power of 10 to get the value, which is then written in base 8.
Example
Example: the default inputs → Result: 255 (base 10) = 377 (base 8).
Assumptions
Whole numbers only (any size; negative numbers keep their sign). Prefixes 0x, 0b and 0o are ignored.
Frequently Asked Questions
How do I convert decimal to octal?
Read the decimal value digit by digit (powers of 10), then repeatedly divide by 8 to write it in octal.
What is 255 in octal?
377 (base 8)
Related Calculators
About the Author

Imran Hossain
Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile