How binary place value converts to decimal
Understand base-2 place value, how each bit doubles the last, and the decimal ranges of a nibble, a byte, and two bytes.
Every position doubles
Decimal columns are powers of ten: ones, tens, hundreds, thousands. Binary works the same way but on powers of two, so the columns from right to left are 1, 2, 4, 8, 16, 32, 64, 128 and onward. A bit that is 1 contributes its column value and a bit that is 0 contributes nothing. To read a binary number you simply add up the column values wherever a 1 sits. This doubling pattern is why a single extra bit on the left doubles the largest number you can represent.
Working through a byte by hand
Take the eight-bit number 10101010. Line the bits up against the column values 128, 64, 32, 16, 8, 4, 2, 1 from left to right. The 1 bits fall under 128, 32, 8 and 2, so the total is 128 + 32 + 8 + 2, which is 170. Do the same with 11111111 and every column is set, giving 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1, which is 255. That is why a full byte tops out at 255 and holds exactly 256 distinct values counting zero.
Nibbles, bytes and wider ranges
Four bits form a nibble and cover 0 to 15, which is why one hexadecimal digit maps to exactly one nibble. Eight bits form a byte and cover 0 to 255. Sixteen bits reach 65535 and are common for network ports and older color values, while thirty-two bits reach 4294967295 and long held the ceiling for unsigned integers and IPv4 addresses. Each time you add eight bits you multiply the range by 256, so numbers grow astonishingly fast as the bit width climbs.
Why grouping and leading zeros help
Long binary strings are hard to scan, so bits are usually written in groups of four or eight, such as 1010 1010. The grouping carries no mathematical meaning; this converter strips the spaces before reading the value. Leading zeros are pure padding that pin a number to a fixed width, for example writing 00001010 to show a full byte. Because zeros on the left add nothing, 00001010 and 1010 both convert to 10.