The meaning of 8-bit, 16-bit, and 32-bit

Quite simply (but requiring more detail for other uses):

2^8 = 256
2^16 = 65536
2^32 = 4,294,967,296
2^x = 2 to the power of X-bit.

So 8-bits are simply 2 to the power of 8, which gives you 256 decimal numbers. You’re basically doing number conversions, similar to how you would convert pounds to kilos.

These numbers incidentally, are what some people call “special numbers,” because they appear everywhere in computers. Port numbers for instance, are 16 bit. (You can have port numbers from 1-65535 — port 0 is reserved)

One response to “The meaning of 8-bit, 16-bit, and 32-bit

  1. JRM

    Simple and useful. Thanks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.