“Megabits” and “megabytes” differ by one letter and a factor of eight – and mixing them up is the #1 cause of confusion about internet speeds, file sizes, and storage. This guide clears it up permanently.
The Short Answer
- A bit is a single binary digit: one 0 or one 1. It’s the smallest unit of data.
- A byte is a group of 8 bits. It’s the standard unit for measuring file sizes and memory.
Notation matters: b = bit, B = byte. So “100 Mb” (megabits) and “100 MB” (megabytes) differ by 8×. ISPs advertise in megabits; your downloads display in megabytes – which is why a “100 Mbps” connection downloads at roughly 12.5 MB/s.
How Many Bits in a Byte?
Exactly 8 bits = 1 byte. This wasn’t always the standard – early systems used 6-bit and 7-bit bytes – but 8-bit bytes won because 8 bits can represent 256 values (0-255), exactly enough for one ASCII character plus control codes.
Related groupings worth knowing:
| Unit | Size |
|---|---|
| Bit | 1 binary digit |
| Nibble | 4 bits (half a byte, one hex digit) |
| Byte | 8 bits |
| Word | 16, 32, or 64 bits (depends on CPU) |
| Kilobit (kb) | 1,000 bits |
| Kilobyte (KB) | 1,024 bytes |
Want to see bits and bytes in action? Type any character into a binary converter – ‘A’ becomes `01000001`, exactly 8 bits = 1 byte.
Worked Example: How Many Bits in a Kilobyte?
This is where it gets tricky, because kilo means different things for bits vs bytes:
- 1 kilobit (kb) = 1,000 bits (decimal, SI prefix)
- 1 kilobyte (KB) = 1,024 bytes = 1,024 × 8 = 8,192 bits
So one kilobyte contains 8,192 bits. The full ladder:
| Unit | Bytes | Bits |
|---|---|---|
| 1 KB | 1,024 | 8,192 |
| 1 MB | 1,048,576 | 8,388,608 |
| 1 GB | 1,073,741,152 | 8,589,934,592 |
| 1 TB | ~1.1 trillion | ~8.8 trillion |
Why Your Internet Speed Never Matches Downloads
A “500 Mbps” fiber plan delivers 500 megabits per second. Divide by 8:
500 ÷ 8 = 62.5 MB/s theoretical maximum download speed.
In practice you’ll see ~55-60 MB/s after protocol overhead. This isn’t your ISP cheating – it’s just bits vs bytes. The same math explains why a 4.7 GB DVD takes about 10 minutes to download on a 60 Mbps connection: 4,700 MB × 8 = 37,600 Mb ÷ 60 Mbps ≈ 627 seconds.
Bits and Bytes in File Sizes
Every character you type is (usually) 1 byte:
- The word “hello” = 5 bytes = 40 bits
- This sentence ≈ 30 bytes ≈ 240 bits
- A 3-minute MP3 (~3 MB) ≈ 25 million bits
- A 4K movie (~20 GB) ≈ 172 billion bits
Images and video use far more because they store millions of pixels, each needing multiple bytes for color information.
Memory Addresses and Why Bytes Won
Memory is byte-addressable: each byte in RAM has its own address. Bits are too small to address individually (the address bookkeeping would cost more than the data), so the byte became the fundamental unit of storage even though the bit is the fundamental unit of information.
This is also why 32-bit systems max out at ~4 GB RAM: 2³² bytes = 4,294,967,296 bytes ≈ 4 GB. A binary converter can show you that 2³² − 1 in binary is exactly 32 ones.
Bits in Network Packets
Every packet crossing the internet carries headers measured in bits and bytes. An IPv4 header is 20 bytes (160 bits) minimum; a TCP header adds another 20 bytes. So before any of your actual data moves, 40 bytes of addressing and control information ride along. On small packets – like a 64-byte ping – headers can exceed payload, which is why protocol overhead matters most for chatty, small-message applications like gaming and VoIP.
Frequently Asked Questions
Is a byte always 8 bits?
On every modern system, yes. Historically bytes were 6, 7, or 9 bits on some machines, but 8-bit bytes (octets) have been universal since the 1980s. In networking standards, “octet” is used specifically to mean 8 bits unambiguously.
What's bigger, MB or Mb?
MB (megabyte) is 8× bigger than Mb (megabit). 1 MB = 8 Mb. Capital B = bytes, lowercase b = bits – this single-letter difference causes endless confusion.
How many bytes are in a gigabyte?
1 GB = 1,024³ = 1,073,741,824 bytes (using binary prefixes). Drive manufacturers sometimes use 1,000³ = 1,000,000,000 bytes, which is why your “1 TB” drive shows as ~931 GB in Windows.
Why is upload speed slower than download?
Mostly a business/engineering choice by ISPs (asymmetric provisioning), not a bits-vs-bytes issue. But when comparing your 20 Mbps upload to a file size, remember to divide by 8: a 100 MB video takes at minimum 100 × 8 ÷ 20 = 40 seconds to upload.
What is a nibble?
Half a byte – 4 bits. One nibble maps to exactly one hexadecimal digit (0-F), which is why hex is so convenient: every byte is exactly two hex digits.