Binary to Octal Converter
Convert binary numbers to octal. Binary is converted to octal when reading Unix permission bits, because every three bits become one octal digit.
Binary to Octal converter
Result
- Binary
- —
- Octal
- —
- Decimal
- —
- Hexadecimal
- —
How to convert binary to octal
Split the binary number into groups of 3 bits, starting from the right and adding zeros on the left if needed. Replace each group with its octal digit.
Example: 10011100 (binary) to octal
| Binary digit | 1-bit group |
|---|---|
| 1 | 1 |
| 0 | 0 |
| 0 | 0 |
| 1 | 1 |
| 1 | 1 |
| 1 | 1 |
| 0 | 0 |
| 0 | 0 |
| 3-bit group | Octal digit |
|---|---|
| 010 | 2 |
| 011 | 3 |
| 100 | 4 |
10011100 in binary = 234 in octal.
Examples
- 1010 (binary) = 12 (octal)
- 10011100 (binary) = 234 (octal)
- 11111111 (binary) = 377 (octal)
- 1111101000 (binary) = 1750 (octal)
Binary to Octal conversion table
| Binary (base 2) | Octal (base 8) |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 10 | 2 |
| 11 | 3 |
| 100 | 4 |
| 101 | 5 |
| 110 | 6 |
| 111 | 7 |
| 1000 | 10 |
| 1001 | 11 |
| 1010 | 12 |
| 1011 | 13 |
| 1100 | 14 |
| 1101 | 15 |
| 1110 | 16 |
| 1111 | 17 |
| 10000 | 20 |
| 10100 | 24 |
| 100000 | 40 |
| 110010 | 62 |
| 1000000 | 100 |
| 1100100 | 144 |
| 1111111 | 177 |
| 10000000 | 200 |
| 11111111 | 377 |
| 100000000 | 400 |
| 1000000000 | 1000 |
| 1111101000 | 1750 |
| 10000000000 | 2000 |
The table lists the same whole numbers for every pair of bases.
Frequently asked questions
- What is 11111111 in octal?
- 11111111 in binary is 377 in octal.
- How do I convert binary to octal by hand?
- Split the binary number into groups of 3 bits, starting from the right and adding zeros on the left if needed. Replace each group with its octal digit.
- What digits does binary use?
- Binary uses the digits 0 and 1. Computers store and process everything as binary digits (bits). Eight bits make one byte.
- What is octal used for?
- Octal is best known from Unix file permissions: chmod 755 is three octal digits, one for owner, group and others.