0

Decoded

Num from Hex

Encoded

Num to Hex

About hexadecimal numbers

Hexadecimal represents numbers in hexadecimal notation.

In hexadecimal, the number is represented by "0123456789ABCDEF" with 16 as the base. Decimal numbers 0 to 9 are represented by 0 to 9 even in hexadecimal numbers, and 10 to 15 are represented by A to F.

An example of conversion in hexadecimal is as follows. For reference, an example of conversion between binary and octal numbers is also provided.

DecimalBinaryOctalHexadecimal
0000
1111
21022
711177
81000108
91001119
10101012A
15111117F
16100002010
17100012111

Also, numbers after the decimal point are converted as 16-1 (1/16), 16-2 (1/256), 16-3 (1/4096), ... in hexadecimal numbers. If the number after the decimal point cannot be represented by the total of 16-n, it cannot be completely converted to hexadecimal and an error will occur. In that case, DenCode omits it by adding "..." at the end.

DecimalBinaryOctalHexadecimal
0.50.10.40.8
0.750.110.60.C
0.90.11100110011001...0.71463...0.E666...