Data Storage Converter
Enter a data size below to convert between bytes, kilobytes, megabytes, gigabytes, and terabytes.
Convert Data Storage
Enter a value and select the units to convert between gigabytes, megabytes, and gibibytes.
You can change the units using the dropdowns above or click on a unit button.
Common Data Storage Reference Points
Here are some common data storage values in Gigabyte (Decimal) (GB), Megabyte (Decimal) (MB), and Gibibyte (Binary) (GiB). Click any preset value or arrow to load it into the converter.
| Description | Gigabyte (Decimal) (GB) | Megabyte (Decimal) (MB) | Gibibyte (Binary) (GiB) |
|---|---|---|---|
| High-res photo (10 MB / 0.01 GB) | 0.01 | 10 | 0.00931322 |
| 1 Gigabyte SI decimal benchmark | 1 | 1,000 | 0.93132 |
| HD feature film (~4 GB) | 4 | 4,000 | 3.72529 |
| Smartphone base storage (128 GB) | 128 | 128,000 | 119.20929 |
| Laptop NVMe SSD (512 GB) | 512 | 512,000 | 476.83716 |
| 1 Terabyte drive (1,000 GB) | 1,000 | 1,000,000 | 931.32257 |
Data Storage Conversion Formulas
Use the following formulas to convert between gigabytes, megabytes, and gibibytes.
Storage manufacturers use decimal SI powers of 1,000 (1 GB = 10⁹ B), while OS memory uses binary IEC powers of 1,024 (1 GiB = 2³⁰ B).
More Gigabyte & Megabyte Conversions
Convert from Gigabytes
Frequently Asked Questions
All Data Storage Conversion Calculators (13)
Select any dedicated data storage pair below for worked examples and printable tables
Category Conversion Matrix
Simultaneous comparison of 17 units in this category
Data Storage Unit Definitions & Symbols
Bit (b)
BINARYBasic binary digit (1/8 of a byte).
Kilobit (Kb)
METRICEqual to 1,000 bits (125 bytes).
Megabit (Mb)
METRICEqual to 1,000,000 bits (125 KB).
Gigabit (Gb)
METRICEqual to 1,000,000,000 bits (125 MB).
Terabit (Tb)
METRICEqual to 10¹² bits (125 GB).
Byte (B)
BINARY8 binary bits.
Word (16-bit) (word)
BINARYStandard 16-bit processor word equal to 2 bytes.
Kilobyte (Decimal) (KB)
METRICSI decimal standard: 1,000 bytes.
Megabyte (Decimal) (MB)
METRICSI decimal standard: 1,000,000 bytes.
Gigabyte (Decimal) (GB)
METRICSI decimal standard: 1,000,000,000 bytes.
Terabyte (Decimal) (TB)
METRICSI decimal standard: 1,000,000,000,000 bytes (1,000 GB).
Petabyte (Decimal) (PB)
METRICSI decimal standard: 10¹⁵ bytes (1,000 TB).
Exabyte (Decimal) (EB)
METRICSI decimal standard: 10¹⁸ bytes (1,000 PB).
Kibibyte (Binary) (KiB)
BINARYIEC binary standard: 1,024 bytes (2¹⁰ B).
Mebibyte (Binary) (MiB)
BINARYIEC binary standard: 1,048,576 bytes (2²⁰ B).
Gibibyte (Binary) (GiB)
BINARYIEC binary standard: 1,073,741,824 bytes (2³⁰ B).
Tebibyte (Binary) (TiB)
BINARYIEC binary standard: 1,099,511,627,776 bytes (2⁴⁰ B).
References
- [1]NIST / IEC StandardNIST / IEC (IEC 80000-13 Binary Prefixes)·Digital Storage Metrology Standards — Bit (b), Kilobit (Kb) & Megabit (Mb)
- [2]BIPM ReferenceBIPM (SI Decimal Prefixes (k, M, G, T, P))·International Reference Specification for Data & Storage Capacity
- [3]NIST CUU TablesNIST CUU (SI Prefixes & Decimal Multiples)·Official Digital Storage Conversion Factors & Rounding Rules