octit to 3 bit binary and hexit to 4 bit binary

Each digit in octal is three bits. Each bit in hexidecimal is 4 bits. For any base that is a power of 2, say 2^n, for every digit of that base, you have n bits.

For example: in base 8=2^3, the number 13634 breaks up as follows:

1 ..... 3 ..... 6 ..... 3 ..... 4
001 011 110 011 100

So 13634<sub>8</sub> = 001011110011100<sub>2</sub>.
 
Top