Data size converter
Pick two data units and type a number. MB, GB and TB step by 1,000; MiB, GiB and TiB step by 1,024. Mixing the two families is why a drive seems smaller once it is plugged in.
- Free, no sign-up
- Sources checked Oct 2026
- Runs in your browser
The answer updates as you type.
1 megabyte =
0.001GB
Formula: GB = MB ÷ 1,000
Show the steps
- Definition: 1 MB = 10⁶ B = 1 000 000 B; 1 GB = 10⁹ B
- 1 MB ÷ 1,000 = 0.001 GB
Definitions used: 1 MB = 10⁶ B = 1 000 000 B; 1 GB = 10⁹ B.
Source: NIST, Prefixes for binary multiples, checked on .
Converting a whole column? Paste it all at once
Copy a column of megabytes from Excel or Google Sheets, paste it on the left and copy the gigabytes on the right back into your sheet. One result per line, in the same order.
5 values converted.
Pasted numbers like 1,234.5, 1.234,5 and 1 234,5 are read correctly whatever the option above; it only changes how the results are written. If you paste several columns, the first one is used. Everything runs in your browser; nothing you paste is sent anywhere.
1 megabyte in every data unit
| Unit | Value |
|---|---|
| Bits (bit) | 8,000,000 |
| Bytes (B) | 1,000,000 |
| Kilobytes (kB) | 1,000 |
| Gigabytes (GB) | 0.001 |
| Terabytes (TB) | 0.000001 |
| Kibibytes (KiB) | 976.563 |
| Mebibytes (MiB) | 0.953674 |
| Gibibytes (GiB) | 0.000931323 |
| Tebibytes (TiB) | 0.000000909495 |
The table follows the amount and the “From” unit you set in the converter above.
Popular data conversions
How each data unit is defined
These are the definitions the converter uses, as written in the source next to each one. Nothing is rounded before the calculation.
| Unit | Definition | In bytes |
|---|---|---|
| Bit (bit) | 8 bits = 1 byteNot confirmed: The NIST page we opened does not state the size of a byte. 1 byte = 8 bits is the usual convention (ISO/IEC 80000-13), not confirmed in a source we opened. | 0.125 |
| Byte (B) | Base unit used here for data size | 1 |
| Kilobyte (kB) | 1 kB = 10³ B = 1000 B | 1,000 |
| Megabyte (MB) | 1 MB = 10⁶ B = 1 000 000 B | 1,000,000 |
| Gigabyte (GB) | 1 GB = 10⁹ B | 1,000,000,000 |
| Terabyte (TB) | 1 TB = 10¹² B | 1,000,000,000,000 |
| Kibibyte (KiB) | 1 KiB = 2¹⁰ B = 1024 B | 1,024 |
| Mebibyte (MiB) | 1 MiB = 2²⁰ B = 1 048 576 B | 1,048,576 |
| Gibibyte (GiB) | 1 GiB = 2³⁰ B = 1 073 741 824 B | 1,073,741,824 |
| Tebibyte (TiB) | 1 TiB = 2⁴⁰ B | 1,099,511,627,776 |
Data conversion questions
What is the difference between GB and GiB?
1 GB is 10⁹ bytes (1,000,000,000). 1 GiB is 2³⁰ bytes (1,073,741,824), about 7.4% more. The binary prefixes kibi, mebi, gibi and tebi were adopted by the IEC to end the ambiguity.
How many MB are in a GB?
1,000 MB in 1 GB. In binary units, 1,024 MiB in 1 GiB.
How many bits are in a byte?
Eight, by the usual convention. The NIST page we cite for prefixes does not state it, so this site marks the bit as not confirmed in a source we opened.
Can I convert a whole column of values at once?
Yes. Use the box under the converter: copy the column from Excel or Google Sheets, paste it on the left and copy the converted column from the right. Each result sits on the same line as its original value. A line that is not a number, such as a header, is left blank so the rows stay aligned. If you paste several columns, the first one is converted.
Other converters
Every category uses the same layout: type a number, pick two units.
Unit converter
Type any conversion naturally: length, weight, temperature and more.Length converter
cm, inches, feet, meters, km, miles.Weight converter
kg, pounds, ounces, grams, stone.Temperature converter
Celsius, Fahrenheit and Kelvin.Volume converter
Liters, gallons, quarts, cups, mL.Area converter
Square feet, m², acres, hectares.Speed converter
mph, km/h, m/s and knots.Time converter
Seconds, minutes, hours, days, weeks.Cooking converter
Cups, spoons, mL and grams by ingredient.Time zone converter
What time is it there when it is 9 AM here?
Sources and limits
- NIST, Prefixes for binary multiples
IEC 60027-2 (second edition, 2000-11), as described by NIST in “Prefixes for binary multiples”.
National Institute of Standards and Technology. Edition or effective date: . Text in force when checked on .
This is a calculation aid, not an official measurement service. Results are rounded to 6 significant digits for display. For trade, engineering, medical dosing or legal documents, confirm the figure in the official source. Nothing you type leaves your browser.