Value Converter
Free Data Storage Unit Converter Online
Convert digital storage units between bits, bytes, kilobytes, megabytes, gigabytes and terabytes.
Bits vs bytes — the foundation of digital storage
Every piece of digital information ultimately comes down to binary digits. A bit (binary digit) is the smallest possible unit of digital information — it holds either 0 or 1. Eight bits make one byte, which can represent 256 distinct values (2⁸). Almost all storage capacity, file sizes, and memory specifications are expressed in bytes or their multiples.
The bit/byte distinction matters enormously in practice. Network speeds are specified in bits per second (Mbps, Gbps) because network hardware transmits data one bit at a time. File sizes and storage are in bytes. A "100 Mbps" internet connection delivers 100 million bits per second — divide by 8 to get about 12.5 MB/s maximum file download speed. This discrepancy is a frequent source of frustration: an internet plan advertised as "1 Gbps" downloads a 1 GB file in about 8 seconds in ideal conditions, not 1 second.
Network hardware and internet service providers universally use bits; operating systems, cloud storage dashboards, and file managers universally use bytes. The industry convention uses a lowercase "b" for bits and an uppercase "B" for bytes. A Wi-Fi router spec listing "Wi-Fi 6 — 9.6 Gbps" means 9.6 gigabits per second — roughly 1.2 GB/s of raw throughput before protocol overhead. Always check the capitalisation when comparing specs.
SI (decimal) vs IEC (binary) units — the MB vs MiB confusion
There are two competing and simultaneously-in-use systems for measuring data storage, and understanding the difference is essential for anyone who works with computers. The conflict arises from two different interpretations of the same prefixes — a problem that has persisted for decades and still causes confusion on a daily basis.
SI (decimal) units — base 1000
The International System of Units (SI) defines kilo as 10³ = 1,000, mega as 10⁶ = 1,000,000, and so on in powers of 10. Hard drive manufacturers, SSD makers, and USB flash drive manufacturers use SI definitions because they make their products' capacities appear larger. A "1 TB" drive contains exactly 1,000,000,000,000 bytes by this definition. Cloud providers (AWS, Google Cloud, Azure) bill storage in SI units. Networking bandwidth is also expressed in SI units: a 1 Gbps port transmits 1,000,000,000 bits per second.
IEC (binary) units — base 1024
In 1998, the International Electrotechnical Commission (IEC) introduced unambiguous binary prefixes to resolve the confusion: kibi (KiB) = 2¹⁰ = 1,024 bytes, mebi (MiB) = 2²⁰ = 1,048,576 bytes, gibi (GiB) = 2³⁰ = 1,073,741,824 bytes, and so on. These are precisely defined for binary computing. RAM, CPU caches, virtual memory pages, and file system allocation blocks are all naturally measured in powers of 2, so IEC units are the correct choice for these. Windows has always displayed storage in binary units but labelled them incorrectly as "MB/GB." macOS switched to SI units in 10.6 Snow Leopard (2009), eliminating its own "missing space" issue.
| Unit | Standard | Bytes (exact) | vs SI baseline |
|---|---|---|---|
| KB (kilobyte) | SI | 1,000 | — |
| KiB (kibibyte) | IEC | 1,024 | +2.4% |
| MB (megabyte) | SI | 1,000,000 | — |
| MiB (mebibyte) | IEC | 1,048,576 | +4.9% |
| GB (gigabyte) | SI | 1,000,000,000 | — |
| GiB (gibibyte) | IEC | 1,073,741,824 | +7.4% |
| TB (terabyte) | SI | 1,000,000,000,000 | — |
| TiB (tebibyte) | IEC | 1,099,511,627,776 | +9.95% |
| PB (petabyte) | SI | 1,000,000,000,000,000 | — |
| PiB (pebibyte) | IEC | 1,125,899,906,842,624 | +12.6% |
Notice how the difference grows with scale: at the kilobyte level, the discrepancy is only 2.4%, but by the time you reach petabytes, IEC units are 12.6% larger than their SI counterparts. At the exabyte level (a common unit for hyperscale data centres), the difference exceeds 15%.
Why does a "1 TB" drive show only 931 GB in Windows?
This is one of the most frequently asked questions in consumer technology, and the answer requires understanding the SI vs binary distinction above. A hard drive labelled "1 TB" contains exactly 1,000,000,000,000 bytes using the SI decimal definition that the manufacturer (correctly) applied. When Windows Explorer displays the drive capacity, it performs the division using binary units:
1,000,000,000,000 bytes ÷ 1,073,741,824 (1 GiB) ≈ 931.32
Windows then labels this as "931 GB" — using the SI symbol for a binary quantity. So Windows is showing you the correct number of gibibytes (GiB), but mislabelling them as gigabytes (GB). The drive is not smaller than advertised; there is no "missing" space — it is a unit labelling inconsistency that has persisted since the 1990s. macOS avoids this confusion entirely by displaying storage in SI units: the same 1 TB drive shows as "1.0 TB" in macOS Finder.
The practical takeaway: when comparing storage capacities, always check what OS is being used to measure. A 512 GB SSD shows as 477 GiB (≈477 "GB" in Windows) and 512 GB in macOS. For cloud storage, AWS and Azure quote in SI units (GB = 10⁹ bytes) and bill accordingly.
RAM vs storage — why they're measured differently
RAM (Random Access Memory) and persistent storage (SSDs, HDDs) serve very different roles, and they have traditionally been measured using different conventions — RAM in binary, storage in whatever the manufacturer chooses.
RAM is always binary. A "16 GB RAM" module contains exactly 2³⁴ = 17,179,869,184 bytes (16 GiB). RAM chips are manufactured in power-of-2 capacities by necessity — memory controllers and addressing hardware are built around binary arithmetic. You will never see a 16.384 GB RAM stick; the 4-byte difference between 16 GB (SI) and 16 GiB (IEC) would require non-standard addressing logic.
Persistent storage is marketed in SI. Hard drives, SSDs, and flash storage are fabricated in layouts that don't inherently require power-of-2 capacities, so manufacturers adopted SI units to present larger-looking numbers. A 1 TB NVMe SSD contains 1,000,000,000,000 bytes — exactly 1 TB in SI, but only 931 GiB in binary.
CPU caches are binary by construction. L1, L2, and L3 CPU caches are always specified in KiB or MiB: a CPU with "12 MB L3 cache" typically has 12 × 1,048,576 = 12,582,912 bytes of cache — though some manufacturers have started using SI here too, adding ambiguity.
Network speeds and file transfer — converting Mbps to MB/s
Understanding the relationship between advertised network speed (in bits) and actual file transfer rate (in bytes) is essential for developers building data pipelines, selecting cloud storage tiers, or debugging slow uploads.
| Connection speed | Theoretical max MB/s | Realistic MB/s | Time to transfer 1 GB |
|---|---|---|---|
| 10 Mbps (old ADSL) | 1.25 MB/s | 0.8–1.0 MB/s | ~17–21 min |
| 100 Mbps (cable) | 12.5 MB/s | 8–11 MB/s | ~90–120 sec |
| 1 Gbps (fibre/LAN) | 125 MB/s | 80–110 MB/s | ~9–12 sec |
| 2.5 Gbps (Wi-Fi 6) | 312.5 MB/s | 150–250 MB/s | ~4–7 sec |
| 10 Gbps (LAN) | 1,250 MB/s | 600–950 MB/s | ~1–1.7 sec |
| 40 Gbps (InfiniBand) | 5,000 MB/s | 3,500–4,500 MB/s | <1 sec |
Realistic throughput is lower than the theoretical maximum due to TCP/IP overhead (typically 3–5%), protocol headers, retransmission, and network congestion. For production systems, a safe rule of thumb is to budget for 70–80% of the advertised link speed for sustained bulk transfers.
Data storage at scale — from kilobytes to zettabytes
Understanding the scale of modern data requires anchoring abstract units to real-world examples. The gap between a kilobyte and a zettabyte spans 18 orders of magnitude — a range comparable to the difference between the width of a human hair and the distance from Earth to the Sun.
| Unit | SI size | Real-world example |
|---|---|---|
| Kilobyte (KB) | 10³ B | Short email; a plain-text tweet |
| Megabyte (MB) | 10⁶ B | 1 min of MP3 at 128 kbps; a JPEG photo |
| Gigabyte (GB) | 10⁹ B | HD movie (1–3 GB); a modern smartphone app |
| Terabyte (TB) | 10¹² B | 200,000 MP3 songs; a consumer hard drive |
| Petabyte (PB) | 10¹⁵ B | All US academic research libraries combined |
| Exabyte (EB) | 10¹⁸ B | Global internet traffic per month (~400 EB, 2024) |
| Zettabyte (ZB) | 10²¹ B | Total data created and replicated worldwide per year |
| Yottabyte (YB) | 10²⁴ B | Estimated storage needed to hold the internet (future) |
To put hyperscale in context: in 2024, global internet traffic exceeds 400 exabytes per month. The entire text of all Wikipedia articles in all languages is roughly 22 GB — a trivially small fraction of a single data centre. Google's total storage capacity across all data centres is estimated in the tens of exabytes. The human genome — 3.2 billion base pairs — encodes to about 800 MB in raw form and about 1.5 GB in a practical VCF file format.
FAQ
Common questions
What is the difference between MB and MiB?
MB (megabyte) uses the SI decimal prefix — 1 MB = 1,000,000 bytes (1,000²). MiB (mebibyte) uses the IEC binary prefix — 1 MiB = 1,048,576 bytes (1,024²). Hard drive manufacturers use SI (decimal) units because the numbers are larger. Operating systems historically used binary units but labelled them incorrectly as "MB." Windows still shows binary units labelled as "MB/GB." macOS switched to SI units in macOS 10.6 (Snow Leopard).
Why does my 1 TB hard drive show only 931 GB in Windows?
A "1 TB" hard drive contains exactly 1,000,000,000,000 bytes by the manufacturer's SI definition. Windows displays storage using binary units: 1,000,000,000,000 ÷ 1,073,741,824 (1 GiB) ≈ 931. So the drive really is 931 GiB, which Windows calls "931 GB." The drive isn't smaller than advertised — it's a units labelling mismatch. macOS correctly shows ≈1.0 TB by using SI units consistently.
What is the difference between a bit and a byte?
A bit is the smallest unit of digital information — it holds either 0 or 1. A byte is 8 bits. Network speeds are measured in bits per second (Mbps, Gbps) because network protocols transmit one bit at a time. Storage and file sizes are measured in bytes. So a 100 Mbps connection downloads at roughly 12.5 MB/s (100 ÷ 8). Always check whether a spec uses bits or bytes — the lowercase "b" vs uppercase "B" distinction matters.
How many bytes is a gigabyte?
In SI (decimal): 1 GB = 1,000,000,000 bytes (10⁹). In binary: 1 GiB = 1,073,741,824 bytes (2³⁰). The 7.4% difference (73,741,824 bytes) is why a "1 GB" flash drive shows less capacity in some operating systems. For memory (RAM), manufacturers also use binary units — a "16 GB RAM" module typically contains exactly 17,179,869,184 bytes (16 GiB).
What is a petabyte and how much data is that?
A petabyte (PB) equals 1,000 terabytes or 1,000,000 gigabytes in SI units (10¹⁵ bytes). To put it in context: 1 PB could hold about 500 billion pages of standard text, or 200,000 years of HD video, or the digitised content of about 20 million file cabinets. Hyperscale data centres like AWS, Google, and Meta store exabytes (1,000 PB) to zetabytes of data.
What prefixes do SI and IEC use for data?
SI (decimal, base 1000): kilo (KB = 10³), mega (MB = 10⁶), giga (GB = 10⁹), tera (TB = 10¹²), peta (PB = 10¹⁵). IEC (binary, base 1024): kibi (KiB = 2¹⁰), mebi (MiB = 2²⁰), gibi (GiB = 2³⁰), tebi (TiB = 2⁴⁰), pebi (PiB = 2⁵⁰). The IEC prefixes were standardised in 1998 to eliminate ambiguity, but adoption is inconsistent — most consumer products still use SI labels for binary quantities.
How do cloud storage providers measure data?
Cloud providers (AWS, Google Cloud, Azure) use SI (decimal) units: 1 GB = 1,000,000,000 bytes, 1 TB = 1,000,000,000,000 bytes. This means 1 TB of cloud storage holds slightly more data than 1 TiB of binary storage (1,000 GB vs 1,024 GiB in old-style labelling). Billing is always decimal, so when comparing cloud pricing to local storage specs, use the same unit system.
What is the largest data storage unit?
Standard SI prefixes go: kilo (10³) → mega (10⁶) → giga (10⁹) → tera (10¹²) → peta (10¹⁵) → exa (10¹⁸) → zetta (10²¹) → yotta (10²⁴). The global internet is estimated to transmit about 400 exabytes per month. Total data ever created is measured in zettabytes. The entire human genome is about 1.5 GB; the entire human brain's estimated information capacity is roughly 2.5 petabytes.
More in Value Converter