In computing, a byte is a unit of digital information made up of 8 bits. A byte in a computer is the basic unit used to store one character of text, such as a letter or a digit, and it is the unit behind file sizes measured in KB, MB and GB. A bit is a single 0 or 1; a byte is a group of eight of them.
“Bit” and “byte” get used almost interchangeably in casual conversation, but they’re not the same unit, and mixing them up can make a file size or an internet speed look ten times bigger or smaller than it actually is.
What a Bit Actually Is
A bit is the smallest possible unit of information a computer can store — a single 0 or a single 1, on or off, nothing in between. On its own, a single bit can only represent two possible states, which isn’t enough to encode a letter, a color, or a number of any real size, which is exactly why bits are almost always grouped together.
What a Byte Actually Is
A byte is a group of 8 bits treated as a single unit, and it’s the standard building block computers use to store almost everything — a single character of text, for instance, fits in exactly one byte under the ASCII system. Eight bits gives 256 possible combinations, which is enough range to cover the full alphabet in both cases, all ten digits, and a wide set of punctuation and symbols.
Why the Difference Matters for File Sizes
This distinction matters most when reading file sizes and internet speeds, because they’re measured in different units on purpose. A file size like “5 MB” means 5 megabytes, made of 8-bit bytes. An internet speed like “50 Mbps” means 50 megabits per second — bits, not bytes — so an actual download speed in megabytes per second is roughly one-eighth of the advertised megabit number.
A Simple Way to Remember It
The easiest way to keep them straight is the capital letter: a lowercase “b” means bits, and a capital “B” means bytes, so “Mb” is megabits and “MB” is megabytes — an 8x difference hiding in a single letter’s case.
Seeing Bits and Bytes in Action
The clearest way to see the relationship is to convert a piece of text and count. Our binary translator turns any text into its 8-bit binary form, and every 8-digit group you see in the output is exactly one byte — so a five-letter word becomes five bytes, or 40 bits, in one conversion.
Worked Examples
- Download speed: a 100 Mbps connection moves 100 megabits per second, which is 12.5 megabytes per second (100 divided by 8) at best.
- A 500 MB file: at 50 Mbps (6.25 MB per second), it takes about 80 seconds at the theoretical maximum.
- A text message: 160 ASCII characters is 160 bytes, which is 1,280 bits.
Real-world speeds are usually lower because of network overhead, distance and other devices on the connection.
Why Computers Use 8-Bit Bytes
Eight bits gives 256 combinations, enough for all of ASCII with room to spare. Early computers experimented with other sizes, but the 8-bit byte became the standard because it fit text, numbers and memory addressing neatly, and the whole industry built on it.
Other Units in the Family
A nibble is 4 bits, which is exactly one hexadecimal digit. A word is the amount of data a processor handles at once, commonly 32 or 64 bits on modern computers. See hexadecimal explained for how nibbles map to hex digits.
Common Mistakes With Units
- Reading “Mb” as megabytes when it is megabits.
- Comparing a storage size in GB with a speed in Mbps without converting.
- Assuming 1 KB is always exactly 1,000 bytes. Some systems use 1,024, which is why operating systems and drive makers sometimes show different sizes.
To see how text becomes bytes, read our beginner guide to translating binary.
Where This Comes Up Elsewhere
Storage devices, memory, and network speeds are all sized using bytes and their multiples — kilobytes, megabytes, gigabytes — and the bit/byte distinction is what makes those units make sense in the first place. Our guide to bytes, kilobytes, megabytes, and gigabytes walks through exactly how those bigger units stack up.
