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

Hexadecimal

Choose Subtopic

Binary to Hex Conversion

Step 1: starting at the RIGHT end of the binary string, group bits into groups of 4. Example: 11010110110110011001111 becomes
110 1011 0110 1100 1100 1111. What about the 3 bits at the left end? There's an implicit lead 0 (110 = 0110).

Step 2: for each group of 4 bits, substitute the Hex character corresponding to the 4 bit pattern (see table above). Example: from step 1, 0110 = 6, 1011 = B, 0110= 6, 1100 = C (used twice), 1111 = F. In order, that's 6B6CCF.

That's all there is to it!

Exercise: express 11110000110101101101101 in Hex.

   
 

 

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