Data Storage Units Guide: Bytes, KB, MB, GB, TB Explained (2026)
Quick Answer
- *1 byte = 8 bits. All storage units — KB, MB, GB, TB — are built on top of this fundamental relationship.
- *There are two systems: decimal (KB = 1,000 bytes, used by drive makers) and binary (KiB = 1,024 bytes, used by operating systems).
- *A 1 TB hard drive shows as ~931 GB in Windows because Windows divides by 1,024 three times rather than 1,000 three times.
- *The IEC introduced binary prefixes (KiB, MiB, GiB, TiB) in 1998 to standardize the distinction — but industry adoption has been slow.
Bits and Bytes: The Foundation of Digital Storage
Everything stored on a computer — every photo, song, document, and video — ultimately breaks down into bits. A bit is the smallest unit of digital information: a single binary value of either 0 or 1. Eight bits together form a byte, the basic building block of file sizes and storage capacity.
The ASCII standard allocates 1 byte (8 bits) per character. A 1 MB text file can store approximately 1,000,000 characters, or around 200,000 words — roughly two full novels. Every unit of storage above the byte is just a progressively larger grouping of those same 8-bit building blocks.
The Complete Data Storage Conversion Table
Here is every unit from bit to zettabyte, with both decimal (SI) and binary (IEC) variants where applicable:
| Unit | Symbol | Value |
|---|---|---|
| Bit | b | 1 bit |
| Byte | B | 8 bits |
| Kilobyte | KB | 1,000 bytes (decimal) |
| Kibibyte | KiB | 1,024 bytes (binary) |
| Megabyte | MB | 1,000,000 bytes |
| Mebibyte | MiB | 1,048,576 bytes |
| Gigabyte | GB | 1,000,000,000 bytes |
| Gibibyte | GiB | 1,073,741,824 bytes |
| Terabyte | TB | 1,000,000,000,000 bytes |
| Tebibyte | TiB | 1,099,511,627,776 bytes |
| Petabyte | PB | 10^15 bytes |
| Exabyte | EB | 10^18 bytes |
| Zettabyte | ZB | 10^21 bytes |
According to IDC’s Global DataSphere forecast (2025), the world generates approximately 120 zettabytes of data per year— nearly double the 2022 figure. To put that in perspective: 1 zettabyte is 1,000,000,000,000,000,000,000 bytes, or 10^21. The entire internet in the early 2000s measured in petabytes.
The Binary vs. Decimal Confusion
This is where most people get confused, and it is not their fault. The same abbreviation — “GB” — means different things depending on who is using it.
Drive manufacturers use decimal (base-10) prefixes. 1 GB = 1,000,000,000 bytes (exactly 10^9). This is consistent with the International System of Units (SI).
Operating systemshistorically used binary (base-2) math. 1 “GB” in Windows XP or earlier meant 1,073,741,824 bytes (2^30), which the IEC calls a gibibyte (GiB).
The result: a 1 TB hard drive marketed as such contains exactly 1,000,000,000,000 bytes (10^12). Windows divides that by 1,024 three times — yielding 931.32 GiB. It then displays this as “931 GB.” The drive is not missing storage. It is just a labeling mismatch, confirmed by Western Digital and Seagate in their product documentation.
SI vs. Binary Prefixes: Side-by-Side
| SI Unit (Decimal) | Symbol | Bytes | IEC Binary Unit | Symbol | Bytes |
|---|---|---|---|---|---|
| Kilobyte | KB | 1,000 | Kibibyte | KiB | 1,024 |
| Megabyte | MB | 1,000,000 | Mebibyte | MiB | 1,048,576 |
| Gigabyte | GB | 1,000,000,000 | Gibibyte | GiB | 1,073,741,824 |
| Terabyte | TB | 1,000,000,000,000 | Tebibyte | TiB | 1,099,511,627,776 |
The International Electrotechnical Commission (IEC) introduced binary prefixes — kibibyte (KiB), mebibyte (MiB), gibibyte (GiB), tebibyte (TiB) — in 1998 to eliminate this ambiguity, formally defined in IEC 80000-13. Modern Linux systems and macOS now report storage in decimal gigabytes. Windows 11 still uses binary math but labels the result as “GB.”
The practical difference compounds at higher capacities. A 1 TB drive is off by 68.7 GB between the two systems. At 10 TB, the gap is 687 GB — nearly two-thirds of a terabyte of apparent “missing” space explained purely by math.
A standard DVD stores 4.7 GB (decimal), which is approximately 4.37 GiB (binary) — a real-world illustration of the same gap, per DVD Forum specifications.
Real-World File Size Reference
Abstract numbers are hard to internalize. Here is what those storage units actually look like in everyday use:
| File Type | Typical Size |
|---|---|
| Text email | 10–30 KB |
| Web page | 100–500 KB |
| MP3 song (3 min) | 3–5 MB |
| JPEG photo | 2–8 MB |
| RAW photo | 20–40 MB |
| HD video (1 hr) | 3–5 GB |
| 4K video (1 hr) | 20–40 GB |
| Blu-ray movie | 25–50 GB |
| Modern PC game | 20–150 GB |
| Operating system | 4–15 GB |
A 1 TB drive can hold roughly 250,000 JPEG photos at 4 MB each, or 125,000 MP3 songs at 4 MB each, or about 200 HD movie rips at 5 GB each. For 4K video creators, space disappears fast — 25 hours of 4K footage at 30 GB/hr fills 1 TB completely.
Why Network Speeds Use Different Units
Internet service providers advertise speeds in megabits per second (Mbps) — note the lowercase “b.” Your download manager shows progress in megabytes per second (MB/s)— capital “B.” Because 1 byte = 8 bits, a 100 Mbps connection has a maximum throughput of 12.5 MB/s.
This catches people off guard constantly. A “1 Gbps” fiber connection downloads at up to 125 MB/s in practice — not 1,000 MB/s. The bit vs. byte distinction is not pedantic; it is the difference between understanding your actual internet performance and feeling like you were lied to.
Storage Capacity Planning
How much storage you actually need depends heavily on what you create and consume. Some rough guidelines for 2026:
- Smartphone: 128 GB handles most users who stream music and video. Photographers and video creators should consider 256 GB or more.
- Laptop: 256–512 GB SSD covers office work and general use. Developers, designers, and gamers typically want 1 TB minimum.
- Desktop: 1–4 TB SSD/HDD combination is standard. Video editors and 3D artists often use 8–16 TB NAS setups.
- Cloud storage: Google One’s 2 TB plan ($10/month) is the sweet spot for most households syncing photos, documents, and backups.
The rule of thumb: buy twice as much storage as you think you need today. Storage fills up faster than expected, and upgrading later costs time and effort far beyond the marginal cost of the extra capacity upfront.
How to Convert Between Units
Manual conversion is straightforward once you know which system you are working in.
Decimal conversions (SI): multiply or divide by 1,000 at each step.
- 1 GB = 1,000 MB = 1,000,000 KB = 1,000,000,000 bytes
- To convert 2.5 GB to MB: 2.5 × 1,000 = 2,500 MB
Binary conversions (IEC): multiply or divide by 1,024 at each step.
- 1 GiB = 1,024 MiB = 1,048,576 KiB = 1,073,741,824 bytes
- To convert a 512 MiB RAM chip to GiB: 512 ÷ 1,024 = 0.5 GiB
For anything beyond a single conversion step, our Data Storage Converter handles the math instantly across all units in both systems.
Convert between bytes, KB, MB, GB, TB instantly
Use our free Data Storage Converter →Frequently Asked Questions
How many bytes are in a gigabyte?
In decimal (SI) terms, 1 gigabyte (GB) = 1,000,000,000 bytes (10^9). In binary terms, 1 gibibyte (GiB) = 1,073,741,824 bytes (2^30). Hard drive manufacturers use the decimal definition. Operating systems like Windows traditionally report storage in binary — which is why a 1 GB file appears slightly smaller than 1.000 GiB on your system.
Why does my 1 TB hard drive show as 931 GB in Windows?
Drive manufacturers define 1 TB as 1,000,000,000,000 bytes (10^12, decimal). Windows displays storage using binary math: 1,000,000,000,000 ÷ 1,073,741,824 = 931 GiB. Windows then labels this as “GB” even though it is technically GiB. The drive contains every byte it advertises — it is purely a labeling difference between decimal and binary unit systems, confirmed in documentation from Western Digital and Seagate.
What is the difference between GB and GiB?
GB (gigabyte) is a decimal unit equal to 1,000,000,000 bytes. GiB (gibibyte) is a binary unit equal to 1,073,741,824 bytes — about 7.4% larger. The IEC introduced binary prefixes like KiB, MiB, GiB, and TiB in 1998 via IEC 80000-13 to eliminate the ambiguity. Linux and modern macOS report storage in decimal GB. Older Windows versions report in binary but still label it “GB.”
How many MB is 1 GB?
In decimal: 1 GB = 1,000 MB. In binary: 1 GiB = 1,024 MiB. For everyday purposes — streaming, mobile data plans, downloads, phone storage — manufacturers and service providers use the decimal definition. So for practical purposes, 1 GB = 1,000 MB.
What is a terabyte used for?
A terabyte (TB) is the standard capacity tier for hard drives, SSDs, NAS devices, and cloud storage plans. At 1 TB you can store roughly 250,000 photos (4 MB each), 500 hours of HD video, or 200 modern PC games. Enterprise data centers measure storage in petabytes (1,000 TB) and exabytes (1,000 PB). IDC projects global data creation will exceed 120 zettabytes annually by the mid-2020s.
How many gigabytes of storage do I need?
For a smartphone: 128 GB handles most users. For a laptop: 256–512 GB SSD is comfortable for most; 1 TB if you store large videos or games. For a desktop workstation: 1–4 TB. Video editors, photographers shooting RAW, and gamers with large libraries typically need 2 TB or more. A single modern AAA game can require 50–150 GB, so gaming storage needs compound quickly.