Data Storage Converter
Convert digital storage between bytes, KB, MB, GB, TB and more.
| 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 it
- 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.
Frequently asked questions
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.
Related calculators
Convert length, weight, temperature and volume between metric and imperial units.
Convert between world currencies with a simple, fast exchange-rate calculator.
Convert fuel economy between US MPG, UK MPG, km/L and liters per 100 km.
Convert cooking volumes between cups, tablespoons, teaspoons, milliliters and ounces.