This article will show you how to convert data from megabytes (MB) to gigabytes (GB). We will cover essential definitions, provide examples, share relevant formulas, and present tables, along with answers to common questions.
Definitions of MB and GB
Let’s get started by understanding the key definitions and differences between Megabyte
and Gigabyte
. Understanding these terms will allow you to perform conversions confidently.
What is a Megabyte (MB)?
A megabyte (MB
) is a unit of measurement for data storage used to measure files or memory that are large in size, typically between one million and one billion bytes.
It has symbols or abbreviations such as MB
, Mbyte
, MiB
, or Mibyte
.
When using International System of Units (SI) prefixes[1], which are based on powers of 10, a megabyte (MB) equals 1,000,000 bytes.
1 MB = 103 KB = 1,000 KB
1 MB = 106 B = 1,000,000 B
The table below shows all the SI prefixes and the associated symbols, multipliers, and colloquial.

When using International Electrotechnical Commission (IEC) binary prefixes[2], which are based on powers of 2, a megabyte (MB) equals 1,048,576 bytes.
1 MiB = 210 KiB = 1,024 KiB
1 MiB = 220 B = 1,048,576 B
The IEC defined a set of binary prefixes to avoid confusion with the decimal-based SI prefixes. The table below shows all the binary prefixes, associated symbols, and its multipliers.

For general communication, you can use SI prefixes as they are familiar with the metric system, while for more accurate contexts, you should use IEC binary prefixes.
What is Gigabyte (GB)?
A gigabyte (GB
) is a unit of measurement for data storage used to measure device capacity, files, or memory that are large in size, typically between one billion and one trillion bytes.
It has symbols or abbreviations such as GB
, Gbyte
, GiB
, or Gibyte
.

When using International System of Units (SI) prefixes[1], which are based on powers of 10, a gigabyte (GB) equals 1,000,000,000 bytes.
1 GB = 103 MB = 1,000 MB
1 GB = 109 B = 1,000,000,000 B
When using International Electrotechnical Commission (IEC) binary prefixes[2], which are based on powers of 2, a gigabyte (GB) equals 1,073,741,824 bytes.
1 GiB = 210 MiB = 1,024 MiB
1 GiB = 230 B = 1,073,741,824 B
MB to GB formula
Let’s take a closer look at the conversion formula so you can carry out these conversions independently, whether using a calculator or doing it manually with pencil and paper.
Using decimal (SI) prefixes
The mega-
prefix in the International System of Units (SI) represents a multiplier of 106 (1,000,000)
and giga-
represents a multiplier of 109 (1,000,000,000)
.
So, to convert from megabytes to gigabytes, divide the number of megabytes (NMB
) by 1,000
.
NGB = NMB × 10-3 = NMB ÷ 1,000
Or remember the MB-to-GB
conversion factor: 1 MB = 0.001 GB
Using binary (IEC) prefixes
The mebi-
prefix in the International Electrotechnical Commission (IEC) represents a multiplier of 220 (1,048,576)
and gibi-
represents a multiplier of
.230 (1,073,741,824)
So, to convert from mebibytes to gibibytes, divide the number of mebibytes (NMiB
) by 1,024
.
NGiB = NMiB × 2-10 = NMiB ÷ 1,024
Or remember the MiB-to-GiB
conversion factor: 1 MiB = 2-10 = 0.0009765625
GiB
Examples
Now, let's take a look at an example that illustrates the calculations required to convert from megabytes to gigabytes (MB to GB)?
Example
John is a photographer who has completed a photo shoot and now has a folder containing 300
high-quality photos. Each photo file is approximately 8 MB
in size. He needs to determine how much total space this folder will occupy in gigabytes on his computer.
First, calculate the total size of the photo album folder in megabytes.
To determine the total folder size in gigabytes, we will convert using decimal and binary units to see the differences between two standards.
Option 1: Using decimal (SI) prefixes
Since 1 gigabyte (GB) equals 1,000 megabytes (MB), we can convert 2,400 MB
to gigabytes by using the following formula:
So, the 2,400 MB folder, when expressed in decimal units, is equivalent to 2.4 GB
.
Alternatively, you can use our calculator by entering 2400
into the MB box, and you instantly get the storage value in gigabytes, in this case, 2.4 GB
.

Option 2: Using binary (IEC) prefixes
Since 1 gibibyte (GiB) equals 1,024 mebibytes (MiB), we can convert 2,400 mebibytes
to gibibytes by using the following formula:
So, the 2,400 MiB folder, when expressed in binary units, is equivalent to 2.34375 GiB
.
Alternatively, you can use our calculator by choosing MiB and entering 2400
into the From box, choose GiB from the To unit box, and you instantly get the storage value in gibibytes, in this case, 2.34375 GiB
.

MB to GB conversion table
The conversion table below provides a handy reference for converting data storage capacity from megabytes (MB) to gigabytes (GB). It covers a range from 0.1 MB to 1,000 MB, allowing for easy and quick conversions between these units of measurement.
Decimal (SI) prefixes
Megabytes | Gigabytes |
---|---|
0.1 MB | 0.0001 GB |
0.5 MB | 0.0005 GB |
1 MB | 0.001 GB |
2 MB | 0.002 GB |
4 MB | 0.004 GB |
5 MB | 0.005 GB |
10 MB | 0.01 GB |
20 MB | 0.02 GB |
30 MB | 0.03 GB |
40 MB | 0.04 GB |
50 MB | 0.05 GB |
60 MB | 0.06 GB |
70 MB | 0.07 GB |
80 MB | 0.08 GB |
90 MB | 0.09 GB |
100 MB | 0.1 GB |
200 MB | 0.2 GB |
500 MB | 0.5 GB |
800 MB | 0.8 GB |
1,000 MB | 1 GB |
Binary (IEC) prefixes
Mebibytes | Gibibytes |
---|---|
0.1 MiB | 0.00009765625 GiB |
0.5 MiB | 0.00048828125 GiB |
1 MiB | 0.0009765625 GiB |
2 MiB | 0.001953125 GiB |
4 MiB | 0.00390625 GiB |
5 MiB | 0.0048828125 GiB |
10 MiB | 0.009765625 GiB |
20 MiB | 0.01953125 GiB |
30 MiB | 0.029296875 GiB |
40 MiB | 0.0390625 GiB |
50 MiB | 0.048828125 GiB |
60 MiB | 0.05859375 GiB |
70 MiB | 0.068359375 GiB |
80 MiB | 0.078125 GiB |
90 MiB | 0.087890625 GiB |
100 MiB | 0.09765625 GiB |
200 MiB | 0.1953125 GiB |
500 MiB | 0.48828125 GiB |
800 MiB | 0.78125 GiB |
1,000 MiB | 0.9765625 GiB |
FAQs
Is 1 megabyte or 1 gigabyte larger?
A gigabyte (GB) is a thousand times bigger than a megabyte (MB). Here are the relationships between the units:
Decimal prefixes
1 GB = 1,000 MB
1 MB = 1 ÷ 1,000 = 0.001 GB
Binary prefixes
1 GiB = 1,024 MiB
1 MiB = 1 ÷ 1,024 = 0.0009765625 GiB
How to convert from megabyte to gigabyte?
To convert data storage from megabytes (MB) to gigabytes (GB), follow these simple steps based on the standard you are using:
- Write down the data storage value in
megabytes (MB)
.
Decimal (SI) prefixes
- Multiply it by the value of a
MB-to-GB
conversion factor:0.001
. - The result from multiplication is the value of the data storage in
gigabytes (GB)
.
Binary (IEC) prefixes
- multiply it by the value of a
MiB-to-GiB
conversion factor:2-10
or0.0009765625
. - The result from multiplication is the value of the data storage in
gibibytes (GiB)
.
You now know how to convert data storage capacity from megabytes (MB) to gigabytes (GB). You can quickly use our calculator to convert between the data storage units to save time for future calculations.
For further understanding, check our data storage converter page to learn more about the differences between decimal and binary units of data storage.