Main, skip to top

HEX

Electronic Serial Number (ESN) Hex and Decimal Conversion

Today at work I needed to convert an ESN between Hex and Decimal for legitimate purposes. I quickly discovered that it wasn't a straight conversion with Windows calculator. Searching the internet revealed quite a few websites that would do the conversion, but contained lots of other things that my employers wouldn't like me looking at while at work.

I finally found the information at TIA's ESN documentation.

I wrote a short and easier to understand explaination here.

How ESN's Work

ESN's are an 8 digit hexidecimal number or an 11 digit decimal number. Either one represents a 32 bit binary value.

Keep in mind that one digit of HEX equals 4 binary bits.

Manufacturer IDSerial Number
HEX0-F0-F0-F0-F0-F0-F0-F0-F
BINXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
DEC0-25500000000-16777215


For example:
ESN HEX: E6 9F FF FF

The Manufacturer Code is E6 (hex) or 230 (dec).

The Serial Number is 9F FF FF (hex) or 10485759 (dec).

So the decimal ESN is: 23010485759

Conversely, for decimal ESN: 23010485759

The Manufacturer Code is 230 (dec) or E6(hex).

The Serial Number is 10485759 (dec) or 9F FF FF (hex).

So the hex ESN is: E6 9F FF FF
Bottom, skip to top