Calculate

Data Size Converter

1 GB = 1000 MB (or 1024 MiB). Convert any data size, or type math like 25 * 1024 * 1024.

1 MB = 0.001 GB

Unit system

Try a common conversion

Megabytes (MB)Gigabytes (GB)
10.001
20.002
50.005
100.01
150.015
200.02
250.025
500.05
750.075
1000.1
1500.15
2000.2
2500.25
5000.5
1,0001

☕ This tool is free forever. If it saved you time, buy me a coffee.

Did this help?

Cite this tool

The page date is when this page was last reviewed. The retrieval date is today's date on your device. Check your style guide for details such as italics.

Quick answers: MB to GB

Decimal (SI) divides by 1000: 1000 MB = 1 GB. Binary (IEC) divides by 1024: 1024 MiB = 1 GiB.

AmountDecimal: MB → GB (÷1000)Binary: MiB → GiB (÷1024)
500500 MB = 0.5 GB500 MiB = 0.488 GiB
1,0001,000 MB = 1 GB1,000 MiB = 0.977 GiB
1,0241,024 MB = 1.024 GB1,024 MiB = 1 GiB
2,0002,000 MB = 2 GB2,000 MiB = 1.953 GiB
4,0004,000 MB = 4 GB4,000 MiB = 3.906 GiB
4,0964,096 MB = 4.096 GB4,096 MiB = 4 GiB

How this is calculated

Every value is converted to bytes first, then from bytes to the unit you chose, using the exact definition of each prefix.

Formulas

  • SI (decimal) prefixes are powers of 1,000.

    1 kB = 10³ B, 1 MB = 10⁶ B, 1 GB = 10⁹ B, 1 TB = 10¹² B, 1 PB = 10¹⁵ B

  • IEC (binary) prefixes are powers of 1,024.

    1 KiB = 2¹⁰ B, 1 MiB = 2²⁰ B, 1 GiB = 2³⁰ B, 1 TiB = 2⁴⁰ B, 1 PiB = 2⁵⁰ B

  • A byte is 8 bits, so bit-based units are an eighth of the matching byte unit.

    1 B = 8 bit

  • To convert, multiply by the source unit's size in bytes and divide by the target unit's size in bytes.

    target = amount × bytes(source) ÷ bytes(target)

Sources

How we test this

This tool is checked against independent formulas every time the site is released, and a release does not ship if a check fails. Example from the test suite: 4,000 MB gives 4 GB, or 3.73 GiB. The test works out 4,000 × 10⁶ ÷ 2³⁰ itself, without calling the converter, and checks the converter agrees.

The test is “convert-data: 4,000 MB = 4 GB = 3.73 GiB” in tests/unit-conversion-golden.test.mjs. More on how all tools are tested: our testing approach.

Assumptions and limits

  • Decimal (SI) is the default because it is how storage makers label capacity. Choose IEC for how many operating systems report sizes.
  • A few older tools write MB or GB for powers of 1,024. This page treats MB and GB as decimal, and MiB and GiB as binary.
  • Nominal capacity is not usable capacity: formatting and file-system overhead reduce what a drive can store.

Last reviewed , the date of the latest change to this tool's calculation or content.

Helpful answers

Frequently asked questions

What data units can I convert between?
The converter supports B, kB, MB, GB, TB, PB, KiB, MiB, GiB, TiB, PiB, bit, kbit, Mbit, Gbit, Tbit, Pbit. SI byte units are decimal, IEC byte units are binary, and bit multiples use decimal prefixes.
What is the difference between kB and KiB?
1 kB = 1,000 B, while 1 KiB = 1,024 B. The lowercase k in kB is the SI symbol; KiB is the unambiguous IEC binary symbol.
What is the difference between megabits and megabytes?
1 Mbit = 125,000 B, while 1 MB = 1,000,000 B. There are always 8 bits in 1 byte, so 100 Mbit/s equals 12.5 MB/s.
Which data-size system is the default?
SI decimal is the default, so 1 MB = 1,000,000 B and 1 GB = 1,000 MB. Select IEC binary for 1,024-based units or Compare both for SI-to-IEC conversions. Use SI symbols such as MB, GB, TB and PB for standard 1,000-based values. Choose IEC units such as MiB, GiB, TiB or PiB when the source uses 1,024-based binary quantities.
Is the data size converter free?
Yes. This converter is free with no signup, and all calculations run in your browser.
How many gigabytes are in a terabyte?
1 terabyte (TB) is 1,000 gigabytes (GB) in decimal units. In binary units 1 tebibyte (TiB) is 1,024 gibibytes (GiB).
How many GB is 4000 MB?
4000 MB is 4 GB in decimal units (1 GB = 1,000 MB), or 3.73 GiB in binary units. If 4000 means MiB, it is 3.91 GiB.
How many GB is 4096 MB?
4096 MB is 4.096 GB in decimal units. Read as MiB, 4096 MiB is exactly 4 GiB, which is why 4 GB of RAM is listed as 4096 MB.
How many GiB is 4000 MB?
4000 MB is 3.73 GiB, because 4000 MB is 4,000,000,000 bytes and 1 GiB is 1,073,741,824 bytes.
How many GB is 2000 MB?
2000 MB is 2 GB in decimal units, or 1.86 GiB in binary units.

Embed this on your site

Free to use on blogs, classroom pages and docs. Paste this where you want the data size converter to appear; it includes a text link back to this page. See every widget on the embed page.

<iframe src="https://www.clevr.tools/embed/data-converter" width="100%" height="420" style="border:0" loading="lazy" title="Data size converter"></iframe>
<p><a href="https://www.clevr.tools/calc/convert/data">Data size converter</a> by clevr.tools</p>

Quick answers: GB, MB, GiB and TB

1 GB = 1000 MB in decimal (SI) units, which storage makers use. In binary (IEC) units, 1 GiB = 1024 MiB — the 1024-based number that Windows and RAM sizes label as “GB”.

SizeDecimal (1000)Binary (1024)
1 GB1,000 MB≈ 953.67 MiB
1 GiB≈ 1,073.74 MB1,024 MiB
4.7 GB DVD4,700 MB≈ 4.38 GiB
25 GB Blu-ray25,000 MB≈ 23.28 GiB
50 GB Blu-ray (dual layer)50,000 MB≈ 46.57 GiB
1 TB drive1,000 GB≈ 931.32 GiB
4,000 MB4 GB≈ 3.73 GiB
25 × 1024 × 1024 B (25 MiB)26,214,400 B25 MiB
50 × 1024 × 1024 B (50 MiB)52,428,800 B50 MiB

You can type the math directly in the converter, for example 25 * 1024 * 1024 with Bytes selected. Exact values for 1 GiB: 1.073741824 GB.

For internet speed conversions, choose megabits and gigabits above (internet plans are quoted in bits per second, file sizes in bytes). For vehicle and everyday speeds, use the Speed Converter.

Converting MB to GB changes how a size is expressed; it does not make the file smaller. To meet an upload limit, follow the image file-size budget workflow or use the Image Compressor.

Why does my 1 TB drive show 931 GB?

Nothing is missing. Drive makers count in decimal units, so a 1 TB drive holds 1,000,000,000,000 bytes. Windows divides that by 1024 three times (1024 × 1024 × 1024) and still labels the result “GB”, so it reports about 931.32 “GB” — which is really 931.32 GiB.

macOS, iOS and most Linux file managers use decimal units, so they show the same drive as 1 TB (1,000 GB). Formatting and recovery partitions take a little more space on top of the unit difference. The same gap grows with size: a 2 TB drive shows about 1,862.65 GB in Windows.

How many GB in a TB?

There are 1,000 GB in 1 TB in decimal (SI) units, and 1,024 GiB in 1 TiB in binary (IEC) units.

A 1 TB drive holds 1,000,000,000,000 bytes, which Windows reports as about 931.32 GiB, because it divides by 1,024 three times.

4,000 MB to GB

Decimal (SI): 4,000 MB = 4 GB, because 1 GB = 1,000 MB. In binary units that same number of bytes is 3.73 GiB.

Binary (IEC): if the 4,000 means MiB, as with RAM and many operating-system readouts, 4,000 MiB = 3.906 GiB, which is 4.194 GB.

4,096 MB to GB

Decimal (SI): 4,096 MB = 4.096 GB, because 1 GB = 1,000 MB. In binary units that same number of bytes is 3.81 GiB.

Binary (IEC): if the 4,096 means MiB, as with RAM and many operating-system readouts, 4,096 MiB = 4 GiB, which is 4.295 GB.

2,000 MB to GB

Decimal (SI): 2,000 MB = 2 GB, because 1 GB = 1,000 MB. In binary units that same number of bytes is 1.86 GiB.

Binary (IEC): if the 2,000 means MiB, as with RAM and many operating-system readouts, 2,000 MiB = 1.953 GiB, which is 2.097 GB.

Navigation

When to use this

Use this converter when a file, storage plan, memory value, or network speed is expressed in a different data unit than the one you need. It converts directly between decimal SI byte units, binary IEC byte units, bytes, and decimal bit multiples.

SI decimal and IEC binary units

SI decimal units use powers of 1,000: 1 kB = 1,000 B, 1 MB = 1,000,000 B, and 1 GB = 1,000,000,000 B. IEC binary units use powers of 1,024: 1 KiB = 1,024 B, 1 MiB = 1,048,576 B, and 1 GiB = 1,073,741,824 B. The symbols are not interchangeable.

SI decimal is the calculator default. Select IEC binary when the source explicitly uses KiB, MiB, GiB, TiB, or PiB. Select Compare both to convert across the two systems.

Use SI symbols such as MB, GB, TB and PB for standard 1,000-based values. Choose IEC units such as MiB, GiB, TiB or PiB when the source uses 1,024-based binary quantities.

Worked examples

  • 1 MB = 1,000,000 B = 8 Mbit
  • 1 MiB = 1,048,576 B = 8.388608 Mbit
  • 1 GB = 1,000 MB
  • 1 GiB = 1,024 MiB = 1.073741824 GB
  • 1 TB = 1,000,000,000,000 B = 931.3225746154785 GiB
  • 100 Mbit/s ÷ 8 = 12.5 MB/s = 11.920928955078125 MiB/s

Quick reference

UnitSystemExact bytes
1 kBSI decimal1,000 B
1 MBSI decimal1,000,000 B
1 GBSI decimal1,000,000,000 B
1 TBSI decimal1,000,000,000,000 B
1 PBSI decimal1,000,000,000,000,000 B
1 KiBIEC binary1,024 B
1 MiBIEC binary1,048,576 B
1 GiBIEC binary1,073,741,824 B
1 TiBIEC binary1,099,511,627,776 B
1 PiBIEC binary1,125,899,906,842,624 B

Definitions and sources

The factors in this calculator are generated from the same unit definitions as the results and reference table. For the underlying conventions, see the BIPM's SI prefix definitions and the IEC's binary unit symbols. If a storage label uses MB or GB but means a power of 1,024, confirm that convention with the source before converting; the unambiguous binary symbols are MiB and GiB.