Convert storage units between binary (KiB, MiB, GiB) and decimal (KB, MB, GB) systems. Free online data size converter.
Storage sizes are confusing because two competing standards exist. Binary units (KiB, MiB, GiB) use base 1024 — common in operating systems and memory specs. Decimal units (KB, MB, GB) use base 1000 — common in hard drive marketing and network bandwidth.
This converter lets you explicitly choose which system you are working in, then convert between any supported units. The exact value is always shown alongside a sensibly rounded result.
Understanding the binary vs decimal distinction prevents costly mistakes — a "1 TB" drive shows ~931 GiB in your OS because 1 terabyte (decimal) equals roughly 0.909 tebibytes (binary).
All calculations use JavaScript floating-point arithmetic and run entirely in your browser.
KB (kilobyte) is decimal: 1 KB = 1,000 bytes. KiB (kibibyte) is binary: 1 KiB = 1,024 bytes. The IEC introduced binary prefixes (KiB, MiB, GiB) to eliminate ambiguity.
Use binary (KiB/MiB/GiB) for RAM, file systems, and most OS-reported sizes. Use decimal (KB/MB/GB) for hard drive labels, network speeds, and SI-standard contexts.
Binary: B, KiB, MiB, GiB, TiB. Decimal: B, KB, MB, GB, TB. Case is flexible for most units.
In decimal, 1000 GB = 1 TB exactly. In binary, 1 TB (decimal) ≈ 931 GiB because 1000³ / 1024³ ≈ 0.931.
Results show a sensibly rounded primary value plus the full exact conversion on a secondary line for precision.
Pick the system that matches your input units. To cross systems, convert to bytes first by choosing the correct system, then convert again with the other system.