answersLogoWhite

0

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

BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran

Add your answer:

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