Unit Conversions
Basic

Gigabytes to Megabytes

Convert gigabytes to megabytes (binary).

Formula

MB=GB×1024\text{MB} = \text{GB} \times 1024

Live Calculator

Members

Variables

Example

4 GB × 1024 = 4096 MB.

How it works

In the binary system used by many computers, 1 gigabyte is treated as 1024 megabytes rather than 1000 megabytes. That is because digital storage is naturally organized in powers of 2, so each larger unit is 1024 times the smaller unit beneath it. This formula converts a size in GB into the equivalent size in MB by multiplying by 1024.

When to use it

Use this when converting storage amounts for computer memory, file sizes, or disk space in contexts that use binary units. It is especially useful in operating systems, programming, and hardware specifications where 1 GB = 1024 MB is the convention.

Worked example, step by step

Suppose a hard drive has 7 GB of space. Use the conversion formula: MB = GB × 1024 MB = 7 × 1024 MB = 7168 So, 7 GB = 7168 MB.

Common mistakes to avoid

  • using 1000 instead of 1024 for binary conversion
  • forgetting that the formula converts from GB to MB, not the other way around
  • mixing binary units with decimal storage labels without checking the context

Did You Know?

Hard-drive makers count 1 GB as 1,000 MB, but computers count 1,024 — which is why your "1 TB" drive looks smaller.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026