File Size Converter
Convert between bytes, KB, MB, GB, TB and their binary counterparts (KiB, MiB, GiB, TiB). Clear distinction between decimal and binary units.
How it works
File sizes can be expressed in two systems: the decimal system (used by storage vendors) and the binary system (used by some operating systems and memory specifications).
Decimal (SI)
- 1 KB = 1,000 B
- 1 MB = 1,000 KB = 1,000,000 B
- 1 GB = 1,000 MB = 1,000,000,000 B
- 1 TB = 1,000 GB = 1,000,000,000,000 B
Binary (IEC)
- 1 KiB = 1,024 B
- 1 MiB = 1,024 KiB = 1,048,576 B
- 1 GiB = 1,024 MiB = 1,073,741,824 B
- 1 TiB = 1,024 GiB = 1,099,511,627,776 B
The converter accepts either system as input and shows the equivalent in every other unit.
Examples
Quick reference (decimal):
- 1 KB = 1,000 B
- 1 MB = 1,000 KB
- 1 GB = 1,000 MB = 1,000,000 KB
- 1 TB = 1,000 GB
Frequently asked questions
A KB (kilobyte) is 1,000 bytes — the decimal definition used by storage vendors and most software. A KiB (kibibyte) is 1,024 bytes — the binary definition used by some operating systems and memory specifications. The same pattern applies to MB/MiB, GB/GiB and TB/TiB.
Storage manufacturers advertise capacity in decimal (TB = 1,000 GB), while many operating systems historically reported binary sizes (TiB = 1,024 GiB). A “1 TB” drive has 1,000,000,000,000 bytes, which is about 931 GiB.
Use decimal (KB, MB, GB, TB) for storage capacity, file sizes on disk and most software. Use binary (KiB, MiB, GiB, TiB) for memory and anywhere precise powers of 1,024 matter.
It depends on the definition. 1 MB = 1,000,000 bytes (decimal). 1 MiB = 1,048,576 bytes (binary). The difference is about 4.86%.