Data storage converter

Gigabytes to gibibytes converter (GB to GiB)

1 gigabyte (GB) equals about 0.9313 gibibytes (GiB), exactly 0.931322574615478515625 GiB.

GB

1 gigabyte equals

0.931322574615gibibytes

GiB = GB ÷ 1.073741824

1 GB ÷ 1.073741824 = 0.931322574615 GiB

Windows shows GiB under the label “GB”

1 GB = 0.931322574615 GiB1 GiB = 1.073741824 GB

To convert gigabytes to gibibytes, divide by 1.073741824: GiB = GB ÷ 1.073741824. So 256 GB is 238.42 GiB and a 1 TB drive (1,000 GB) is 931.32 GiB, which is why Windows shows it as "931 GB".

By Hira Noor, mathematicianLast reviewed Report a problem

Gigabytes to gibibytes formula

Formula

GiB = GB ÷ 1.073741824

Divide a value in gigabytes by 1.073741824 to get gibibytes. To go the other way, multiply by 1.073741824. The divisor 1.073741824 is exact, because both units are defined exactly.

Worked examples

  1. Convert 1 GB to GiB

    10⁹ B ÷ 1,073,741,824 B = 0.931322574615478515625 GiB

    Both units are whole numbers of bytes and 2³⁰ is a power of two, so the decimal ends after 21 digits. For everyday use, 0.9313 GiB is enough.

  2. Why a 1 TB drive shows 931 GB

    1,000 GB ÷ 1.073741824 = 931.322574615 GiB

    Windows divides by 1,024³ but prints "GB", so the drive appears as about 931 GB. No space is missing; only the unit changed.

  3. Convert a 256 GB SSD or phone to GiB

    256 GB ÷ 1.073741824 = 238.418579102 GiB

    Storage is sold in decimal GB, so a 256 GB device shows about 238 GiB before the operating system takes any space.

  4. Convert 512 GB to GiB

    512 GB ÷ 1.073741824 = 476.837158203 GiB

    A 512 GB SSD appears as about 476.8 GB in Windows.

  5. Convert 32 GB to GiB

    32 GB ÷ 1.073741824 = 29.802322388 GiB

    A 32 GB USB stick or memory card shows about 29.8 GB in Windows.

  6. Convert 16 GiB of RAM back to GB

    16 GiB × 1.073741824 = 17.179869184 GB

    Memory goes the other way: RAM is built in binary sizes, so a "16 GB" kit is 16 GiB. Use the gibibytes to gigabytes converter for that direction.

Advertised size vs what Windows shows

Drives, phones, memory cards and USB sticks are sold in decimal gigabytes. Windows divides by 1,024³ and labels the result "GB", so it shows the GiB figure. Formatted capacity is a little lower again, because the file system takes some space. Values rounded to 6 significant digits.
Device as soldGigabytes (GB)Gibibytes (GiB)
32 GB USB stick or memory card3229.8023
64 GB USB stick or memory card6459.6046
128 GB phone or USB stick128119.209
256 GB SSD or phone256238.419
500 GB SSD500465.661
512 GB SSD512476.837
1 TB drive (1,000 GB)1,000931.323
2 TB drive (2,000 GB)2,0001,862.65
4 TB drive (4,000 GB)4,0003,725.29
8 TB drive (8,000 GB)8,0007,450.58

What are gigabytes and gibibytes?

Gigabyte (GB)

A gigabyte is 1,000,000,000 bytes (10⁹ B). Storage devices and data plans are sold in decimal gigabytes; the binary gibibyte (GiB) is about 7.4% larger.

Gibibyte (GiB)

A gibibyte is 1,073,741,824 bytes (2³⁰ B), exactly 1.073741824 GB. Windows reports drive and file sizes in gibibytes but labels them GB.

The gigabyte uses the SI prefix giga, so 1 GB = 10⁹ = 1,000,000,000 bytes. The gibibyte uses the binary prefix gibi, defined by the IEC in 1998 and now part of IEC 80000-13, so 1 GiB = 2³⁰ = 1,073,741,824 bytes. A gibibyte is therefore about 7.4% larger than a gigabyte, and any number of GB is a smaller number of GiB. Dividing by 1.073741824 is exact, because both units are fixed counts of bytes.

The conversion matters most when you compare a label with a screen. Drive makers and phone makers count in decimal GB, and so do macOS since Snow Leopard and iOS since iOS 11. Windows divides by 1,024³ and still prints "GB". That is why a 1 TB drive shows about 931 GB, a 512 GB SSD about 476 GB and a 128 GB phone about 119 GB, with no space missing. The gap grows with each prefix step, from 7.4% at giga to about 10% at tera, so a 2 TB drive appears as about 1.82 "TB".

Cloud and container tools often name both units. Kubernetes reads a memory value of 1G as 1,000,000,000 bytes and 1Gi as 1,073,741,824 bytes, and AWS lists EC2 instance memory in GiB. When a plan or disk is quoted in GB and a limit in GiB, divide the GB figure by 1.073741824 before you compare them. Watch the case of the b too: Gb is a gigabit, one eighth of a gigabyte.

Binary prefixes are powers of 2: a gibibyte is 2³⁰ bytes. The binary calculator and the number base converter work in base 2 and base 16. For download times, use the data transfer rate converter.

Practice problems

Convert 100 GB to gibibytes.

100 ÷ 1.073741824 = 93.1322574615 GiB, about 93.13 GiB.

A phone is sold as 128 GB. About how much does Windows show before formatting?

128 ÷ 1.073741824 = 119.209 GiB, so about 119 GB as Windows labels it.

A cloud disk is 50 GB and your quota is 48 GiB. Does it fit?

50 ÷ 1.073741824 = 46.57 GiB, which is under 48 GiB, so it fits.

Frequently asked questions

How many gibibytes are in 1 gigabyte?

About 0.9313 GiB, exactly 0.931322574615478515625 GiB. A gigabyte is 1,000,000,000 bytes and a gibibyte is 1,073,741,824 bytes, so 1 GB = 10⁹ ÷ 2³⁰ GiB.

How do I convert GB to GiB?

Divide the value in gigabytes by 1.073741824, or multiply by 0.9313225746. For example, 256 GB ÷ 1.073741824 = 238.42 GiB and 500 GB ÷ 1.073741824 = 465.66 GiB.

Are GB and GiB the same thing?

No. 1 GB is 1,000,000,000 bytes and 1 GiB is 1,073,741,824 bytes, so a gibibyte is about 7.4% larger. Windows and some older software label gibibytes as "GB", which is why the two are often mixed up.

What is the difference between 1 GB and 1 GiB?

73,741,824 bytes, which is about 0.0737 GB or 70.3 MiB. GB uses the decimal prefix giga (10⁹) and GiB uses the binary prefix gibi (2³⁰).

Is 1 gigabyte equal to 1 GB?

Yes. GB is the symbol for gigabyte, 10⁹ bytes. The binary unit of a similar size is the gibibyte, whose symbol is GiB.

Is 1 GB equal to 1,024 bytes?

No. 1,024 bytes is 1 kibibyte (KiB). 1 GB is 1,000,000,000 bytes, and 1 GiB is 1,024 × 1,024 × 1,024 = 1,073,741,824 bytes.

Why does my 1 TB drive show only 931 GB?

The drive holds 10¹² bytes, which is 1,000 GB. Windows divides by 1,024³ and shows 931.32 GiB, but labels it GB. Current macOS and iOS count in decimal units and show the same drive as 1 TB; only OS X Leopard and earlier and iOS 10 and earlier reported binary sizes.

What is 512 GB in GiB?

512 GB ÷ 1.073741824 = 476.837158203125 GiB, about 476.84 GiB.

What is 1,024 GB in GiB?

1,024 GB ÷ 1.073741824 = 953.67431640625 GiB, about 953.67 GiB. It is not 1,000 GiB, because 1,024 GB is still a decimal figure.

How do I convert GiB back to GB?

Multiply by 1.073741824. For example, 238.42 GiB × 1.073741824 ≈ 256 GB, and 16 GiB × 1.073741824 = 17.18 GB.

Sources and further reading

  1. Prefixes for binary multiples (opens in a new tab), National Institute of Standards and Technology
  2. IEC 80000-13: Quantities and units, Part 13: Information science and technology, International Electrotechnical Commission
  3. The International System of Units (SI Brochure), 9th edition (opens in a new tab), Bureau International des Poids et Mesures
  4. How storage capacity is measured on Apple devices (opens in a new tab), Apple
  5. Resource Management for Pods and Containers: memory units (opens in a new tab), The Kubernetes Authors
  6. Amazon EC2 instance types (opens in a new tab), Amazon Web Services