ShreePrati logoShreePrati
ConvertersDeveloper

Data Storage Converter

Convert between digital storage units — bytes, kilobytes, megabytes, gigabytes and terabytes.

1 MB equals

0.001 GB

How it works

Enter a size and choose your units. Both decimal units (KB, MB, GB — powers of 1000) and binary units (KiB, MiB, GiB — powers of 1024) are supported so you can convert between the two systems.

Decimal vs binary

Storage is often sold using decimal units (1 GB = 1,000,000,000 bytes) while operating systems report binary units (1 GiB = 1,073,741,824 bytes). That is why a "1 TB" drive shows as about 931 GiB.

Units you can convert

The converter includes eight units. Each one is stored as a fixed number of bytes, and every result is worked out from those values:

  • Byte (B): 1 byte
  • Kilobyte (KB): 1,000 bytes
  • Megabyte (MB): 1,000,000 bytes
  • Gigabyte (GB): 1,000,000,000 bytes
  • Terabyte (TB): 1,000,000,000,000 bytes
  • Kibibyte (KiB): 1,024 bytes
  • Mebibyte (MiB): 1,048,576 bytes
  • Gibibyte (GiB): 1,073,741,824 bytes

How the result is calculated

Your value is multiplied by the size of the starting unit in bytes, then divided by the size of the target unit in bytes: result = value × from-unit ÷ to-unit. For 1 TB to GiB that is 1,000,000,000,000 ÷ 1,073,741,824, which shows as 931.322575.

Results are rounded to at most six decimal places and trailing zeros are removed, so 128 GB in GiB shows as 119.20929 rather than 119.209290. Very small results switch to scientific notation: 1 byte in terabytes appears as 1.000000e-12.

Step by step

  1. Type the size you want to convert. Decimals are accepted; negative values are not.
  2. Choose the unit you are converting from.
  3. Choose the unit you want the answer in. The result updates as you type.
  4. Use the swap button to reverse the direction without retyping.
  5. Copy the result to paste it elsewhere, or reset to go back to 1 MB to GB.

Worked examples

  • 500 MB is 0.5 GB.
  • A "256 GB" phone or SSD is 238.418579 GiB, close to what the operating system reports.
  • A "2 TB" external drive is 1862.645149 GiB.
  • A 4.7 GB single-layer DVD holds 4482.269287 MiB.
  • 1 GiB of memory is 1.073742 GB, and 1 MiB is 1048.576 KB.

Which unit system to use

Use decimal units (KB, MB, GB, TB) when reading product boxes, drive specifications, cloud storage plans and mobile data allowances, which are almost always quoted in powers of 1000. Use binary units (KiB, MiB, GiB) for memory sizes and for what many operating systems display. Windows File Explorer, for example, calculates sizes in powers of 1024 but labels them KB, MB and GB, so a value Windows calls "GB" matches GiB here. macOS reports file and drive sizes in decimal units.

The gap between the two systems grows at every step: about 2.4% at kilo, 4.9% at mega and 7.4% at giga. That is why the difference is barely noticeable for small files but obvious on large drives.

Quick reference

  • 1 GB = 1000 MB, while 1 GiB = 1024 MiB.
  • 1 TB = 1000 GB = 931.322575 GiB.
  • 1 MB = 0.953674 MiB, and 1 KB = 0.976563 KiB.
  • 64 GB = 59.604645 GiB.

For a quick mental estimate, take about 7% off a GB figure to get GiB, or add about 7% to a GiB figure to get GB. Use the converter when you need the exact number.

Limits to keep in mind

Bits are not included, so divide a value in bits by 8 to get bytes first: 100 megabits is 12.5 MB. This tool converts sizes only, not transfer speeds or download times. The largest units available are TB and GiB; there is no petabyte or tebibyte (TiB), so very large values are best entered in TB. Conversions run in your browser, so nothing you type is sent anywhere.

Frequently Asked Questions

Manufacturers use decimal GB while your OS uses binary GiB. Convert between them here to see the difference.

Related Tools