Skip to content
ZeroServer.tools

File Size Converter

Convert file sizes between bytes, KB, MB, GB, TB, and PB. Supports both decimal (SI) and binary (IEC) units: kilobytes vs kibibytes.

= 1,024 bytes = 8,192 bits

Decimal (SI) — 1 KB = 1,000 B

Bytes (B)1,024
Kilobytes (KB)1.024
Megabytes (MB)0.001024
Gigabytes (GB)1.024e-6
Terabytes (TB)1.024e-9
Petabytes (PB)1.024e-12

Binary (IEC) — 1 KiB = 1,024 B

Bytes (B)1,024
Kibibytes (KiB)1
Mebibytes (MiB)9.766e-4
Gibibytes (GiB)9.537e-7
Tebibytes (TiB)9.313e-10
Pebibytes (PiB)9.095e-13

About File Size Converter

File sizes can be confusing because two competing systems exist: the decimal (SI) system where 1 KB = 1,000 bytes and the binary (IEC) system where 1 KiB = 1,024 bytes. Hard drive manufacturers use SI units (so a 1 TB drive has 1,000,000,000,000 bytes), while operating systems often report file sizes in binary units. A file shown as 1 GiB in Windows Explorer is 1,073,741,824 bytes, but a 1 GB measurement by a drive maker is only 1,000,000,000 bytes. This tool converts both ways so you can compare accurately.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Converters tools