GameParticles
Numbers & units

How Many MB in a GB? 1000 or 1024, and When Each Applies

How many MB in a GB: 1,000 by the decimal standard used for storage and data plans, or 1,024 in the binary system used for RAM. Includes a GB to MB chart.

Updated

There are 1,000 MB in a GB under the decimal (SI) definition, which is what storage manufacturers and network equipment use. Under the binary convention used for RAM and by Windows, a GB is 1,024 MB. Both answers are correct in their own context, and the difference is 2.4 percent.

The short answer

System1 GB equalsUsed by
Decimal (SI)1,000 MB, or 1,000,000,000 bytesHard drives, SSDs, USB sticks, macOS, network speeds
Binary1,024 MB, or 1,073,741,824 bytesRAM, Windows file sizes, many command line tools

To convert, multiply the number of gigabytes by 1,000 or 1,024. To go from MB to GB, divide by the same number. For example, 3,500 MB is 3.5 GB in decimal, or about 3.42 GB in binary.

Why there are two answers

The prefixes kilo, mega and giga come from the metric system, where they mean a thousand, a million and a billion. A kilometer is 1,000 meters, so by the same logic a gigabyte is 1,000 megabytes.

Computers, however, count in powers of two. Memory chips come in sizes like 256, 512 and 1,024, never a round 1,000. Early engineers noticed that 2 to the power 10, which is 1,024, was close to a thousand and borrowed the metric prefixes for it. For decades, "kilobyte" meant 1,024 bytes inside the computer and 1,000 bytes on the marketing material.

In 1998 the International Electrotechnical Commission settled the matter on paper by creating separate names for the binary units: kibibyte (KiB), mebibyte (MiB) and gibibyte (GiB). Under that standard, a GB is always 1,000 MB and the 1,024-based unit is a GiB, which equals 1,024 MiB. In practice, plenty of software still writes GB when it means GiB. The full story is in MiB vs MB.

Who uses which

  • Storage makers: decimal. A 64 GB phone or memory card holds 64 billion bytes.
  • RAM: binary. An 8 GB memory module holds 8 × 1,073,741,824 bytes.
  • Windows: binary, but labeled GB. File Explorer divides by 1,024 at each step, which is why drives look smaller than advertised.
  • macOS: decimal since version 10.6, so sizes match the box.
  • Linux: mixed. Many command line tools default to powers of 1,024, while several desktop file managers use decimal.
  • Internet speeds: decimal, and measured in bits, not bytes. See Bits vs Bytes.
  • Mobile data plans: check the carrier's terms. Many carriers count 1 GB as 1,024 MB, but the definition is theirs to set.

GB to MB conversion chart

GBMB (decimal, × 1,000)MB (binary, × 1,024)
0.25250256
0.5500512
11,0001,024
22,0002,048
44,0004,096
55,0005,120
88,0008,192
1010,00010,240
1616,00016,384
3232,00032,768
6464,00065,536
100100,000102,400

MB vs GB: which is bigger

A gigabyte is bigger. The units step up by a factor of about a thousand each time:

  1. Byte (B): one character of plain text.
  2. Kilobyte (KB): about a thousand bytes.
  3. Megabyte (MB): about a million bytes.
  4. Gigabyte (GB): about a billion bytes.
  5. Terabyte (TB): about a trillion bytes.

As a rule of thumb, individual photos, songs and documents are measured in MB, while movies, games, phone storage and data plans are measured in GB. For the step below this one, see KB vs MB, and for the step above, How Many GB in a TB.

What fits in 1 GB

File sizes vary a lot with quality settings, so treat these as estimates. Each one states the assumption behind it, using 1 GB as 1,000 MB.

ContentAssumed sizeFits in 1 GB
Phone photos (JPEG)4 MB eachAbout 250 photos
Music (MP3 at 128 kbps)About 1 MB per minuteAbout 17 hours
Songs (4 minutes at 128 kbps)About 3.8 MB eachAbout 260 songs
Video at 5 Mbps (typical HD stream)2.25 GB per hourAbout 27 minutes
Video at 1 Mbps (low resolution)0.45 GB per hourAbout 2 hours 13 minutes
Plain text1 byte per characterA billion characters

The video and audio rows come straight from arithmetic. A bitrate in megabits per second, divided by 8, gives megabytes per second. A 5 Mbps stream is 0.625 MB every second, or 2,250 MB an hour.

Does the difference matter?

At the megabyte and gigabyte level the gap is small: 24 MB per gigabyte. It compounds as the units get bigger, because each step multiplies by 1.024 again.

UnitBinary version is larger by
KB vs KiB2.4 percent
MB vs MiB4.9 percent
GB vs GiB7.4 percent
TB vs TiB10 percent

That 7.4 percent is why a phone sold as 128 GB reports about 119 GB of total capacity on a system that counts in binary, before the operating system has used a single byte. Nothing is missing. The same number of bytes is being divided by a larger unit.

Using the converter

The Data Size Converter has a toggle at the top for the two systems: Binary (KiB/MiB), which uses 1,024, and SI Decimal (KB/MB), which uses 1,000. Enter a value, choose its unit, and a table shows the same amount in bytes, kilobytes, megabytes, gigabytes, terabytes and petabytes at once, each with a copy button.

Enter 1 with the unit set to GB. In decimal mode the MB row reads 1,000. Switch the toggle to binary and the units are relabeled GiB and MiB, with the MiB row reading 1,024. The labels follow the IEC names, so you always know which definition a result is using.

Try it

Open the Data Size Converter, enter the size of your phone's storage in GB, and flip between the two modes to see both megabyte figures. Other converters are in the numbers category.

Tools in this guide

Frequently asked questions

Is 1 GB 1000 MB or 1024 MB?

Both are in use. By the international SI definition, 1 GB is exactly 1,000 MB, and storage makers follow it. Memory and Windows use the binary convention, where 1 GB means 1,024 MB. Strictly, that binary unit is called a gibibyte (GiB) and equals 1,024 mebibytes.

What is the difference between MB and GB?

Both measure digital data. A megabyte (MB) is about one million bytes and a gigabyte (GB) is about one billion bytes, so a GB is roughly a thousand times larger. Photos and songs are measured in MB. Movies, apps and data plans are measured in GB.

How many MB is half a GB?

Half a gigabyte is 500 MB in the decimal system and 512 MB in the binary system. A quarter of a gigabyte is 250 MB or 256 MB. Older memory cards and RAM modules sold as 512 MB were half of a binary gigabyte.

How long does 1 GB of data last?

It depends on the bitrate. Music at 128 kbps uses about 1 MB a minute, so 1 GB lasts roughly 17 hours. Video at 5 Mbps uses about 2.25 GB an hour, so 1 GB lasts under half an hour. Web browsing and messaging use far less.

More numbers & units guides

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵