Data Storage Converter — Bytes, KB, MB, GB, TB, PB

Free online data storage converter. Convert bits, bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes — both binary (IEC) and decimal (SI) standards supported. Tap a quick conversion or see what your storage actually holds.

💾

Data Storage Converter

Bits • Bytes • KB • MB • GB • TB • PB

⚡ Quick Conversions — tap one
💾
Enter a value to convert

How to Use the Data Storage Converter

  1. Enter a value — the number of bytes, KB, MB, GB, etc. you want to convert.
  2. Choose Binary or Decimal mode — Binary (1 KB = 1,024 B) is used by your OS. Decimal (1 KB = 1,000 B) is used by storage manufacturers and internet providers.
  3. Select From/To units — bits, bytes, KB, MB, GB, TB, or PB.
  4. All five tiers shown at once — the results grid shows bytes, KB, MB, GB, and TB simultaneously.
  5. Why the difference matters — a "1 TB" hard drive (decimal) only shows as 931 GB in Windows (binary), causing the common "missing storage" confusion.

Benefits

💻

Storage Planning

Know exactly how many photos, songs, or movies fit on any drive — with real-world file size context.

📶

Internet Speed

Convert Mbps (megabits/sec) to MB/s for download speed calculations — bits ≠ bytes!

🖥️

OS vs Manufacturer

Understand why your "1 TB" drive shows as 931 GB in Windows — binary vs decimal mismatch explained.

Data Storage Conversion Guide — Bits, Bytes, KB, MB, GB, TB

Data storage conversions confuse people for two reasons: the binary vs decimal distinction, and the fact that bits ≠ bytes. Internet speeds are measured in bits (Mbps = megabits per second) while file sizes are measured in bytes (MB = megabytes). To convert download speed to file transfer rate: divide Mbps by 8 to get MB/s. A 100 Mbps connection downloads files at 12.5 MB/s.

Binary (IEC standard, used by OS): 1 KB = 1,024 bytes. 1 MB = 1,048,576 bytes. 1 GB = 1,073,741,824 bytes. 1 TB = 1,099,511,627,776 bytes. Decimal (SI standard, used by storage manufacturers and telecom): 1 KB = 1,000 bytes. 1 MB = 1,000,000 bytes. 1 GB = 1,000,000,000 bytes. 1 TB = 1,000,000,000,000 bytes. A "1 TB" hard drive (decimal) = 0.909 TB binary = 931 GB as Windows reports it.

📸

File Size Reference

Photo (JPEG): 3–6 MB. RAW photo: 20–50 MB. Song (MP3): 4–8 MB. Song (FLAC): 25–40 MB. HD movie: 4–8 GB. 4K movie: 50–100 GB. App install: 50–5,000 MB.

📶

Internet Speeds

100 Mbps → 12.5 MB/s (÷8). 1 Gbps → 125 MB/s. 25 Mbps → 3.1 MB/s. A 2 GB movie at 100 Mbps takes: 2,000 MB ÷ 12.5 MB/s = 160 seconds = 2.7 minutes.

💽

Storage Capacities

Typical phone: 128–512 GB. Laptop SSD: 256 GB–2 TB. External drive: 1–20 TB. Enterprise NAS: 100 TB+. Cloud free tiers: 5–15 GB. 1 TB holds ≈ 250,000 photos or 500 HD movies.

🖥️

RAM vs Storage

RAM is measured in binary: 8 GB RAM = 8,589,934,592 bytes. Storage is decimal: 8 GB SSD = 8,000,000,000 bytes. RAM is 7.4% larger than advertised storage at the same "GB" label. Your OS uses binary for both.

Formula & Logic

Digital storage is the only area where two incompatible definitions of the same prefix are both in daily use. Drive manufacturers use decimal SI prefixes, where a gigabyte is 10⁹ bytes, while operating systems have traditionally reported binary multiples, where the same quantity is 2³⁰ bytes. The gap compounds with each prefix: 2.4% at kilo, 4.9% at mega, 7.4% at giga and 10% at tera. This is the entire explanation for the "missing" capacity on a new drive — nothing is lost, the two parties are counting differently. IEC introduced kibi, mebi and gibi in 1998 to disambiguate, and adoption remains partial.

bytes = value × factorDecimal: 1 kB = 10³ · 1 MB = 10⁶ · 1 GB = 10⁹ · 1 TB = 10¹²Binary: 1 KiB = 2¹⁰ · 1 MiB = 2²⁰ · 1 GiB = 2³⁰ · 1 TiB = 2⁴⁰1 byte = 8 bits

where:

GB
gigabyte, 1,000,000,000 bytes (decimal, as used by drive makers)
GiB
gibibyte, 1,073,741,824 bytes (binary, as reported by most operating systems)
bit
one eighth of a byte — network speeds are quoted in bits, file sizes in bytes

Assumptions: macOS and most storage vendors report decimal; Windows reports binary while labelling it "GB". Network throughput in Mbps is megabits, so divide by 8 to compare with file sizes in megabytes.

SourceNIST: prefixes for binary multiples

Step-by-Step Example: Why a 500 GB Drive Shows as 465 GB

Trace the arithmetic behind the most common storage complaint.

  • Advertised capacity500 GB
  • Reported by Windows465 GB
  1. The manufacturer means decimal: 500 × 10⁹ = 500,000,000,000 bytes. That is genuinely what is supplied.
  2. Windows divides by 2³⁰: 500,000,000,000 ÷ 1,073,741,824 = 465.66.
  3. It then labels the result "GB", although it has computed gibibytes.
  4. Find the apparent shortfall: (500 − 465.66) ÷ 500 = 6.9%.
  5. Confirm the pattern scales: a 1 TB drive shows 0.9095 TiB, a 9.05% gap.
  6. No bytes are missing — 465.66 GiB and 500 GB are the same quantity.

Result500 GB = 465.66 GiB — the same bytes, two conventions

Formatting overhead is a separate and much smaller deduction, typically well under 1%. If a drive reports meaningfully less than 465 GiB after formatting, that is a genuine issue rather than a units artefact.

Data Storage FAQ

Hard drive manufacturers use decimal (SI) units where 1 TB = 1,000,000,000,000 bytes. Windows uses binary (IEC) units where 1 TB = 1,099,511,627,776 bytes. So 1,000,000,000,000 ÷ 1,099,511,627,776 = 0.9095 TB (binary) = 931 GB (binary). This isn't false advertising — it's a unit mismatch. Mac OS X switched to decimal reporting in 2009 to match manufacturers; Windows still uses binary.
Case matters: Mb = megabits. MB = megabytes. 1 byte = 8 bits. So 1 MB = 8 Mb. Internet speeds are in megabits (Mbps), file sizes are in megabytes (MB). A 100 Mbps internet plan downloads files at 100 ÷ 8 = 12.5 MB/s. At 12.5 MB/s, a 1 GB file (1,000 MB) downloads in 1,000 ÷ 12.5 = 80 seconds. This confusion is intentional in marketing — internet speeds in Mbps look 8× larger than the equivalent MB/s.
In binary (OS): 1 TB = 1,024 GB = 1,048,576 MB. In decimal (storage manufacturers): 1 TB = 1,000 GB = 1,000,000 MB. This is why Windows shows a 2 TB drive as 1.86 TB (binary) while the box says 2 TB (decimal). For everyday estimates, using 1 TB ≈ 1,000 GB is accurate enough.
1 GB can store approximately: 250–333 JPEG photos (at 3–4 MB each), or 125–250 MP3 songs (at 4–8 MB each), or 3,000–4,000 text documents (at 250 KB each), or 2–4 minutes of 4K video (at 300 MB/min), or 10–15 minutes of 1080p HD video (at 60–100 MB/min). 1 GB of data sent over a 100 Mbps connection takes about 80 seconds.

Related Converters

✔ Written & reviewed by Dr Sam — 20+ yrs in management & research leadership📅 Last updated June 2026📚 Sources: NIST & BIPM SI unit definitions📑 How we build & check these