Data Storage Converter
Convert between bits, bytes, kilobytes, megabytes, gigabytes, terabytes, petabytes and binary units (KiB, MiB, GiB, TiB) instantly.
Standard data storage units
Fun comparisons
Data storage conversion is essential for understanding file sizes, device capacities and internet speeds. This converter uses the binary standard where 1 kilobyte equals 1024 bytes, 1 megabyte equals 1,048,576 bytes and so on - matching how operating systems like Windows actually report storage. We also include IEC binary units (KiB, MiB, GiB, TiB) for completeness. Our converter covers all 110 unit pairs from bits to petabytes, with real-world comparisons like photos and HD movies to make sense of the numbers.
Frequently asked questions
Hard drive manufacturers label drives using decimal counting (1 TB = 1,000,000,000,000 bytes) but operating systems use binary measurement where 1 GB = 1,073,741,824 bytes. So that 1,000,000,000,000 bytes divided by 1,073,741,824 equals about 931 GB in Windows. You are not losing any storage - it is a labeling difference.
GB (gigabyte) and GiB (gibibyte) both equal 1,073,741,824 bytes (2^30) in this converter, following the binary standard used by operating systems. The GiB notation is the formal IEC name while GB is the commonly used label. In practice, they refer to the same amount of data.
To convert megabytes to gigabytes, divide by 1024. For example, 2048 MB equals 2 GB. A typical smartphone photo is 3-5 MB, so a 128 GB phone can hold roughly 25,000-40,000 photos.
1 TB equals 1024 GB. A 1 TB drive can hold roughly 250 HD movies, 200,000 MP3 songs or 250,000 smartphone photos at typical file sizes. For gaming, a 1 TB PS5 SSD fits about 10-20 modern games.
1 petabyte equals 1024 terabytes. A petabyte can hold roughly 250,000 HD movies or 500 billion pages of text. Petabytes are used in data center planning, cloud storage pricing and internet traffic measurement.
All data storage conversions
Bit to…
Byte to…
Kilobyte to…
Megabyte to…
Gigabyte to…
Terabyte to…
Petabyte to…
Kibibyte to…
Mebibyte to…
Gibibyte to…
Need other unit conversions? Explore our length converter, weight converter, temperature converter, volume converter, speed converter, area converter, pressure converter, energy converter, time converter, angle converter, frequency converter, power converter, torque converter, force converter, density converter, cooking temperature converter, cooking volume converter, flow rate converter, viscosity converter, electric charge converter, illuminance converter, acceleration converter, magnetic field converter, capacitance converter, resistance converter and data transfer rate converter.