How to Read and Convert Binary Numbers

Many of us enjoy our computers and digital devices without ever giving thought to how the information and graphics get there.

Ever wonder about the Facebook stream with updates on almost-forgotten high school friends and pictures of cute kittens? It is all made possible by binary numbers.

The app you use to order lunch while driving in the car? That app is another gift of binary numbers.

Even the complex equations that guide a satellite hurtling through space to the farthest reaches of our solar system were converted and processed using binary numbers.

At its core, the binary number system is a counting system. It happens to work perfectly with computers and has become the basis of the computer and the digital revolution.

Let?s look at how binary numbers work, and how you can read and convert them to text and other systems.

What Is the Binary Number System?

Binary Number System

Image Source: Pixabay

A binary number system uses two digits, in this case a 0 and 1, to represent numerical values. This is known as a base-2 number system. A computer, and most electric devices, uses circuit voltage (an on/off switch) to represent the 0 and 1. With 0, the voltage is off. With 1, the voltage is on. This makes it a perfect system for the digital age and storing data.

As perfect as it is for the modern world, binary numbers have been around for a surprisingly long time.

The History of Binary Numbers

No one is sure exactly when, or who, invented the binary system. A recent study speculates the natives on the remote Polynesian island of Mangareva developed a binary counting system. This system tracked the goods that moved through an elaborate trading network across the islands in the Pacific.

This system wasn?t an exact replica of our current binary system, since it used both decimals and binary numbers, but it was very similar ? an impressive feat for a small island of only about 2,000 people.

Even further back, the Egyptians used a mathematical system of doubling and halving numbers, a binary computing system. It worked much like today?s computers. The Egyptians knew all numbers could be expressed by the number two.

The binary system of ancient Egypt also became the basis of Egyptian multiplication. With it, they would multiply two numbers in a series of steps in which the value is either doubled or has the first number added to it. This became the basis of their approach to mathematics, geometry, and algebra. With Egyptian multiplication, ancient Egyptians created wonders like the pyramids. They were able to measure the complex movement of the Nile to estimate growing seasons and calculate with pinpoint accuracy fractional quantities of trade goods.

The modern binary number system has long been credited to the German mathematician and philosopher Gottfried Wilhelm Leibniz. Leibniz was studying the I Ching, an ancient Chinese text, and was fascinated by the duality, the yin and yang, that is the basis of the tao. ?From the I Ching, Leibniz created a system using 0 and 1. He showed how the system could be used in a simple calculating machine.

In 1939 George Stibitz, a scientist at Bell Laboratories, built a device called the ?Model K? Adder. He called the device Model ?K? because he built it in his kitchen. The device, often credited as one of the very first computers, used on/off relays to mirror a binary number system, the system proposed by Leibniz, that applied Boolean logic to calculate complex numbers.

From there, the binary number system has become the basis of calculating devices at the foundation of the modern digital revolution.

Reading Binary Numbers

laptop woman education study young

Image Source: Pixabay

Now that we have a better understanding of what a binary number is, let?s take a closer look at how to use them. We?ll go through step by step how binary numbers work. Here?s how:

  • Binary numbers are read right to left: You start reading a binary number on the right. As a base-2 number system, each digit represents 2 to the power of (n). In reading a binary number, (n) refers to the position of the digit in the binary number string. So, a digit in the second position represents 22, or 4.
  • Binary numbers indicate whether to use the number: A 1 indicates the digit in that position should be used to calculate the number. A 0 means the digit should not be used. So, a 1 in the first position would mean 20 is used (1 x 20 = 1), or on, and that value (1) is included in the number. A 0 means the position isn?t used. So, in 101, the second position isn?t used (0 x 21 = 0).
  • Using this rule, calculate the rest of the binary numberLet?s look at a sample binary number - 01011001. Moving right to left and calculating the value, we come up with 0+26+0+24+23+0+0+20. Doing the math, we come up with 0+64+0+16+8+0+0+1 which equals 89.

Using this method, any number can be represented in the binary number system using a 0 and 1, or an on and off voltage circuit.

Converting Binary Numbers

office business colleagues meeting

Image Source: Pixabay

The binary number system can be used for more than representing numerical values. They can also be converted to represent everything from words to text, to hexadecimals. Let?s look at how that works.

1. Convert Binary to ASCII

2. Convert Decimal to Binary

3. Convert Binary to Hexadecimal

A Final Word on Binary Numbers

monitor binary system

Image Source: Pixabay

When you look at the world we live in today, there are few philosophers or scholars who have the profound impact that Gottfried Leibniz did.

When he first conceived of a language of math defined by only two values, 0 and 1 (or, according to his philosophical musings, nothingness and God), he imagined it as a basis of intelligence. All logic, and all thought, is a series of binary expressions that can be represented through binary numbers. In Leibniz?s calculations, the more complicated our world, the simpler the concepts needed to describe it. Today, we see his musings coming to life in artificial intelligence.

We live in a world of ever-increasing complexity, but the driving force at the core of the world is simple. 0 and 1. On and off. Yes and no.

Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.