# Integer to Hex

Not Reviewed
Tags:
Rating
Copied from
ID
AndrewBudd.Integer to Hex
UUID
fa258a52-2326-11e9-8682-bc764e2038f2

The Integer to Hexadecimal Calculator accepts an integer value and returns the given integer converted to hexadecimal.

INSTRUCTIONS: Enter the following:

• (i) This is a base 10 integer

Hex Value:  The calculator returns the hexadecimal number equal to the base 10 value of the input integer.

#### The Math / Science

Hexadecimal numbers are comprised of digits from zero to 9, and A, B, C, D, E, F.  The position of the digit indicates the exponent of 16 added to the value, making Hex a base 16 number system

The first value in an hex number is multiplied by 160  (1)
The second value in an hex number is multiplied by 161 (16)
The third value in an hex number is multiplied by 162 (256)
The forth value in an hex number is multiplied by 163 (4,096), and so on.  The letter A, B, C, D, E, F represent the base 10 values of 10, 11, 12, 13, 14 and 15 respectively

In this way, the Octal number of F0A7 is:

7• 160 + 10• 161 + 0 • 162 + 15 • 163 = 61607 in base 10 numbers which we commonly use.