How do I convert data storage units?
To convert data storage units, multiply the value by the source unit's size in bytes, then divide by the target unit's size in bytes, using the decimal (SI) system where 1 KB equals 1,000 bytes. Example: 1,500 MB equals 1,500 x 1,000,000 / 1,000,000,000 = 1.5 GB.
Steps to convert data storage units
- Find the source unit's size in bytes using the decimal system (1 KB = 1,000 bytes, 1 MB = 1,000,000 bytes, and so on).
- Multiply the input value by that size to convert it into bytes.
- Find the target unit's size in bytes the same way.
- Divide the byte total by the target unit's size to get the result.
- Remember that operating systems sometimes report storage using the binary system (1,024 instead of 1,000), which can make file sizes appear smaller than expected.
Data storage conversion formula
Result = Value x (Source unit in bytes / Target unit in bytes) · 1 Byte = 8 Bits
- 1 KB = 1,000 bytes · 1 MB = 1,000,000 bytes · 1 GB = 1,000,000,000 bytes (decimal/SI system)
- 1 KiB = 1,024 bytes (binary system, not used by default in this tool)
Common data storage conversions
How many MB is 1 GB?
1 GB is 1,000 MB in this tool, using the decimal (SI) definition where each unit is 1,000 times the one below it.
How many GB is 1 TB?
1 TB is 1,000 GB, using the same decimal (SI) scale as the rest of this converter.
How many MB is 500 GB?
500 GB is 500,000 MB (500 × 1,000 MB per GB).
How many bytes is 1 KB?
1 KB is 1,000 bytes in this tool's decimal (SI) scale.
How many bits is 1 byte?
1 byte is 8 bits; this tool converts Bit to Byte using a factor of 1/8.
How many KB is 1 MB?
1 MB is 1,000 KB, following the same decimal chain as GB and TB.
How many MB is 1 TB?
1 TB is 1,000,000 MB (1,000 GB × 1,000 MB per GB).
Why does this tool's GB differ from the storage size shown by my operating system?
This tool uses the decimal (SI) definition, where 1 GB = 1,000 MB = 1,000,000,000 bytes. Some operating systems instead show binary GiB, where 1 GiB = 1,024 MiB = 1,073,741,824 bytes, which is roughly 7% larger per unit than the decimal value this tool returns.
Example data storage conversions
| From | To | Result |
|---|
| 1 GB | MB | 1,000 MB |
| 1 MB | KB | 1,000 KB |
| 8 bit | byte | 1 byte |
| 1,500 MB | GB | 1.5 GB |
| 1 TB | GB | 1,000 GB |
Frequently asked questions
Why does my hard drive show less space than advertised?
Manufacturers label drives using the decimal system (1 TB = 1,000,000,000,000 bytes), but operating systems often display capacity using the binary system (1 TiB = 1,099,511,627,776 bytes). A drive labeled 1 TB shows roughly 931 GiB in Windows File Explorer because of this difference, not because storage is missing.
What is the difference between a bit and a byte?
A bit is a single binary digit, 0 or 1. A byte is a group of 8 bits and is the standard unit for measuring file sizes, memory, and storage capacity.
What is the difference between KB and KiB?
KB (kilobyte) uses the decimal system: 1,000 bytes. KiB (kibibyte) uses the binary system: 1,024 bytes. This tool uses the decimal (KB, MB, GB) convention, which is the standard for storage marketing and most SI-based measurements.
How many bytes are in a petabyte?
One petabyte (PB) equals 1,000 terabytes, or 1,000,000,000,000,000 (10 to the 15th power) bytes, in the decimal system used by this tool.
This tool uses the decimal (SI) system where 1 KB = 1,000 bytes; some operating systems and applications use the binary system (1,024) instead, which can produce different displayed values for the same file.
Sources: NIST - Prefixes for Binary Multiples (decimal vs. binary units)