Binary to Octal Converter

🔒 Runs in your browser — nothing is sent to a server

Convert a binary number to octal. Each group of three binary digits maps cleanly to one octal digit, so 111101101 becomes 755 — the binary form of the chmod 755 permission mask. Useful when reading raw permission bits returned by stat() or when working on systems where octal is the conventional shorthand for grouped binary flags. Negative values keep a leading minus sign in both bases.

Binary (2)

Allowed: 0 and 1

Octal (8)

Allowed: 0–7

Binary (2)Octal (8)

Quick reference table

Binary (2)Octal (8)
1117
100010
1000000100
111111111777
10000000001000
1111111111117777

Glossary

Binary (base 2)

The binary numeral system uses only two digits — 0 and 1 — and is the native number system of every digital computer. Each binary digit (bit) represents a power of 2: the rightmost bit is 2^0 = 1, then 2^1 = 2, 2^2 = 4, 2^3 = 8 and so on. Eight bits form one byte. Binary underlies every memory cell, register and network packet.

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