How to convert Binary to Octal
Converting a binary number from Binary system to octal (base-8) system we need to groupping three digit sets from right to left of binary number.
If there are not enough digits for a set then fill the zeros to left side to three digits.
Get each group's octal equivalent.
Binary | Octal |
000 | 0 |
001 | 1 |
010 | 2 |
011 | 3 |
100 | 4 |
101 | 5 |
110 | 6 |
111 | 7 |
Concatenate the octal values.
Let's see an example. Binary number is 110110101001 :
- Group the binary digits into sets of three : 110 110 101 001
- Get each group's octal equivalent : 6 6 5 1
- Concatenate the octal values : 6651
The binary number 110110101001 is equivalent to the octal number 6651