Binary to Octal
Use three-bit place groups to rewrite a binary integer as octal.
Use three-bit place groups to rewrite a binary integer as octal.
How to use
- Start with the sample as a continuous series of binary digits.
- Convert that single number to base eight.
- Work from right to left in groups of three to check the displayed result by hand.
Worked example
Input
101011101Expected result
535Check the result
The groups 101, 011 and 101 yield 5, 3 and 5.