Convert file sizes between bytes, KB, MB, GB and binary units such as KiB, MiB and GiB. Supports decimal and scientific notation, with separate 1000-based and 1024-based unit tables.
A numeric value, viewed in both decimal and binary units.
1000000000
1 KB = 1000 B · 1 KiB = 1024 B
1000000000 B
Use integer fraction operations to avoid loss of precision for large integers. Displays up to 20 decimal places; ≈ represents a truncated approximation.
Both MiB and GiB are rounded up to 1024; 1024 MB is 1.024 GB.
The nominal capacity of the equipment is usually converted in decimal system, and some systems are converted in binary system. 1 TB is approximately 931.32 GiB, and partitions, file systems, and reserved space may also take up capacity.
Internally calculated using integer fractions; display beyond 20 decimal places is truncated and approximate results are marked with ≈. This tag is retained when copying.
Convert the input to bytes first, then divide by the number of bytes in the target unit. KB, MB, and GB are rounded by 1000, and KiB, MiB, and GiB are rounded by 1024; use integer fractional operations, and indicate approximation when the display precision is exceeded.
Content check:2026-09-08 · About this site and content description