Computing

Bit vs. Byte With Real File-Size and Speed Examples

A bit is one binary digit; a byte is 8 bits. Why internet speeds use Mb and file sizes use MB, with a calculator that turns Mbps into real download times.

A bit is a single binary digit, 0 or 1. A byte is 8 bits. Speeds are usually quoted in bits per second (Mbps, lowercase b) and file sizes in bytes (MB, uppercase B), so divide a speed by 8 to compare it with a file size: 100 Mbps moves at most 12.5 MB per second.

Try itEnter a file size and your connection speed to see the bits, the MB/s figure and the fastest possible transfer time.

About 60.0 seconds at full line rate

Size in bytes
750,000,000
Size in bits (× 8)
6,000,000,000
100 Mbps in megabytes per second (÷ 8)
12.5 MB/s

Real downloads are slower: protocol overhead, Wi-Fi conditions and server limits all take a share. This is the arithmetic floor.

Bits and bytes side by side

BitByte
Size1 binary digit8 bits
Symbolb (lowercase)B (uppercase)
Values it can hold2 (0 or 1)256 (0 to 255)
Typical useNetwork speeds, bit depth, keysFile sizes, memory, storage
Example1 Gbps fibrea 4 MB photo

Half a byte, four bits, is a nibble. It holds 0–15, exactly one hexadecimal digit, which is why a byte is written as two hex digits such as 4F.

Why speeds use bits and files use bytes

Networks send data one bit after another, so link speeds were always measured in bits per second. Storage and memory are organized in bytes, because the byte is the smallest unit a typical processor can address and one byte holds one ASCII character. The two conventions met when downloads became common, and the factor of 8 between them is the most frequent source of confusion.

Worked conversions, using decimal prefixes (mega = 1,000,000):

ConnectionBytes per secondTime for a 750 MB file
25 Mbps3.125 MB/s4 minutes
100 Mbps12.5 MB/s60 seconds
1 Gbps125 MB/s6 seconds

These are floors. Protocol headers, Wi-Fi conditions and the server’s own limits all reduce real throughput, so a measured download is usually a little slower.

Watch the capital letters

  • Mb = megabit, MB = megabyte: a factor of 8.
  • MB = 1,000,000 bytes, MiB = 1,048,576 bytes: the decimal and binary versions differ by about 5%.
  • kb = kilobit, kB = kilobyte, KiB = kibibyte (1,024 bytes).

NIST and the IEC define kilo, mega and giga as powers of 10 and introduced kibi, mebi and gibi for powers of 2. Operating systems differ in which they display: Apple says macOS and iOS report storage in decimal units, while Windows Explorer shows sizes calculated in powers of 2 but labels them KB, MB and GB. The bytes-in-a-gigabyte guide works through both.

How many values do n bits hold?

Every extra bit doubles the count: 1 bit has 2 values, 8 bits have 2⁸ = 256, 16 bits have 65,536 and 32 bits have 4,294,967,296. That doubling is why sizes such as 8, 16, 32 and 64 bits keep recurring. The powers of 2 chart lists them, and the bit size converter converts between bits, bytes and larger units.

Bits in everyday settings

  • Color depth: 24-bit color uses 8 bits (one byte) for each of red, green and blue.
  • Audio: CD audio stores each sample in 16 bits.
  • Encryption keys: AES-256 uses a 256-bit key, which is 32 bytes.
  • Text: one ASCII character is one byte; in UTF-8, other characters take two to four bytes. The ASCII guide shows the byte patterns.

Sources

  1. Prefixes for binary multiples — NIST
  2. How iOS and macOS report storage capacity — Apple Support
  3. Storage capacity measurement standards — Seagate. decimal capacity vs Windows' binary reporting

How we made this

Computed and checked by tests. The download-time calculator multiplies bytes by 8 and divides by the line rate; its arithmetic is shared with the page's static examples and checked in tests. Unit definitions follow NIST's SI and binary prefix guidance.

Performed by Claude, an AI assistant working in the BinConvert repository (Node.js 25), November 16, 2026.

This article was drafted with AI assistance. Every example, calculation and command output on this page was re-run or checked before release; every conversion in the tables was recomputed. Review: automated test suite and source check, November 16, 2026.

Spotted an error? Tell us and we will correct it.

Copied to clipboard!