Convert binary to octal
Binary (base 2) to octal (base 8). Type a value below, or use the reference table further down.
Multiply each digit by 2 raised to its position, counting from zero on the right, then add the results. 1010 comes to 10 in decimal, which is 12 in octal.
How to convert binary to octal
Multiply each digit by 2 raised to its position, counting from zero on the right, then add the results. 1010 comes to 10 in decimal, which is 12 in octal.
Conversions here use arbitrary-precision integers, so values beyond 64 bits convert exactly rather than being rounded.
binary to octal conversion table
Use this binary to octal chart for quick reference.
| 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 |
| 100000 | 40 |
| 1000000 | 100 |
| 1100100 | 144 |
| 1111111 | 177 |
| 10000000 | 200 |
| 11111111 | 377 |
| 100000000 | 400 |
| 1000000000 | 1000 |
| 1111101000 | 1750 |
| 1111111111 | 1777 |
| 10000000000 | 2000 |
| 111111111111 | 7777 |
| 1000000000000 | 10000 |
| 1111111111111111 | 177777 |
| 10000000000000000 | 200000 |
What is binary?
Binary is base 2, using only 0 and 1. It is how every digital computer physically stores and manipulates data, with each digit representing one bit.
What is octal?
Octal is base 8, using the digits 0 to 7. One octal digit encodes exactly three bits, which is why Unix file permissions are written as octal numbers such as 755.
Frequently asked questions
How do you convert binary to octal?
Multiply each digit by 2 raised to its position, counting from zero on the right, then add the results. 1010 comes to 10 in decimal, which is 12 in octal.
What is 1010 binary in octal?
1010 in binary is 12 in octal. In plain decimal that value is 10.
What digits does binary use?
Binary is base 2 and uses 0 and 1. Binary is base 2, using only 0 and 1. It is how every digital computer physically stores and manipulates data, with each digit representing one bit.