Binary Number System: What is it? (Definition & Examples)

💡
Key learnings:
  • Binary Number System Definition: The binary number system is defined as a number system with a base 2, using only the digits 0 and 1.
  • Binary Numbers in Digital Electronics: Binary numbers are crucial in digital electronics for representing on (1) and off (0) states.
  • Conversion to Decimal: Binary numbers can be converted to decimal by multiplying each binary digit by 2 raised to its position power and summing the results.
  • Decimal to Binary Conversion: To convert a decimal number to binary, divide the number by 2 repeatedly and record the remainders.
  • Historical Significance: The binary number system was introduced by Pingala and modernized by Leibniz, playing a vital role in the development of digital technology.

What is the Binary Number System?

In digital electronics, binary numbers are essential for giving digital inputs. Before understanding the binary number system, we need to understand the decimal number system, which we use daily. The decimal system was the first number system introduced in human history for counting.

Different numbers for counting are represented by different symbols. For example, 1 represents a single thing, 2 represents two things, and 3 represents three things. The symbols 4, 5, 6, 7, 8, and 9 are used for four to nine things, respectively. The symbol 0 means there is nothing to count. So, 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 are the ten basic symbols used in the decimal number system, also known as the base 10 system.

But if there are more than nine things to be counted, then we do not go for another new symbol, rather we combine two or more symbols from 0 to 9 and represent the numbers which is more than nine. For representing nine + one that is ten, we use 10, for nine + two we use 11 and so on. In this way we established decimal number system.

binary number

Now, let’s look at the binary number system. It is called “binary” because it uses two symbols, 0 and 1, to represent all numbers. This system works similarly to the decimal system but with only two digits. See the animation below to understand the conversion of binary to decimal numbers.

History of Binary Number System

The binary number system was introduced by an Indian scholar named Pingala around the 5th to 2nd centuries BC. He used long and short syllables to represent the two types of numbers, similar to Morse code.

Gottfried Leibniz in 1679 introduced the modern type of binary number system which we still use.
Any decimal number can be represented using the binary number system. This system is popular in digital electronics because it easily represents the on (1) and off (0) states.

00010203040506070809
10111213141516171819
20212223242526272829
30313233343536373839
40414243444546474849
50515253545556575859
60616263646566676869
70717273747576777879
80818283848586878889
90919293949596979899

Here, in the table above, every number is represented by combination of any two of basic symbols (0 to 9). These basic symbols are known as digit and corresponding position of these digit in a represented number is known as bit. So all the decimal number represented above are two digits, double bits number. The left most bit in a number is referred as most significant bit (MSB) where as the right most bit is referred as least significant bit (LSB).

If we observe the numbers given above we will find that first ten successive numbers i.e. from 00 to 09 are represented by changing ten decimal digits at LSB. Then MSB is changed to next successive digit and by changing digits at LSB other ten successive numbers (from 10 to 19) are represented. At third row in the table MSB is changed to next successive digit and by changing digits at LSB other ten successive numbers (from 20 to 29) are represented.

There are total 100 i.e. from 00 to 99 numbers represented by two bits in decimal system. 100 means 102 which implies (number of basic digits)number of bits. Hence by 3 bits 103 or 1000 numbers(i.e from 000 to 999) can be represented. Similarly, by n bits 10n numbers can be represented.

Now think about the situation, where a number system has only two digit 0 and 1. This system can also be represented in same logic as decimal system. The number system with only two digit 0 and 1 is known as binary number system.

Here, zero is represented by a symbol ‘0’ and one is represented as ‘1’ but if number is more than one then MSB is changed to 1, and by changing LSB other two successive numbers, can be represented. Just like decimal system, total numbers counted by binary system depends upon it bits.

For two bit binary, 22 numbers i.e. zero to three can be represented. Formula is same here, total numbers represented by binary number system = (number of basic digits)number of bits. Number of basic digits in binary system is two (0 and 1) but number of bits can be chosen any thing from 1 to infinity, hence all range of numbers can easily be represented by binary system, like all other number system.

Binary Number System Definition

Binary number system is defined as a number system with a base (or radix) 2. This means that the numbers in this system are formed with two digits – 1 and 0.

Now, think about the a decimal number such as 625. From very basic concept we can understand

Here, 625 is three bits decimal number, whose right most digit or digit at LSB is 5 and if we count the bits from right the right most bit will be 0. Next bit from right is numbered as 1 and here digit 2 is placed and similarly the left most bit is 2 and digit is 6. So from this example it is clear that any decimal number can be represented as:
∑digit × 10corresponding position or bit
Here in the above expression 10 is the total number of digits used in decimal system i.e. 0 to 9
Like decimal system any number system can be represented by same expression, only 10 in the expression should be replaced by total number of digits used in that system. Hence, any number in any system, can be represented as:
∑digit × (number of digits used in that system)corresponding position or bit
The number of digits used in binary number system is 2. Hence, any number can be represented in this system by:
∑digit × (2)corresponding position or bit

543210 Position or bit
101010 Binary digits

Here, the binary number number 101010. Therefore, as per above expression, the number may be expressed as:

For better understanding please observe the table below:

 Binary NumberDecimal Equivalent
Position
or bit
76543210
Binary
digits
000000000×27 + 0×26 + 0×25 + 0×24 + 0×23 + 0×22 + 0×21 + 0×20 = 0
000000010×27 + 0×26 + 0×25 + 0×24 + 0×23 + 0×22 + 0×21 + 1×20 = 1
000000100×27 + 0×26 + 0×25 + 0×24 + 0×23 + 0×22 + 1×21 + 0×20 = 2
000000110×27 + 0×26 + 0×25 + 0×24 + 0×23 + 0×22 + 1×21 + 1×20 = 3
000001000×27 + 0×26 + 0×25 + 0×24 + 0×23 + 1×22 + 0×21 + 0×20 = 4
000001010×27 + 0×26 + 0×25 + 0×24 + 0×23 + 1×22 + 0×21 + 1×20 = 5
000001100×27 + 0×26 + 0×25 + 0×24 + 0×23 + 1×22 + 1×21 + 0×20 = 6
000001110×27 + 0×26 + 0×25 + 0×24 + 0×23 + 1×22 + 1×21 + 1×20 = 7
000010000×27 + 0×26 + 0×25 + 0×24 + 1×23 + 0×22 + 0×21 + 0×20 = 8
binary number

See the animation blow to get an idea how different binary numbers counted

Want To Learn Faster? 🎓
Get electrical articles delivered to your inbox every week.
No credit card required—it’s 100% free.

About Electrical4U

Electrical4U is dedicated to the teaching and sharing of all things related to electrical and electronics engineering.

Leave a Comment