ADC home pageIntroductionGoalsWhy digitize?Number RepresentationDigital to AnalogAnalog to DigitalApplicationsLiterature Citations

Hexadecimal

Choose Subtopic

Hex to Decimal Conversion

Here we need to know the place values for each Hex symbol. The least significant (right-most) place is the 1's place. Next to the left is the 16's (161). Then comes 162 = 256. Next is 163 = 256*16 = 4096. The next 3 places are 164 = 65536, 165 = 1,048,576, and 166 = 16,777,216. With 64 bit computers becoming common and 128 machines on the horizon, having 1616 tabulated is handy, and having 1632 available will matter within the professional lifetime of anyone using this module.

To convert a 4 place Hex number to decimal, we simply multiply the value in each place times the power of 16 represented by that place. D3F2 = D*163 + 3*162 + F*161 + 2*160 = 13*4096 + 3*256 + 15*16 + 2 = 54,258.

Exercise: convert AB5D to decimal.

   
 

 

University of Illinois Homepage The Camille & Henry Dreyfus Foundation Homepage Home Scheeline Group Home Page Univ. of Illinois at Urbana-Champaign Home Page Department of Chemistry Home Page Creative Commons License System Homepage