Decimal to Octal Converter

๐Ÿ”’ Runs in your browser โ€” nothing is sent to a server

Convert a decimal integer to octal. The number is divided by 8 repeatedly and the remainders, read bottom-up, form the octal digits โ€” so 493 in decimal becomes 755 in octal, the familiar chmod value for an executable. Useful for translating numeric permission masks back into the form that chmod and umask understand, and for grouping binary values in 3-bit chunks the way mainframes once did.

Decimal (10)

Allowed: 0โ€“9

Octal (8)

Allowed: 0โ€“7

Decimal (10) โ†’ Octal (8)

Quick reference table

Decimal (10)Octal (8)
77
810
1012
64100
100144
420644
493755
511777
10242000
40957777

Glossary

Decimal (base 10)

The decimal numeral system is the everyday number system used by humans, with digits 0 through 9. Each digit position represents a power of 10 โ€” units, tens, hundreds, thousands. It is sometimes called base-10 or denary. All four bases on this page convert through decimal as a canonical integer value, so a round-trip such as binary โ†’ decimal โ†’ hex always produces the exact same number.

Octal (base 8)

The octal numeral system uses digits 0 through 7. It was popular in early computing because each octal digit maps cleanly to exactly three binary digits, which made it convenient for systems with 12-, 24- or 36-bit words. Today its most common surviving use is Unix file permissions: chmod 755 means owner-rwx, group-rx, others-rx, where each digit is a 3-bit permission mask.

Related tools