Data storage units (KB MB GB TB)

Drive makers usually count in decimal (1 GB = 1000 MB), while many OS tools show binary units as KiB/MiB/GiB (1 GiB = 1024 MiB) — which is why a “1 TB” drive seems smaller than advertised.

Updated:

UnitEqualsNotes
1 byte (B)8 bitsBasic addressable unit
1 Kb (kilobit)1000 bitsOften network rates (kbps)
1 KB (kilobyte, decimal)1000 bytesSI-style
1 KiB (kibibyte)1024 bytesIEC binary
1 MB1000 KB ≈ 10^6 BDecimal mega
1 MiB1024 KiBBinary mebi
1 GB1000 MB ≈ 10^9 BDisk marketing often
1 GiB1024 MiBOS “GB” sometimes means this
1 TB1000 GB ≈ 10^12 BDecimal tera
1 TiB1024 GiBBinary tebi
1 PB1000 TBDecimal peta

Notes

Frequently asked questions

How many MB in a GB?
In decimal (SI) units, 1 GB = 1000 MB. Some operating systems use binary units instead, where 1 GiB = 1024 MiB.
What is the difference between KB and KiB?
KB is the decimal kilobyte (1000 bytes), while KiB is the binary kibibyte (1024 bytes) defined by the IEC.
Why does my 1 TB drive show only about 931 GB?
Drive makers count 1 TB as 1000⁴ bytes, but some tools use binary units, so the same drive reads as roughly 0.91 TiB (≈931 GiB).