🔍

💾 Byte Conversion Calculator

Convert file and storage sizes between bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes.

1
2
3
4

What this calculator does

This tool converts digital storage sizes between bytes, kilobytes, megabytes, gigabytes, terabytes, and petabytes, which are the standard units used to measure file sizes, drive capacities, and data transfer volumes.

How the calculation works

Storage units can use two different bases: the binary (IEC) system, where each unit is 1024 times the previous one (as most operating systems display file sizes), or the decimal (SI) system, where each unit is 1000 times the previous one (as most drive manufacturers advertise capacity). The calculator first converts your amount to bytes using the chosen base and unit, then converts that byte count into the target unit.

This difference in base explains why a drive labeled ‘1 TB’ often shows as roughly 931 GB in an operating system that uses binary units.

Last reviewed August 2026