Decimal - Binary - Hex Conversion Sheet - Examples

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

Binary to Decimal Conversion Sheet

Binary Number: 0001 1001

Which 11 10 9 8 7 6 5 4 3 2 1 0
Power of 2?
Digit Value 0 0 0 1 1 0 0 1
(0 or 1)

Multiply each digit by its power of 2 and sum:

1 x 20 = 1
0 x 21 = 0
0 x 22 = 0
1 x 23 = 8
1 x 24 = 16
x 25 =
x 26 =
x 27 =
x 28 =
x 29 =
x 210 =
x 211 =
Sum: 25

Transfer the above sum…

Decimal Number: 25
Decimal to Binary Conversion Sheet

Decimal Number: 25

Powers of 2 (for reference)


Which Power of 2? 11 10 9 8 7 6 5 4 3 2 1 0
Decimal Value 2048 1024 512 256 128 64 32 16 8 4 2 1

Keep subtracting largest power of two until you get to zero. Keep track of WHICH
powers of two were used.
Decimal Value Remaining Value of largest power Which power of 2 is Remainder
of 2 ≤ Decimal Value this? (finished if zero)
25 16 4 9
9 8 3 1
1 1 0 0

Fill in the powers of 2 used with 1s, fill gaps with 0s:
Which Power of 2? 11 10 9 8 7 6 5 4 3 2 1 0
1 or 0?
0 0 0 1 1 0 0 1
Transfer the above result…

Binary Number: 0001 1001


Hexadecimal to Decimal Conversion Sheet

Hex Number: 0x F37A

Which Power 4 3 2 1 0
of 16?
Digit Value (0 15 3 7 10
through 15)

Multiple each digit value by its power of 16 and sum:

10 x 160 = 10
7 x 161 = 112
3 x 162 = 768
15 x 163 = 61440
x 164 =
Sum: 62330

Transfer the above sum…

Decimal Number: 62,330


Decimal to Hexadecimal Conversion Sheet

Decimal Number: 590


Keep dividing the decimal number by 16, keeping track of the remainder each
time until you can’t divide by 16 anymore.
Column A Column B Column C Column D Column E
Decimal Value # of times column A # of times (from column A - column C Column D as a
Remaining is divisible by 16 column B) x 16 Hex Digit
(transfer to column A
on next line)
590 36 576 14 E
36 2 32 4 4
2 0 0 2 2

Record column E values from bottom-to-top…

Hex Number: 0x 24E


Hexadecimal to Binary AND Binary to Hexadecimal Conversion Sheet

Hex Number: 0x F37A

Do conversion by replacing each hex-digit with the corresponding group of 4 bits


OR by replacing each group of 4 bits with the corresponding hex-digit. Work top
to bottom (hex to binary) or bottom to top (binary to hex).

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

Binary Number: 1111 0011 0111 1010


(In groups of 4-digits, padding with zeros from the left if necessary)

You might also like