Binary Number Examples: Converting 256, 128, and Other Common Numbers

Some binary numbers come up often enough in computing that it’s worth knowing their conversions by heart — round numbers like 256, and other common values that show up in file sizes, network settings, and programming examples.

crossorigin="anonymous">

Why 256 Is Everywhere

256 into binary is 100000000 — a 1 followed by eight 0s. It shows up constantly because 256 equals 2 to the 8th power, which is exactly the number of values a single byte can represent (0 through 255, or 256 total possibilities). Anywhere a system is limited by “one byte,” the number 256 tends to appear as the boundary.

Converting 35 to Binary

Using the subtract-the-largest-power-of-two method: 32 fits into 35 (mark 1, remainder 3), 16 and 8 and 4 don’t fit into 3 (mark 0 three times), 2 doesn’t fit either (mark 0), and 1 fits (mark 1, remainder 0). The result is 100011.

Converting 12 to Binary

8 fits into 12 (mark 1, remainder 4), 4 fits into the remainder (mark 1, remainder 0), and 2 and 1 don’t fit (mark 0 twice). The result is 1100.

Reading a Few Binary Numbers Back to Decimal

The number 11011 in binary breaks down as 16+8+0+2+1, giving 27 in decimal. The number 1110 breaks down as 8+4+2+0, giving 14. Working through both directions on the same handful of numbers is a good way to confirm you’re applying the place-value method consistently.

Where These Round Numbers Come From

Numbers like 8, 16, 32, 64, 128, and 256 keep showing up because they’re all powers of two, which makes them natural boundaries in a system built entirely on binary — the maximum value a certain number of bits can hold, the size of a memory block, or a common buffer size in software all tend to land on one of these numbers rather than an arbitrary one.

Common Powers of Two Worth Memorizing

Beyond 256, a handful of other powers of two come up often enough to be worth memorizing outright: 2, 4, 8, 16, 32, 64, and 128, each one double the last. Recognizing these instantly makes both directions of conversion noticeably faster, since a large chunk of everyday binary numbers are built from combinations of just these few values.

Practice More Conversions

Our binary translator checks binary-to-text conversions, and our guide on binary to decimal practice has additional worked examples if you want more to try.

Leave a Comment