Bits vs Bytes: Understanding Digital Storage Units

The distinction between bits and bytes is one of the most common sources of confusion in computing. Network speeds use bits; file sizes use bytes. Mixing them up leads to off-by-8× errors.

Bit (b): The smallest unit of digital data — a single 0 or 1. Network speeds are measured in bits per second: Mbps (megabits per second), Gbps (gigabits per second). A 100 Mbps internet connection transfers 100,000,000 bits per second.

Byte (B): 8 bits. File sizes, storage capacity, and memory are measured in bytes: KB, MB, GB, TB. A 10 MB photo is 10 megabytes = 80 megabits. A byte can represent 256 values (2⁸), enough for one character of text.

The 8× conversion: To convert between bits and bytes, divide or multiply by 8. - 100 Mbps internet = 12.5 MB/s maximum download speed - 1 Gbps = 1,000 Mbps = 125 MB/s - A 10 MB file on a 100 Mbps connection = 80 megabits / 100 Mbps = 0.8 seconds theoretical minimum

Binary vs decimal prefixes: Storage manufacturers use decimal (1 GB = 1,000 MB = 1,000,000,000 bytes). Operating systems use binary (1 GiB = 1,024 MiB = 1,073,741,824 bytes). This is why a "1 TB" drive shows as ~931 GB in Windows/macOS — it is 931 GiB. Both measurements are correct in their respective systems.

Use Tooler's Data Storage Converter to convert between bits, bytes, KB, MB, GB, TB, and PB.