DEV Community

Potnuru Shivaji
Potnuru Shivaji

Posted on

Difference between Gb and Gib ?

When buying disk drives, 1 GB is regularly characterized as 1,000,000,000 bytes. Notwithstanding, when seen by a working OS, the limit showed is frequently not as much as this. For instance, another 1 TB hard drive would be accounted for by the OS as 931 GB (this is 931 GiB). GiB (Gibibytes) is a standard unit utilized in the field of information handling and transmission and is characterized as base 1024 as opposed to base 1000.

Example: 1 GB is defined as 1000³ bytes, whereas 1 GiB is defined as 1024³ bytes.

Units of Measure & Bytes

  1. Kilobyte (KB) 1000¹ = 1,000
  2. Megabyte (MB) 1000² = 1,000,000
  3. Gigabyte (GB) 1000³ = 1,000,000,000
  4. Terabyte (TB) 1000⁴ = 1,000,000,000,000
  5. Petabyte (PB) 1000⁵ = 1,000,000,000,000,000
  6. Kibibyte (KiB) 1024¹ = 1,024
  7. Mebibyte (MiB) 1024² = 1,048,576
  8. Gibibyte (GiB) 1024³ = 1,073,741,824
  9. Tebibyte (TiB) 1024⁴ = 1,099,511,627,776
  10. Pebibyte (PiB) 1024⁵ = 1,125,899,906,842,624

How is this converted?

GB to GiB

Multiply by (1000³ / 1024³), equivalent to 0.931323

Divide by this value to go from GiB to GB

TB to TiB

Multiply by (1000⁴ / 1024⁴), equivalent to 0.909495

Divide by this value to go from TiB to TB

GiB to TiB

Divide by 1024

Multiply by 1024 to go from TiB to GiB

GiB to TB

Convert into GB by dividing by 0.931323, then divide by 1000 to get into TB

Hope you like this Post :) & learned something new.

Top comments (0)