1. Put in your weights in powers of 2 from right to left. 2. Insert the binary digits from right to left.
128 64 32 16 8 4 2 1 1 0 1 0 1 1 0 1
3. Add up all the weights with a binary 1 digit.
128 + 32 + 8 + 4 + 1 = 173
Binary to Hex
Calculating: 10101101
1. Put your power of 2 weights in groups of four bits from right to left. 2. Insert the binary digits from right to left.
8 4 2 1 8 4 2 1 1 0 1 0 1 1 0 1
A D
3. Add up the weights of the groups of four bits as separate hexadecimal digits.
A = 10 B = 11 C=12 D=13 E=14 F=15
2 of 3 Denary to Binary
Calculating: 173
1. Put in your weights in powers of 2 from right to left. 2. Stop when the powers are larger than your number.
128 64 32 16 8 4 2 1 1 0 1 0 1 1 0 1
3. If the number you are converting is larger than the weight insert a binary 1 digit and take away that number from the number you are converting. 4. If it is smaller then place a binary 0 digit. 5. Move to the next weight with your shorter number.
173 128 = 45 45 32 = 13 13 8 = 5 5 4 = 1 1 1=0
Hex to Binary
Calculating: AD
1. Put your power of 2 weights in groups of 4 bits from right to left. 2. Place your octal digits on top and insert the binary 1 digit so that the weights add up to the hexadecimal number. 3. Place a binary digit 0 in all other bits.
A D
8 4 2 1 8 4 2 1 1 0 1 0 1 1 0 1 Octal to Denary
Calculating: 255
1. Put in your weights in powers of 8 from right to left. 2. Place your octal digits under the weights.
64 8 1 2 5 5
3. Multiply each weight by the octal digit.
2 x 64 = 128 8 x 5 = 40 1 x 5 = 5
4. Add up each result.
128 + 40 + 5 = 173
3 of 3
Hex to Denary
Calculating: AD
1. Put in your weights in powers of 16 from right to left. 2. Stop when the powers are larger than your number.
16 1 A D
3. Multiply each weight by the hexadecimal digit.
16 x 10 = 160 1 x 13 = 13
4. Add up each result.
160 + 13 = 173
A = 10 B = 11 C = 12 D = 13 E = 14 F = 15
Denary to Hex
Calculating: 173
1. Put in your weights in powers of 16 from right to left. 2. Stop when the powers are larger than your number.
16 1 A D
3. From left to right calculate how many times the number you want to convert will go into the weight and how many will be left over. 4. Place that number under the weight.
10 x 16 = 160 with 13 left over 13 x 1 = 13 with 0 left over