File Size Converter

Convert between bytes, KB, MB, GB, TB and the binary KiB, MiB, GiB, TiB. Decimal vs binary clearly distinguished.

Enter input above to see the result.

What is this for?

File sizes are quoted in two incompatible systems. Hard-drive manufacturers and networking standards use decimal (powers of 1,000), while operating systems, RAM, and many file managers historically use binary (powers of 1,024). A "1 TB" drive shows up as "931 GiB" on your computer—a 7–10% gap that compounds at larger scales. This tool converts between both systems instantly, so you always know which one you're looking at.

The two systems explained

Decimal (SI): KB, MB, GB, TB. 1 KB = 1,000 bytes. Used by storage manufacturers, network speeds (Mbps, Gbps), and formal SI standards since 1960. When a vendor quotes "1 TB", they mean exactly 1 trillion bytes.

Binary (IEC): KiB, MiB, GiB, TiB. 1 KiB = 1,024 bytes. The IEC standard introduced these units in 1998 to remove ambiguity. Linux du -h and macOS Finder (for memory) use these. A "1 GiB" file is precisely 1,073,741,824 bytes.

When to use it

How it works

Common gotchas