# Number System in Digital Electronics

Definition: In digital electronics, the number system is used for representing the information. The number system has different bases and the most common of them are the decimal, binary, octal, and hexadecimal. The base or radix of the number system is the total number of the digit used in the number system. Suppose if the number system representing the digit from 0 – 9 then the base of the system is the 10.

## Types of Number Systems

Some of the important types of number system are

1. Decimal Number System
2. Binary Number System
3. Octal Number System
4. Hexadecimal Number System

These number systems are explained below in details.

### 1. Decimal Number Systems

The number system is having digit 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; this number system is known as a decimal number system because total ten digits are involved.The base of the decimal number system is 10.

### 2. Binary Number Systems

The modern computers do not process decimal number; they work with another number system known as a binary number system which uses only two digits 0 and1.The base of binary number system is 2 because it has only two digit 0 and 1.The digital electronic equipments are works on the binary number system and hence the decimal number system is converted into binary system.

The table is shown below the decimal, binary, octal, and hexadecimal numbers from 0 to 15 and their equivalent binary number.

0000000
1000111
2001022
3001133
4010044
5010155
6011066
7011177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F

### 3. Octal Numbers

The base of a number system is equal to the number of digits used, i.e., for decimal number system the base is ten while for the binary system the base is two. The octal system has the base of eight as it uses eight digits 0, 1, 2, 3, 4, 5, 6, 7.

All these digits from 0 to 7 have the same physical meaning as by decimal symbols, the next digit in the octal number is represented by 10, 11, 12, which are equivalent to decimal digits 8, 9, 10 respectively. In this way, the octal number 20 will represent the decimal digit and subsequently, 21, 22, 23.. Octal numbers will represent the decimal number digit 17, 18, 19… etc. and so on.

### 4. Hexadecimal Numbers

These numbers are used extensively in microprocessor work.The hexadecimal number system has a base of 16, and hence it consists of the following sixteen number of digits.

0, 1, 2, 3,  4, 5, 6, 7, 8, 9, A, B, C, D, E,  F.

The size of the hexadecimal is much shorter than the binary number which makes them easy to write and remember. Let 0000 to 000F representing hexadecimal numbers from zero to fifteen, then 0010, 0011, 0012, …etc. Will represent sixteen, seventeen, eighteen… etc. till 001F which represent thirty open and so on.