Data Storage Converter

Convert digital storage between bits, bytes, kilobytes, megabytes, gigabytes and terabytes, including the binary KiB, MiB, GiB and TiB. Type a value and see it in every unit. A free, exact data storage converter in your browser.

Make sense of file, drive and data sizes across units. Convert MB to GB, bits to bytes, or decimal gigabytes to binary gibibytes, which is exactly why a drive shows less space than the box claims. Enter one value and read it in every unit, decimal and binary side by side.

  • Exact, standard factors
  • 100% free
  • No sign-up, no app
  • Instant as you type
  • Works offline after first load
Read the guide: How to Convert MB to GB
Convert
0.001GB
1 MB = 0.001 GB

1 MB in every unit

Bit8,000,000 b
Byte1,000,000 B
Kilobyte1,000 KB
Megabyte1 MB
Gigabyte0.001 GB
Terabyte0.000001 TB
Petabyte1.000000e-9 PB
Kibibyte976.5625 KiB
Mebibyte0.95367432 MiB
Gibibyte0.00093132 GiB
Tebibyte9.094947e-7 TiB

How to use it

  1. 1

    Enter a size

    Type the amount you have, such as 500 MB or 2 GB.

  2. 2

    Choose the units

    Set what you are converting from and to, and note decimal (MB) versus binary (MiB).

  3. 3

    Read every unit

    See bits, bytes, KB, MB, GB, TB and their binary equivalents together, and copy any line.

When it comes in handy

Files and drives

Work out how many megabytes are in a gigabyte, or how many files of a size fit on a drive.

Internet and downloads

Convert between bits and bytes to compare a connection speed in megabits with a file size in megabytes.

Coding and storage

Switch between decimal and binary units when a tool reports one and you expect the other.

Instant, exact & 100% in your browser

The conversion runs right here in your browser using exact, standard factors. Nothing you type is sent to a server, there is no sign-up and no limit, and once the page has loaded it keeps working even with no connection.

Frequently asked questions

Why does my hard drive show less space than advertised?
Drive makers count a gigabyte as 1,000,000,000 bytes (decimal), but operating systems often count it as 1,073,741,824 bytes (binary, properly a gibibyte). The drive is the size advertised; your computer is just measuring it in binary units, which makes the number look smaller. This converter shows both so the gap makes sense.
What is the difference between a megabyte and a mebibyte?
A megabyte (MB) is 1,000,000 bytes in the decimal system. A mebibyte (MiB) is 1,048,576 bytes, the binary equivalent. They are close but not equal, and the gap grows at larger sizes, which is the source of a lot of storage confusion. Network speeds use decimal; memory often uses binary.
Why is a megabit different from a megabyte?
A byte is eight bits, so a megabyte is eight times a megabit. Internet speeds are quoted in megabits per second while files are measured in megabytes, which is why a "100 Mbps" line downloads at only about 12.5 MB per second. Dividing the connection speed by eight gives the real download rate.