Data Storage Converter
Convert digital storage between bytes, KB, MB, GB, TB and PB, using both decimal (1000) and binary (1024) values, instantly and for free.
By CalcLumen · Reviewed by Igor Zagorodnyi · Updated · How we check our math
| Unit | Value |
|---|---|
| Byte | 1,073,741,824 |
| KB | 1,048,576 |
| MB | 1,024 |
| GB | 1 |
| TB | 0.001 |
This data storage converter changes a digital size from one unit into another across bits, bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes. Type a value, choose the unit you are starting from and the unit you want, and the result updates instantly with a reference table of the most common units.
The converter uses binary units, where each step up is a factor of 1024: 1 KB is 1024 bytes, 1 MB is 1024 KB, and so on. This matches how operating systems typically report file and drive sizes, so the figures line up with what you see on your computer rather than the decimal (1000-based) values often printed on packaging.
How to use the data storage converter
- 1Enter the size value you want to convert.
- 2Pick the unit to convert from.
- 3Pick the unit to convert to.
- 4Read the converted value, plus the reference table of common units below.
Data storage questions, answered
Does this use 1024 or 1000 per unit?+
This converter uses binary units, so every step is 1024: 1 KB = 1024 bytes, 1 MB = 1024 KB, and so on. Drive manufacturers often use decimal units (1000-based), which is why a labelled 1 TB drive shows as slightly less in your operating system.
How many megabytes are in a gigabyte?+
Using binary units, one gigabyte equals 1024 megabytes. Likewise, one terabyte equals 1024 gigabytes and one megabyte equals 1024 kilobytes.
What is the difference between a bit and a byte?+
A byte is eight bits, so one bit is 0.125 bytes. Bits are often used for network and connection speeds, while bytes are used for file and storage sizes.
Tools & software you may like
Some of these are affiliate links — we may earn a commission at no extra cost to you.
Related calculators
Convert length, weight, temperature, volume, area and speed between metric and imperial units instantly, with the conversion factor shown for every pair.
Convert between 30+ world currencies with indicative daily exchange rates, see the rate used and the reverse conversion, and compare amounts side by side.
Convert fuel economy between US MPG, UK MPG, km/L and liters per 100 km — compare car efficiency across different measurement systems.
Convert cooking volumes between cups, tablespoons, teaspoons, milliliters, fluid ounces and pints, US and metric, with a table of common amounts.