MB to GB Converter

Change a file or storage size between bytes, KB, MB, GB, TB and PB in decimal or binary units. Also converts Mbps to MB/s and estimates download time.

Data size

Decimal is used by drive makers, networks and phone plans. Binary is used by most operating systems for memory and file sizes.

Gigabytes

2.5

2,500 MB = 2.5 GB

Bits (bit)
20,000,000,000
Bytes (B)
2,500,000,000
Kilobytes (KB)
2,500,000
Gigabytes (GB)
2.5
Terabytes (TB)
0.0025
Petabytes (PB)
0.0000025

2,500 MB is 2.5 GB.

Mbps to MB/s

Megabytes per second

12.5

100 Mbps = 12.5 MB/s

Megabits per second (Mbps)
100
Megabytes per second (MB/s)
12.5
Mebibytes per second (MiB/s)
11.92093
Gigabits per second (Gbps)
0.1
Gigabytes per hour (GB)
45

100 Mbps is 12.5 MB/s.

Download time

%

Real downloads are usually below the advertised speed. Try 80 to allow for overhead.

Estimated download time

6 min 40 s

5 GB at 100 Mbps, using 100% of the line

Seconds
400
Minutes
6.67
Hours
0.111
Effective speed (MB/s)
12.5

A 5 GB file at 100 Mbps takes about 6 min 40 s.

Drive capacity

Shown by the computer as (GiB)

465.66 GiB

500 GB is 500,000,000,000 bytes

Bytes
500,000,000,000
Gibibytes (GiB)
465.66
Tebibytes (TiB)
0.4547
Difference from the advertised number
6.87%

A drive sold as 500 GB holds 500,000,000,000 bytes, which an operating system that counts in powers of 1024 shows as 465.66 GiB.

Add this calculator to your website

Free to use on any site or blog. Paste this code where you want the calculator to appear. It stays up to date, needs no account, and keeps your visitors' numbers in their own browser.

Preview

Decimal and binary units side by side

Decimal and binary units side by side
StepDecimal bytesBinary bytesBinary is larger by
KB / KiB1,0001,0242.4%
MB / MiB1,000,0001,048,5764.86%
GB / GiB1,000,000,0001,073,741,8247.37%
TB / TiB1,000,000,000,0001,099,511,627,7769.95%
PB / PiB1,000,000,000,000,0001,125,899,906,842,62412.59%

Line speeds in megabytes per second

Line speeds in megabytes per second
Line speed (Mbps)MB/sGB per hour
101.254.5
253.12511.25
506.2522.5
10012.545
30037.5135
50062.5225
1,000125450

Time for common file sizes at full line speed

Time for common file sizes at full line speed
File size50 Mbps100 Mbps500 Mbps1 Gbps
1 GB2 min 40 s1 min 20 s16 s8 s
5 GB13 min 20 s6 min 40 s1 min 20 s40 s
50 GB2 h 13 min 20 s1 h 6 min 40 s13 min 20 s6 min 40 s
100 GB4 h 26 min 40 s2 h 13 min 20 s26 min 40 s13 min 20 s

Common advertised capacities

Common advertised capacities
Sold asBytesGiB
64 GB64,000,000,00059.6
128 GB128,000,000,000119.21
256 GB256,000,000,000238.42
500 GB500,000,000,000465.66
512 GB512,000,000,000476.84
1 TB1,000,000,000,000931.32
2 TB2,000,000,000,0001,862.65
4 TB4,000,000,000,0003,725.29

How it works

Two systems share the same names. In the decimal (SI) system a kilobyte is 1,000 bytes, a megabyte is 1,000 kilobytes and a gigabyte is 1,000 megabytes. So 1 GB is 1,000 MB. Hard drive and phone makers, networks and mobile data plans use this system. In the binary system each step is 1,024, and the units are written KiB, MiB, GiB and TiB (kibibyte, mebibyte, gibibyte, tebibyte). So 1 GiB is 1,024 MiB. Many operating systems use the binary system for memory and file sizes, but print GB for it.

The first tab converts between bytes, KB, MB, GB, TB and PB with a select for the system, plus bits (8 bits make a byte). The second tab turns a line speed in megabits per second into megabytes per second by dividing by 8. The third tab estimates how long a download takes: the size in bits divided by the speed in bits per second. The fourth tab shows why a drive sold as 500 GB reports about 465 GiB.

Network speeds are quoted in bits (a lowercase b in Mbps) and file sizes in bytes (an uppercase B in MB). A 100 Mbps line moves at most 12.5 megabytes per second.

Check it by hand: in decimal units 1 GB = 1,000 MB, so 2,500 MB ÷ 1,000 = 2.5 GB. In binary units 1 GiB = 1,024 MiB, so 2,500 ÷ 1,024 = 2.44 GiB. Speeds are in bits: 100 Mbps ÷ 8 = 12.5 MB/s, so a 5 GB file takes 5,000 ÷ 12.5 = 400 s, which is 6 min 40 s. A 500 GB drive holds 500,000,000,000 bytes, and ÷ 1,073,741,824 = 465.66 GiB.

Decimal: 1 KB = 1000 B, 1 MB = 1000 KB, 1 GB = 1000 MB
Binary: 1 KiB = 1024 B, 1 MiB = 1024 KiB, 1 GiB = 1024 MiB
MB/s = Mbps ÷ 8    Time (s) = size in bits ÷ speed in bits per second
Sources: BIPM SI Brochure (decimal prefixes), IEC 80000-13 (binary prefixes)

Worked example

2,500 MB ÷ 1,000 = 2.5 GB in decimal. In binary, 2,500 MiB ÷ 1,024 = 2.441406 GiB.

100 Mbps ÷ 8 = 12.5 MB/s. A 5 GB file at that speed is 40,000 megabits ÷ 100 = 400 seconds, which is 6 min 40 s.

A 500 GB drive holds 500,000,000,000 bytes. Divided by 1,073,741,824 that is 465.66 GiB, so the drive is not short: the two sides count differently.

Good to know

  • The download time is a best case estimate. It ignores protocol overhead, server limits, wi-fi and congestion, which is why the tab has a share-of-the-line field. It uses decimal sizes and speeds.
  • The drive tab shows the unit difference only. Formatting, the file system and a hidden recovery partition take further space.
  • Some software does not print KiB or MiB and shows GB for binary sizes. Check which system the number you are comparing uses.

Questions people ask

How many MB are in a GB?

In the decimal system used by drive makers and networks, 1 GB is 1,000 MB. In the binary system, 1 GiB is 1,024 MiB. Many computers show 1,024.

How do I convert MB to GB?

Divide the megabytes by 1,000 (or 1,024 for binary). 2,500 MB is 2.5 GB, or 2.44 GiB.

How do I convert Mbps to MB/s?

Divide by 8, because there are 8 bits in a byte. 100 Mbps is 12.5 MB/s and 1 Gbps is 125 MB/s.

Why does my 500 GB drive show only 465 GB?

The maker counts 500,000,000,000 bytes. The system divides by 1,073,741,824 per GiB and shows 465.66, often labelled GB. No space is missing.

How many KB are in a MB?

1,000 in the decimal system (1 MB = 1,000 KB) and 1,024 in the binary system (1 MiB = 1,024 KiB).

Why does a 500 GB drive show about 465 GB on my computer?

The maker counts 1 GB as 1,000,000,000 bytes, while the computer divides by 1,073,741,824. 500 GB is 465.66 GiB, about 6.9% less.

Part of the guide: Unit converters: length, weight, area, volume, temperature and more

Formulas and text last checked on 14 October 2026. Everything is calculated in your browser, so nothing you enter is sent or stored. Spotted a mistake? Tell us and we will fix it.