Decimal to Octal Converter

Convert decimal numbers to octal (base 8) instantly.

Code Examples

const decimal = 493;
const octal = decimal.toString(8); // "755"

Frequently Asked Questions

How do I convert decimal to octal?

Divide the decimal number by 8 repeatedly, noting the remainders. Read the remainders in reverse order. For example, 493 gives octal 755.

Related Tools