Decimal to Octal Converter
Convert decimal numbers to octal (base-8). Enter a decimal number to see its octal representation.
Formula
Divide by 8 repeatedly, collect remainders
How to Convert Decimal to Octal
Divide the decimal number by 8 repeatedly, recording the remainder each time. Read the remainders bottom-to-top.
Example: 255 in octal:
255 ÷ 8 = 31 r 7
31 ÷ 8 = 3 r 7
3 ÷ 8 = 0 r 3
Result: 377
255 ÷ 8 = 31 r 7
31 ÷ 8 = 3 r 7
3 ÷ 8 = 0 r 3
Result: 377
Related Converters
Last updated: 2026-08-08