KWANZA SONORA EDWARDS

Professional Documentation Platform

Let's Eat

From Foundation to Structure.
Binary, 0s and 1s, off and on. That is the foundation.
Now it's time to eat. Bits, Nibbles & Bytes.

We previously explored binary, the code computers use to communicate. Just as letters form words and words form sentences, binary digits are grouped together to create meaningful information.

What is a Bit?

A bit (binary digit) is the smallest unit of information in computing. A bit has only two possible values:
0 or 1

Every image, web page, password, packet, and file eventually becomes a sequence of individual bits.

What is a Nibble?

Four bits grouped together form a nibble. This grouping becomes especially important because one nibble corresponds directly to a single hexadecimal digit. As you progress through these guides, you'll see hexadecimal appear frequently in packet captures, memory addresses, and application analysis.

What is a Byte?

Eight bits form one byte or two nibbles form one byte. The byte is the standard unit used to represent digital information. Because a byte contains eight binary digits, it can represent 256 unique values (2⁸ = 256).

A single byte can represent:

A number

A letter

Part of an image

Part of a network packet

Or any other piece of digital information

Every byte carries meaning based on the context in which it is used.
The Digital Hierarchy
Bit
Binary Digit
0 or 1
Smallest unit
Nibble
4 bits
Byte
8 bits
2 nibbles
1 byte = 8 bits OR 1 byte = 2 nibbles.

Three Bytes, Three Examples

Each of these is one byte = 8 bits, just like the columns in the Binary Place Value Chart.

10000001
8 bits = 1 byte
00010010
8 bits = 1 byte
01011110
8 bits = 1 byte

10000001, 00010010, and 01011110 are all different values,
but they are all one byte each.
The Binary Place Value Chart shows you how to decode each one.

BACK NEXT