↑↓ to move ↵ to open Esc to close Browse all tools

Data Storage Converter

Convert gigabytes to megabytes, terabytes to gigabytes, or the decimal GB on the box to the binary GiB your computer may show.

Embed

Convert data storage

 
0

All data storage units

Tap a unit to convert into it.

Runs on your device. Nothing you enter is sent to a server.

Hand-checked listFree Cloud StorageHow much free space 13 cloud storage services and self-hosted options give, with file, device and sharing limits.

Data Storage Converter by Freebiefy, free online tools · Privacy · Legal notice

Embed this tool on your site

Paste this code into your page. The tool runs in the visitor's browser, free and without signup. The height adjusts to the content. All tools you can embed

Bits, bytes, decimal and binary units

A byte is 8 bits. Larger sizes come in two families. The decimal units KB, MB, GB and TB step up by 1,000, like other metric prefixes. Apple, for example, states storage this way (1 GB = 1 billion bytes), and network speeds use decimal units too. The binary units KiB, MiB, GiB and TiB step up by 1,024, which matches how computer memory is addressed.

Microsoft's documentation counts 1 KB as 1,024 bytes in Windows, so a new 1 TB drive can show up there as about 931 GB. Apple counts in decimal units; it says only iOS 10 and earlier and OS X Leopard and earlier used the binary system.

Internet speeds are given in bits per second. Divide Mbps by 8 to get megabytes per second: a 100 Mbps connection downloads at most about 12.5 MB per second. The kilobyte vs kibibyte guide explains where the two unit families came from and why a 1 TB drive shows 931 GB.

Common data size conversions

FromEquals
1 gigabyte1,000 megabytes
1 terabyte1,000 gigabytes
1 terabyte931.3225746 gibibytes
1 gibibyte1.073741824 gigabytes
1 megabyte0.9536743164 mebibytes
1 byte8 bits
1 gigabyte8,000,000,000 bits

Advertised drive size to binary GiB

Gigabytes (GB)Gibibytes (GiB)
1614.901
3229.802
6459.605
128119.21
256238.42
500465.66
512476.84
1,000931.32
2,0001,862.6
4,0003,725.3

Where the conversions come up

You run into this when a 128 GB memory card shows up as 119 GB in software that counts in binary, when a 4.7 GB movie will not fit on a "4 GB" USB stick, or when an upload form says the file size limit is 25 MB and your photo is 26,214,400 bytes. Download times are another one: a 50 GB game on a 100 Mbps line is 50,000 megabytes at 12.5 megabytes per second, so a little over an hour.

Shortcuts: for decimal units move the decimal point three places per step. For binary units multiply by 1,024 each step, or take 93 percent of the decimal number for a rough binary figure (1,000 GB is about 931 GiB). And 8 bits make a byte, so divide any speed in megabits by 8 to get megabytes.

How to use it

  1. 1Pick the unit on the label or in the error message on the left, and the unit you want on the right. Decimal (GB) and binary (GiB) units sit next to each other in the list.
  2. 2Type the size. Either side works, and swap reverses the conversion.
  3. 3Read the result and the list of every other unit below it, from bits to tebibytes. Copy the value or a link.

Frequently asked questions

Why does my 1 TB drive only show 931 GB?

The drive has 1,000,000,000,000 bytes, which is 1 TB in decimal units. Software that counts 1 KB as 1,024 bytes, as Microsoft's documentation does for Windows, divides by 1,024 three times and gets about 931, which may still be labeled GB. No space is missing.

Is a kilobyte 1,000 or 1,024 bytes?

Officially 1,000. The 1,024-byte unit is called a kibibyte (KiB). In practice, many programs still use KB for 1,024 bytes.

What is the difference between Mbps and MB/s?

Mbps is megabits per second, MB/s is megabytes per second. One byte has 8 bits, so 8 Mbps equal 1 MB/s.

How many megabytes are in a gigabyte?

1,000 MB in decimal units, or 1,024 MiB in a GiB in binary units.

How many bytes are in a megabyte?

1,000,000 bytes. The binary cousin, a mebibyte (MiB), has 1,048,576 bytes, and many programs label that MB too.