Write 1010111two in the base-ten system.

Check the final answer first, then review the worked steps.

Answer

87

Work

$1(2^6) + 0(2^5) + 1(2^4) + 0(2^3) + 1(2^2) + 1(2^1) + 1(2^0) = 64 + 16 + 4 + 2 + 1 = 87$

Step-by-step solution

  1. Identify the place values for each digit in the binary number $1010111_{2}$, starting from the right (the $2^{0}$ place): $2^{6}, 2^{5}, 2^{4}, 2^{3}, 2^{2}, 2^{1}, 2^{0}$.
  2. Multiply each digit by its corresponding power of 2: $(1 \cdot 2^{6}) + (0 \cdot 2^{5}) + (1 \cdot 2^{4}) + (0 \cdot 2^{3}) + (1 \cdot 2^{2}) + (1 \cdot 2^{1}) + (1 \cdot 2^{0})$.
  3. Calculate the powers: $64 + 0 + 16 + 0 + 4 + 2 + 1$.
  4. Add the results together to get the base-ten value.