How to Convert Megabytes to Gigabytes

Techwalla may earn compensation through affiliate links in this story.
Convert megabytes to gigabytes to switch between measuring units.

Megabytes and gigabytes are units of computer memory storage, with both of these terms heard often in the computer industry to define the storage capacity of computers and the sizes of programs and files. A single megabyte is equivalent to 1,024 kilobytes and one gigabyte is equivalent to 1,024 megabytes. Although numerous converters exist that make it easy to convert between the different units, you can also convert megabytes to gigabytes with a simple math equation.


Step 1

Find the megabyte number you want to convert.

Video of the Day

Step 2

Divide this number by 1,024 using the calculator. For example, to convert 29,785 megabytes to gigabytes, you would divide 29,785 by 1,024 to get 29.086 gigabytes.


Step 3

Use an online converter to perform the conversion instead, by visiting a site such as (link in Resources), entering the megabyte number into the appropriate field and clicking "Calculate."



Round the numbers before performing the equation to make it less complicated, unless you require an exact conversion.