Skip to content
AllCalcHub

Data Storage Converter

Convert bits, bytes, kilobytes, megabytes, gigabytes and terabytes, in decimal (GB) or binary (GiB) units.

About the Data Storage Converter

Storage makers use decimal units: 1 GB = 1,000,000,000 bytes. Many operating systems count in binary units of 1,024: 1 GiB = 1,073,741,824 bytes. That's why a “1 TB” drive shows as about 931 GB (really GiB) in Windows.

A byte is 8 bits. Internet speeds are in bits; file sizes are in bytes.

The formula

Result = Value × (size of the “from” unit ÷ size of the “to” unit)

1 bit
1 bit
1 B
8 bit
1 kB
8,000 bit
1 MB
8,000,000 bit
1 GB
8,000,000,000 bit
1 TB
8,000,000,000,000 bit

Every data size unit is converted through bit using its exact definition.

Common conversions

FromTo
1 GB1,000 MB
1 TB1,000 GB
1 GB0.9313225746 GiB
1 TB0.9094947018 TiB
1 GiB1.073741824 GB
1 MB1,000 kB

How to read your result

  • Units with “i” (KiB, MiB, GiB) are binary, powers of 1,024.

Worked example

Example: 560 gigabyte = 521.5406418 GiB

  1. Inputs: Value: 560; From: Gigabyte (GB); To: Gibibyte (GiB).
  2. Formula: Result = Value × (size of the “from” unit ÷ size of the “to” unit)
  3. Multiply by the number of GiB in one GB 560 × 0.9313225746 = 521.5406418 GiB
  4. Result: 560 gigabyte = 521.5406418 GiB
  5. 1 GB = 0.9313225746 GiB
  6. 1 GiB = 1.073741824 GB

Questions people ask

Why does my 1 TB drive show 931 GB?

1 TB is 10¹² bytes. Windows divides by 1,024³ but labels the result GB, so you see 931.32.

How many MB are in a GB?

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

Sources