What a byte actually is
In computing, a byte is the basic addressable unit of digital information. On almost every modern system you will use, one byte equals eight bits — eight binary digits that can represent 256 distinct values (0 through 255).
That fixed width is why bytes show up everywhere: file sizes, RAM capacity, network throughput, and character encodings all count information in bytes (or multiples of them).
Bits vs bytes
- Bit — a single binary state (0 or 1). The smallest unit of information.
- Byte — typically 8 bits grouped as one addressable unit.
- Nibble — 4 bits (half a byte); still used in low-level debugging and hex notation.
Networking often quotes speed in bits per second (Mbps), while storage and memory are quoted in bytes (MB, GB). Mixing the two is a common source of confusion when reading ISP plans or disk labels.
How bytes scale
| Unit | Approx. size | Typical use |
|---|---|---|
| Kilobyte (KB) | ~10³ bytes | Short text, tiny configs |
| Megabyte (MB) | ~10⁶ bytes | Photos, short audio |
| Gigabyte (GB) | ~10⁹ bytes | Apps, video clips, SSD capacity |
| Terabyte (TB) | ~10¹² bytes | Drives, backups, datasets |
Vendors sometimes use decimal (1,000) vs binary (1,024) multiples — that is why a “1 TB” drive can show less free space in your OS.
Why bytes matter for home labs
- Right-size backups and NAS volumes using real byte counts, not marketing labels alone.
- When troubleshooting slow transfers, convert Mbps ↔ MB/s so expectations match the wire.
- Character encodings (UTF-8) store text as one or more bytes per character — useful when debugging APIs and logs.