Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Computer Science

8-4-2-1

Eight Four Two One

Helps you remember the place values in a binary nibble from left to right.

When to use it

Use it when converting a 4-bit binary number (nibble) to decimal to recall that the bit positions are worth 8, 4, 2, and 1 from left to right.

Example

The binary nibble 1011 has bits set in the 8, 2, and 1 positions, so its decimal value is 8 + 2 + 1 = 11.

Common mistake

Reading the bits right to left and assigning 1 to the leftmost position. The largest place value (8) is always at the left, just as the hundreds digit sits left of the tens digit in decimal.