This MB to GB converter changes megabytes to gigabytes and back, plus KB, TB and PB, in both meanings of the units: decimal (1 GB = 1,000 MB, used on drive boxes and in macOS) and binary (1 GB = 1,024 MB, used by Windows and for RAM). It also shows what Windows will report for a new drive and how many files fit in your free space.

Decimal (SI) unitValueBinary (IEC) unitValue
Drive label check: why it shows less
–Windows File Explorer shows
–macOS / iOS show
–Gap from the label (units only, before formatting)
How many files fit?
–whole files fit
–space left over

Both sizes use the meaning chosen above for KB, MB and GB. File systems also store some data of their own, so keep a little spare.

How to use the MB to GB converter

Type a value, pick the unit you have and the unit you want, and the result updates as you type. The table under it shows the same amount in every decimal unit (KB, MB, GB, TB) and every binary unit (KiB, MiB, GiB, TiB), so you never have to guess which one a program means.

  1. Pick what KB, MB and GB mean. Choose Decimal for drive labels, phone storage, macOS and download sizes in most stores. Choose Binary when the number comes from Windows File Explorer or when you work with RAM.
  2. Enter the value and the two units, or use a quick button such as MB to GB or TB to GB.
  3. Read the result and the note under it, which gives the same amount in the other meaning.
  4. Use Drive label check to see the number Windows will print for a new drive, and How many files fit? to count how many photos, videos or games fit in the space you have left.

How many MB are in a GB?

There are 1,000 MB in 1 GB in decimal units and 1,024 MiB in 1 GiB in binary units. Both systems are in daily use, which is why two programs can show different numbers for the same file.

Decimal: GB = MB ÷ 1,000 (1 GB = 1,000,000,000 bytes)
Binary: GiB = MiB ÷ 1,024 (1 GiB = 1,073,741,824 bytes)
Across systems: GiB = bytes ÷ 1,073,741,824

The binary names kibi, mebi, gibi and tebi were approved by the International Electrotechnical Commission in December 1998, so that “giga” could keep its normal meaning of one billion. Windows still writes “GB” when it means GiB, which is the root of most confusion. The table below converts common megabyte values both ways.

MegabytesGigabytes (decimal, ÷ 1,000)Gigabytes as Windows counts (÷ 1,024)
100 MB0.1 GB0.1 GB
250 MB0.25 GB0.24 GB
500 MB0.5 GB0.49 GB
1,000 MB1 GB0.98 GB
1,024 MB1.02 GB1 GB
2,048 MB2.05 GB2 GB
5,000 MB5 GB4.88 GB
10,000 MB10 GB9.77 GB
50,000 MB50 GB48.83 GB
100,000 MB100 GB97.66 GB

Decimal vs binary: who uses which unit

Storage makers, macOS and network speeds use decimal units, while Windows and RAM use binary math. Check where a number came from before you compare two sizes. Binary sizes look tidier in hexadecimal, where 1,024 is 400, and our hex to decimal converter shows the working for any value.

Where you see the numberWhat “1 GB” meansNotes
Hard drive, SSD and USB stick packaging1,000,000,000 bytesStorage makers use decimal units (Seagate)
macOS and iOS (current versions)1,000,000,000 bytesApple lists iOS 10 and OS X Leopard and earlier as the binary versions
Windows File Explorer and Disk Management1,073,741,824 bytesBinary math, but labeled “GB” instead of “GiB”
RAM modules1,073,741,824 bytesJEDEC memory usage: a “16 GB” kit holds 16 GiB
Internet and network speedsDecimal bits (1 Gbps = 1,000 Mbps)Speeds use bits, not bytes: divide Mbps by 8 for MB/s

Bits and bytes are a separate trap: internet speeds are quoted in megabits per second, and one byte is eight bits. A 100 Mbps line therefore moves at most 12.5 MB per second. For download times, use our bandwidth and download time calculator.

Why a 1 TB drive shows 931 GB in Windows

A 1 TB drive holds 1,000,000,000,000 bytes, and Windows divides that by 1,073,741,824 to get about 931 “GB”. No space is missing because of the units; only the ruler changed. Seagate gives the same examples: 500 GB shows as 465 GB and 2 TB as 1.81 TB in Windows.

Label on the boxBytesmacOS / iOS showWindows File Explorer showsNumber looks smaller by
128 GB128,000,000,000 bytes128 GB119.20 GB6.9%
256 GB256,000,000,000 bytes256 GB238.41 GB6.9%
500 GB500,000,000,000 bytes500 GB465.66 GB6.9%
1 TB1,000,000,000,000 bytes1 TB931.32 GB6.9%
2 TB2,000,000,000,000 bytes2 TB1.81 TB9.1%
4 TB4,000,000,000,000 bytes4 TB3.63 TB9.1%
8 TB8,000,000,000,000 bytes8 TB7.27 TB9.1%

After that, formatting and system files take a little more. Apple notes that the formatted capacity is lower than the label because the file system and the operating system use part of the space, and Intel notes that the operating system can reserve some SSD capacity for recovery. If a drive shows far less than the table above, for example half of its size, look for an extra partition in Disk Management instead of blaming the units.

This converter works with exact unit math; it does not read your disk. Real free space also depends on the file system cluster size, hidden recovery partitions and RAID overhead.

Frequently Asked Questions

How many MB are in a GB?

1 GB is 1,000 MB in decimal units, which drive makers, macOS and most download stores use. In binary units 1 GiB is 1,024 MiB, and Windows shows that binary amount but still labels it GB.

Is 1 GB equal to 1,000 or 1,024 MB?

Both answers are in use. The standard SI meaning is 1,000 MB, and the binary unit with 1,024 MiB is properly called a gibibyte (GiB). Use 1,000 for drive labels and 1,024 for Windows File Explorer and RAM.

Why does my hard drive show less space than advertised?

The label counts 1 GB as 1,000,000,000 bytes, while Windows divides by 1,073,741,824. So a 1 TB drive appears as about 931 GB and a 4 TB drive as 3.63 TB, before formatting and recovery partitions take a little more.

What is the difference between MB and MiB?

1 MB is 1,000,000 bytes and 1 MiB is 1,048,576 bytes, about 4.9% more. MiB is the IEC binary unit; MB is the decimal one, although many programs still write MB when they mean MiB.

How many GB is 1 TB?

1 TB is 1,000 GB in decimal units. In binary terms 1 TB of drive space equals about 931.32 GiB, which is why Windows shows a 1 TB drive as roughly 931 GB.

Sources and further reading