How to convert binary to octal
Because 8 = 2^3, every octal digit corresponds to exactly 3 binary digits. Group the bits in sets of 3 from the right.
1011 0110₂ = 266₍8₎About the number systems
Binary
Base 2 uses only the digits 0 and 1. Every value in a computer is ultimately stored as binary; each binary digit is a bit.
Octal
Base 8 uses digits 0–7. Each octal digit represents exactly three bits, which is why octal appears in Unix file permissions (e.g. 755).
Binary to octal table
| Binary | Octal |
|---|---|
| 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 |
| 11111 | 37 |
| 100000 | 40 |
| 111111 | 77 |
| 1000000 | 100 |
| 1100100 | 144 |
| 1111111 | 177 |
| 10000000 | 200 |
| 11111111 | 377 |
| 100000000 | 400 |
| 1111101000 | 1750 |
| 10000000000 | 2000 |
| 1000000000000 | 10000 |
| 1111111111111111 | 177777 |
Frequently asked questions
How do I convert binary to octal?
Because 8 = 2^3, every octal digit corresponds to exactly 3 binary digits. Group the bits in sets of 3 from the right. Example 1011 0110₂ = 266₍8₎
What is 101101 in octal?
101101 (binary) = 55 in octal.
Can I convert very large numbers?
Yes. The converter uses exact big-integer arithmetic, so there is no rounding even for long inputs.