This article explains the hexadecimal number system. Method to convert a hex to decimal, decimal to hex, hex to binary and binary to hex has also been elaborated with examples.

**What is Hexadecimal Number System?**

Hexadecimal number system is a system which uses 16 digits. Unlike decimal numbering system, this system uses digits 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E &F to represent a number. Digits A,B,C,D,E&F represents 10,11,12,13,14,15 and 16 respectively.

In Hexadecimal number system, each significant position has a positional weight. The least significant position has a weight of 16^{0} i.e. 1; the higher significant positions are given weights in the ascending powers of sixteen i.e. 16^{1}, 16^{2}, 16^{3} etc. respectively.

The hexadecimal equivalent of a decimal number can be obtained by dividing the given decimal number by 16 repeatedly until quotient of zero is obtained.

**Decimal to Hex Conversion:**

To convert a decimal number into Hex, the number is divided by 16 progressively till quotient zero is reached. The equivalent Hex for the given decimal is the remainders obtained in reverse order.

Let us consider an example to better understand decimal to hex conversion.

**Example-1:** Suppose, we need to convert (115)_{10} into its equivalent Hex.

Division |
Generated Remainder |

16) 115 | |

16) 7 | 3 |

16) 0 | 7 |

Reading remainders from bottom to top is the equivalent Hexadecimal number i.e. (73)_{16} is the equivalent hex for decimal number 115.

**Example-2:** Suppose, we need to convert (235)_{10} into its equivalent Hex.

Reading remainders from bottom to top is the equivalent Hexadecimal number i.e. (EB)_{16} is the equivalent hex for decimal number 235.

**Hex to Decimal Conversion:**

The conversion from a hex to decimal number can be carried out by multiplying each significant digit of the hex number by its respective weight and adding the products. This is illustrated in the following example:

Example-1: Convert hex (A3BH)_{16} into equivalent decimal number.

A3BH

= Ax16^{2}+3×16^{1}+Bx16^{0}

= Ax256 + 3×16 + B

= 10×256 + 48 + 11

= (2619)_{10} *Answer*

**Hex to Binary Conversion:**

Conversion from hexadecimal (hex) to binary and vice versa can easily be carried out. For arriving at the binary equivalent of a hex number, each significant digit in a given number is replaced by its 4-bit binary equivalent. Example shown below illustrate the process of conversion from hex to binary:

The binary equivalent of hex number (2D5)_{16} is (001011010101)_{2}. *Answer*

**Binary to Hex Conversion:**

To convert a binary number into its equivalent hex number, a group of 4-bit is made starting from the least significant digit. Each group of 4-bit is then replaced by its equivalent hex number. Example below illustrate the process.

The hex equivalent is (7B5)_{16}. *Answer*

Why we have monitor only 3rd harmonic resistive current in LA health monitoring why not other order harmonic currents like 5th 7th etc..