Binary Conversion
Binary Conversion
Decimal values, binary values, and characters are all used to communicate information.
Computers receive and communicate information with binary values, so the binary system
shapes the rules and conventions of how computers interact with one another. Being able to
convert binary values to decimal values or characters will help you better understand IT
infrastructure and computer networking. In this reading, you’ll learn more about converting
between decimal values, binary values, and characters. You’ll also practice using a binary
conversion table.
You can use a conversion table, like the one that follows, to convert from decimal to binary, and
vice versa:
1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
Decimal value 128 64 32 16 8 4 2 1
Off or on
In this table, the “Decimal value” row displays the decimal value of each bit in the byte. For
example, the 3rd bit has a value of 32 and the 8th bit has a value of 1. To use this table for a
conversion, the “Off or on” row is filled to indicate if a bit is off (0) or on (1). Then, the numbers in
the “Decimal value” rows that have a 1 in the “Off or on” row of the same column are added
together to get the decimal value of the byte.
This might seem complicated, but it just takes some practice! In the next sections, you’ll use this
table to convert from binary to decimal values and from decimal to binary values.
In this example, 128 + 16 + 8 + 4 + 1 = 157. Therefore, the decimal value represented by the
binary number 10011101 is 157.
1st bit 2nd bit 3rd bit 4th bit 5th bit 6th bit 7th bit 8th bit
Decimal value 128 64 32 16 8 4 2
Off or on 0 1 0 1 0 1 1
Try it yourself!
Now, practice on your own by completing the following practice problems:
1. Use the binary conversion table to convert the binary value 00010011 into a decimal value.
2. Use the binary conversion table to convert the decimal value 179 into a binary value.
UTF-8 is a newer standard that uses the same ASCII character encodings but allows characters
to be represented with more than one byte. This allows many more characters–and even
emojis–to be represented with binary.
Key takeaways
Computers communicate using binary, so it is important for IT support specialists to understand
how binary works and to be able to convert binary values into both decimal values and
characters. You can use a binary conversion table to help you convert between decimal and
binary values. You can use an ASCII or UTF-8 table to convert from binary or decimal values into
characters.