Data Storage Converter
The Data Storage Converter works between bits, bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes. It uses the binary convention (1 KB = 1,024 bytes) used by operating systems and RAM, and notes this in the assumptions.
What each field means
Every input below changes the result in a specific way. This is what each one expects, what it starts at, and the range it accepts.
- Value
A plain number. Enter digits only, with no symbols or separators.
Starts at: A plain number. Enter digits only, with no symbols or separators.
Accepted range: -1000000000000000 to 1000000000000000
- From
Choose one of the following: Bit, Byte, Kilobyte (KB), Megabyte (MB), Gigabyte (GB), Terabyte (TB), Petabyte (PB).
Starts at: Gigabyte (GB)
- To
Choose one of the following: Bit, Byte, Kilobyte (KB), Megabyte (MB), Gigabyte (GB), Terabyte (TB), Petabyte (PB).
Starts at: Megabyte (MB)
How to read your result
The calculator reports the figures below. The headline figure answers the question in the title; the rows underneath break it down so you can see what drives it.
- Converted value
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- In base unit
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- 1 GB equals
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Conversion factor
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Reverse factor
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
What this means
Digital storage is counted in bytes. Two conventions exist: binary (1 KB = 1,024 bytes), used by operating systems and RAM, and decimal (1 KB = 1,000 bytes), used by hard-drive sellers. This tool uses binary, the standard in computing.
How we calculate it
Formula
Result = Value × (factor of source unit) ÷ (factor of target unit), with each step equal to 1,024 bytes.Worked example
How many megabytes is 1 gigabyte?
- 11 GB = 1,024 MB (binary)
- 2Factor = 1024³ ÷ 1024² = 1,024
- 31 GB = 1,024 MB
Important assumptions
- Uses binary multiples (1 KB = 1,024 bytes), as used by operating systems. Storage-drive sellers often use decimal (1 KB = 1,000 bytes).
Frequently asked questions
Why does my hard drive show less space than advertised?
Drive sellers use decimal GB (1,000,000,000 bytes), while operating systems report binary GB (1,073,741,824 bytes), so the same drive reports a smaller number in the OS.
How many bytes are in a gigabyte?
In binary, 1 GB = 1,073,741,824 bytes (1,024³).
Related tools
Length Converter
Convert between millimeters, centimeters, meters, inches, feet, yards and miles.
Weight Converter
Convert milligrams, grams, kilograms, tonnes, ounces, pounds and stones.
Temperature Converter
Convert between Celsius, Fahrenheit and Kelvin with all scales shown.
Area Converter
Convert square meters, feet, acres, hectares and more.
Volume Converter
Convert liters, milliliters, gallons, cups, pints and cubic meters.
Speed Converter
Convert km/h, mph, m/s, knots and feet per second.