Skip to content

Guide

How many megabytes in a gigabyte? 1,000 or 1,024 bytes?

Both 1,000 and 1,024 are correct answers — they're just answers to two different questions, MB vs. MiB.

By Published

This is one of the few conversions where the honest answer is “it depends” — and the disagreement isn't sloppy rounding, it's two genuinely different, both-correct definitions colliding under the same abbreviation. Decimal: 1,000 MB per GB. Binary: 1,024 MiB per GiB. Storage vendors, most modern operating systems, and the IEC 80000-13 standard all use the decimal figure for anything labeled plain “MB” or “GB”.

Decimal: 1,000 MB = 1 GB

Under the SI/IEC decimal convention, a kilobyte is 1,000 bytes, a megabyte is 1,000,000 bytes, and a gigabyte is 1,000,000,000 bytes. That makes the megabyte-to-gigabyte relationship a clean:

1 GB = 1,000 MB

This is what you'll see on a drive's packaging, in most cloud-storage pricing pages, and in macOS's Finder or most Linux file managers. It's also the definition Convertitive's megabyte-to-gigabyte converter uses by default.

Binary: 1,024 MiB = 1 GiB

Computer memory is naturally organized in powers of two, so older software — and RAM specifications to this day — used “kilobyte,” “megabyte,” and “gigabyte” to mean 1,024, 1,048,576, and 1,073,741,824 bytes respectively. To remove the ambiguity, the IEC formally standardized separate binary-prefix names in 1998: kibibyte (KiB), mebibyte (MiB), and gibibyte (GiB).

UnitBytesConvention
1 MB1,000,000Decimal (SI)
1 MiB1,048,576Binary (IEC)
1 GB1,000,000,000Decimal (SI)
1 GiB1,073,741,824Binary (IEC)

Why the two definitions coexist

Windows is the main holdout still labeling binary values with decimal unit names in its UI (showing “GB” when it means GiB), which is the direct cause of the famous “why does my 1 TB drive show 931 GB” complaint: the drive is exactly 1,000,000,000,000 bytes (decimal, as advertised), but Windows divides by 1,073,741,824 and still labels the result “GB.” Neither number is wrong — they're measuring the same bytes with two different rulers.

Which one should you use?

For everyday file sizes, downloads, and storage-plan comparisons, use the decimal definition (1,000 MB = 1 GB) — it matches how storage is sold and how most modern software reports it. For RAM capacity or anything explicitly labeled with an “i” (KiB, MiB, GiB), use the binary definition instead. When in doubt, check NIST's guidance on SI vs. binary prefixes for the full reference table.

A quick way to check which one you're looking at

If two “GB” figures for what should be the same thing differ by a few percent, decimal-vs-binary is almost always the cause — not a data-loss bug or a miscalculation. The two conventions never differ by more than about 7.4% at the gigabyte scale (and by more at larger scales, since the gap compounds), so if you see a bigger mismatch than that, look for a different explanation, such as filesystem overhead or compression, rather than assuming it's a unit issue.

Frequently asked questions

How many megabytes are in a gigabyte?
1,000 megabytes, using the decimal definition (1 GB = 1,000,000,000 bytes, 1 MB = 1,000,000 bytes) that storage vendors, operating system file managers, and the IEC standard use. Using the binary definition instead, 1 gibibyte (GiB) equals 1,024 mebibytes (MiB).
Why do some tools say 1,024 MB is 1 GB?
Older software, and RAM specifications, historically used 'MB' and 'GB' to mean the binary values (1,024 and 1,024² respectively), because computer memory is naturally organized in powers of two. That usage predates the 1998 IEC standard that introduced KiB/MiB/GiB specifically to remove the ambiguity.
Which definition does Convertitive use?
Convertitive's megabyte-to-gigabyte converter uses the decimal definition (1,000-based) by default, matching storage-vendor labeling and the IEC recommendation, with binary units (KiB, MiB, GiB) available separately for RAM-style calculations.
Is 1 GB always the same size?
No — 'GB' means 1,000,000,000 bytes under the decimal convention and 1,073,741,824 bytes under the binary one, a difference of about 7.4%. Always check which convention a given number is using before treating two 'GB' figures as directly comparable.

Sources & references

Authoritative references cited by this piece. Verified by Buğra Sözeri on the dates shown and re-checked at every deploy.

Related

More guides on this topic

Published September 25, 2026