Example 1 — Read the place values
Show the steps and the answer
Write the weights starting from the right end: 1, 2, 4, 8, 16, 32. So the bits 0 1 0 1 1 0 sit under 32, 16, 8, 4, 2, 1.
The rightmost bit is the ones place, and each column to the left is worth twice as much, the way decimal columns grow by 10.
Pick out the columns holding a 1: the 16, 4 and 2 columns.
Each bit is 0 or 1, so a column is counted once or not at all.
Add those weights: 16 + 4 + 2 = 22.
Binary to decimal is just the sum of the weights that are switched on.
Check the leading 0: dropping it leaves 10110, which is still 16 + 4 + 2 = 22.
A 0 on the far left adds nothing, just as 022 and 22 are the same number in decimal.
Answer: 010110 is 22.
Takeaway: Write the weights from the right, starting at 1, then add the weights that sit over a 1.