Student Toolkit

Binary and Hexadecimal Converter

Convert whole numbers among binary, octal, decimal, and hexadecimal.

Your inputs

Solution

Convert binary 101101 to hexadecimal

  1. Expand the binary place values: 32 + 8 + 4 + 1 = 45 in decimal.
  2. Divide 45 by 16. The quotient is 2 and the remainder is 13.
  3. Hexadecimal uses D for 13, so the result is 2D.

What to watch for. Select the base of the input first. The digits 101101 represent a different value if interpreted as decimal.