Free Online Data Size Converter

Convert between bits, bytes, KB, MB, GB, TB, PB, and binary units (KiB, MiB, GiB) instantly.

Result
Formula

How the Data Size Converter Works

This tool converts between ten data size units spanning both decimal (SI) and binary (IEC) standards. The input is first converted to bytes, then converted to the target unit. Decimal units (KB, MB, GB, TB, PB) use powers of 1,000, while binary units (KiB, MiB, GiB) use powers of 1,024. The distinction matters because a 1 TB drive (decimal) holds about 931 GiB (binary).

Decimal vs Binary Units Reference

Decimal (SI)BytesBinary (IEC)Bytes
1 KB (Kilobyte)1,0001 KiB (Kibibyte)1,024
1 MB (Megabyte)1,000,0001 MiB (Mebibyte)1,048,576
1 GB (Gigabyte)1,000,000,0001 GiB (Gibibyte)1,073,741,824
1 TB (Terabyte)1,000,000,000,000
1 PB (Petabyte)1,000,000,000,000,000

Why the Difference Matters

Hard drive manufacturers use decimal units (1 TB = 1,000,000,000,000 bytes), while operating systems like Windows display sizes in binary units (calling them GB/TB but actually meaning GiB/TiB). This is why a 1 TB hard drive shows as roughly 931 GB in Windows. Understanding this distinction helps avoid confusion when buying storage or managing files.

Related Tools

Frequently Asked Questions

Why does my 1 TB hard drive show less than 1 TB in Windows?
Drive manufacturers use decimal TB (1 TB = 1,000,000,000,000 bytes), but Windows reports sizes in binary GiB while labeling them GB. So 1 TB appears as about 931 GB in Windows.
What is the difference between KB and KiB?
KB (kilobyte) uses the decimal standard: 1 KB = 1,000 bytes. KiB (kibibyte) uses the binary standard: 1 KiB = 1,024 bytes. The difference is about 2.4% and grows larger at higher magnitudes.
How many bits are in a byte?
There are exactly 8 bits in one byte. This is a universal standard in modern computing.
How do I convert GB to MB?
In decimal (SI) units, multiply GB by 1,000 to get MB. So 1 GB = 1,000 MB. In binary, 1 GiB = 1,024 MiB.
Is my data stored anywhere?
No. All conversions happen entirely in your browser. No data is sent to any server.