Skip to contentSkip to the inputSkip to the result

Data size converter

Convert MB, GB and other sizes

Loading tool

Instructions

Data size converter

How to use

  1. Enter a size and choose the units and the base.

Supported input

  • Base 1024 matches memory and file sizes in operating systems; base 1000 matches drive makers and network speeds.
  • Base 1024 results use the binary names (KiB, MiB, GiB).
  • Bits (Kb, Mb, Gb) are always counted in thousands, as line speeds are, and 8 bits make a byte.

Input example

1.5 GB (base 1024)

Result example

1,536 MB

Troubleshooting

  • Values that are not numbers or are out of range are not calculated; the message says what to fix.

Limitations

  • Download time is the theoretical figure at the stated speed; real downloads usually take longer.
  • Mbps counts bits in thousands.

How it works

  • Converts sizes between bytes, KB, MB, GB and TB and kilobits, megabits and gigabits (Kb, Mb, Gb), on a base of 1024 or 1000.

Why a 256 GB phone shows 238 GB, and how to tell MB from MiB

Questions that bring people here

  • A new 256 GB drive shows up as about 238 GB on the computer
  • How long a 10 GB game takes to download on a 500 Mbps connection
  • Why a gigabit connection never downloads faster than 125 MB/s
  • Whether 16 GB of memory is 16,000 or 16,384 MB

Kilo has always meant a thousand

The SI prefixes kilo (k), mega (M) and giga (G) stand for exactly 10³, 10⁶ and 10⁹, and the SI says they should not be used for powers of two. Computer memory, though, comes in powers of two, and for decades a kilobyte was loosely taken as 1,024 bytes. To end the confusion the International Electrotechnical Commission defined separate binary prefixes: kibi (Ki, 2¹⁰), mebi (Mi, 2²⁰), gibi (Gi, 2³⁰) and so on.

With the base set to 1000 the tool uses kB, MB and GB; with 1024 it uses KiB, MiB and GiB. The Korean page keeps the familiar names and adds the binary ones, as in "MB (MiB)", so a copied result says which base it is on.

Worked example: how 256 GB becomes 238 GB

  1. 1The maker’s 256 GB is decimal: 256,000,000,000 bytes.
  2. 2Converted on base 1024 that is 238.4186 GiB. Windows displays this figure labelled "GB", so about 18 GB seem to have vanished.
  3. 3In the same way a 4.7 GB DVD (4,700,000,000 bytes) is 4.3772 GiB, while 16 GB of memory is binary from the start: 16,384 MiB, or 17,179,869,184 bytes.
  4. 4Apple gives OS X Leopard and earlier, and iOS 10 and earlier, as examples of systems that reported binary figures; current macOS and iOS use the same decimal figures as the drive makers. That is why one drive can look different on a Mac and on a Windows PC.

Bytes (B) and bits (b)

Mbps means megabits per second, and eight bits make a byte. Bit units (Kb, Mb, Gb) are always counted in thousands, as line speeds are. One gigabit is 125 MB on base 1000, or 119.2093 MiB on base 1024, so the theoretical ceiling of a gigabit line is 125 MB a second.

Enter 500 as the download speed and 10 GB (base 1000) takes 2 min 40 s, while 10 GiB takes 2 min 52 s. These assume the advertised speed holds throughout; in practice protocol headers carried with the data, Wi-Fi conditions and the server’s own speed make it take longer.

Rules of thumb

  • A capital B is a byte and a small b a bit: 100 MB and 100 Mb differ by a factor of eight.
  • The number on a drive’s box is decimal; memory sizes and Windows Explorer are binary. That covers most cases.
  • On Linux, df -h shows sizes in powers of 1024 and df -H in powers of 1000, so the same disk gives two sets of numbers depending on the flag.
  • A USB stick formatted as FAT32 holds files only up to one byte short of 4 GiB (4,294,967,296 bytes). If a 4.7 GB video will not copy to a stick with plenty of free space, this limit is the reason, not the capacity.

Checked

Frequently asked questions

Why does a 1 TB drive show as 931 GB?

Drive makers count 1 TB as 10¹² bytes (base 1000), while Windows counts in base 1024. 10¹² ÷ 1024³ ≈ 931.32, so no space is missing; the unit is different.

How long does a 1 GB file take on a 100 Mbps connection?

Enter 100 as the download speed and the time is shown. Mbps is megabits per second; divide by 8 to get 12.5 MB per second. Taking 1 GB as 1,000 MB, that is 1,000 ÷ 12.5 = 80 seconds (1 min 20 s) in theory, and usually longer in practice.

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

Both are used. In base 1024 it is 1,024 MB (strictly MiB); in base 1000 it is 1,000 MB. Switch the base to compare the two.