# How to convert Binary to Octal?Watch

#1
How do you convert binary to octal? I remember doing it ages ago but I cant find it in my notes and I cant find it on the internet
0
4 years ago
#2
(Original post by mclean_tom_)
How do you convert binary to octal? I remember doing it ages ago but I cant find it in my notes and I cant find it on the internet
It's the same process as converting to and from hexadecimal, except whereas each hexadecimal digit represents 4 bits, each octal digit represents 3.

For example, the (big-endian) binary number 10101110 can be split into three groups. Starting from the left, the first three numbers are 110, which is 6 in decimal/octal. The second three digits - 101 - are 5 in decimal/octal, and the final two are 10, which is 2. Put these numbers together and you get 256.
0
#3
(Original post by miser)
It's the same process as converting to and from hexadecimal, except whereas each hexadecimal digit represents 4 bits, each octal digit represents 3.

For example, the (big-endian) binary number 10101110 can be split into three groups. Starting from the left, the first three numbers are 110, which is 6 in decimal/octal. The second three digits - 101 - are 5 in decimal/octal, and the final two are 10, which is 2. Put these numbers together and you get 256.
Thank you
0
4 years ago
#4
(Original post by miser)
It's the same process as converting to and from hexadecimal, except whereas each hexadecimal digit represents 4 bits, each octal digit represents 3.

For example, the (big-endian) binary number 10101110 can be split into three groups. Starting from the left, the first three numbers are 110, which is 6 in decimal/octal. The second three digits - 101 - are 5 in decimal/octal, and the final two are 10, which is 2. Put these numbers together and you get 256.

You seem to have worked it out from the correct end anyway
0
4 years ago
#5
(Original post by davros)

You seem to have worked it out from the correct end anyway
Sorry you're completely right - I meant to say the right. Least-significant bits first, or else the number needs to be padded with zeroes so that the number of digits is evenly divisible by 3.
0
X

new posts
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

### University open days

• University of East Anglia
All Departments Open 13:00-17:00. Find out more about our diverse range of subject areas and career progression in the Arts & Humanities, Social Sciences, Medicine & Health Sciences, and the Sciences. Postgraduate
Wed, 30 Jan '19
• Aston University
Wed, 30 Jan '19
• Solent University
Sat, 2 Feb '19

### Poll

Join the discussion

Remain (1375)
79.53%
Leave (354)
20.47%