- vCommons Home
- Integer to Hex

# Integer to Hex

AndrewBudd.Integer to Hex

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 16^{0} (1)

The second value in an hex number is multiplied by 16^{1} (16)

The third value in an hex number is multiplied by 16^{2} (256)

The forth value in an hex number is multiplied by 16^{3} (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• 16^{0} + 10• 16^{1} + 0 • 16^{2} + 15 • 16^{3} = 61607 in base 10 numbers which we commonly use.