The Student Room Group

Need help with a question

How do i convert the following octal Number to Hexadecimal Number, can anyone explain this step by step?

(53324)8 =>(?)16
Reply 1
Original post by cryptic
How do i convert the following octal Number to Hexadecimal Number, can anyone explain this step by step?

(53324)8 =>(?)16


The easiest way is probably to turn it into binary, then from binary into hex.

Each octal digit maps directly to 3 binary digits, and each hex digit maps directly to 4 binary digits, so it's fairly trivial, as long as you understand binary.

53324 octal => 101 011 011 010 100 binary

If we regroup these into 4s instead of 3s:

101 0110 1101 0100

We can then turn it back to hex:

56D4 hex

Remember:

0000 = 0
0001 = 1
0010 = 2
0011 = 3
0100 = 4
0101 = 5
0110 = 6
0111 = 7
1000 = 8
1001 = 9
1010 = A
1011 = B
1100 = C
1101 = D
1110 = E
1111 = F

Octal digits are the same as 0 - 7 in hex, except remember not to include the first zero (as they're only 3 bits long)

Quick Reply

Latest

Trending

Trending