answersLogoWhite

0


Best Answer

To convert a binary number to an octal number, you need to know how an octal number is represented in binary. It is like this:

0 = 000 4 = 100

1 = 001 5 = 101

2 = 010 6 = 110

3 = 011 7 = 111

As you can see, an octal number consists of 3 'bits' (either a 0 of a 1).

Now, to convert a binary number to an octal number, you first have to group the binary digits into groups of 3 bits (starting from the right). Then, you convert every group of bits into octal numbers. This way you get your binary number into an octal one.

For example:

(1010100111010010)2

We group them into groups of 3 bits, starting from the right.

1 010 100 111 010 010

As you see, we have a single digit left. We must add 0's to make it a group of 3 bits.

001 010 100 111 010 010

Then we convert every group into an octal number, according to the table above.

001 = 1 010 = 2 100 = 4 111 = 7 010 = 2 010 = 2

And in this way, you converted a binary number into an octal one.

(1010100111010010)2 = (124722)8

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine

Add your answer:

Earn +20 pts
Q: How can convert binary to octal?
Write your answer...
Submit
Still have questions?
magnify glass
imp