Hexadecimal






What is Hexadecimal?

Hexadecimal is a number system is commonly used in computers to reduce large strings of binary numbers into a sets of four digits for us to easily understand.


Hex to Decimal

The conversion of hexadecimal to decimal is done by using the base number 16. The hexadecimal digit is expanded to multiply each digit with the power of 16. The power starts at 0 from the right moving forward towards the right with the increase in power. For the conversion to complete, the multiplied numbers are added.


Decimal to Hex

In order to convert a decimal number to hexadecimal, we divide the decimal number by 16 because 16 is a base value of hexadecimal numbers. We keep on dividing until the quotient becomes zero. The remainders are noted down and written in the reverse order in the combined form. It should be noted that the values of 10, 11, 12, 13, 14, 15 are expressed as A, B, C, D, E, and F in the hexadecimal form.