Blog
GB vs GiB: How to Convert Data Storage Units Correctly
GB and GiB are not the same unit. The difference comes from whether the unit is based on powers of 1,000 or 1,024, and that distinction explains many storage-display surprises.
Why GB and GiB are different
A gigabyte, GB, is a decimal unit: 1 GB = 1,000,000,000 bytes. A gibibyte, GiB, is a binary unit: 1 GiB = 1,073,741,824 bytes, which is 1,024³. Both are legitimate units, but they describe different quantities of bytes.
The difference is small at the individual unit level but becomes noticeable for large drives. A storage device marketed as 500 GB contains 500 billion bytes. Software displaying the same bytes in GiB will show a number below 500 because each GiB contains more bytes than each decimal GB.
The conversion formulas
Using the conversion, 500 GB is approximately 465.66 GiB. Conversely, 500 GiB is approximately 536.87 GB. These values are not interchangeable because the units have different definitions.
For quick estimates, remember that 1 GB is about 0.9313 GiB. The exact conversion should be used when the difference matters, such as capacity planning or comparing technical specifications.
GiB = GB × 1,000,000,000 ÷ 1,073,741,824 GB = GiB × 1,073,741,824 ÷ 1,000,000,000
Why a new drive may show less space
Suppose a drive is sold as 1 TB using decimal units. The device contains 1,000,000,000,000 bytes. When a computer reports capacity using binary units, that same byte count is about 931.32 GiB. The apparent reduction is not necessarily missing capacity; it is a unit-definition difference.
Formatting and reserved system space can reduce the user-available capacity further. That is a separate issue from the GB/GiB conversion. A good comparison should therefore distinguish advertised raw capacity, displayed capacity, and usable capacity.
Worked conversions
The table uses the exact byte definitions for the conversion and rounds the displayed result. The same relationship applies to larger decimal capacities such as terabytes and petabytes, although the unit prefixes should be handled consistently.
Do not use a rough percentage when a precise capacity decision matters. The exact conversion is easy to perform and avoids accumulating rounding differences across multiple storage devices.
| Decimal capacity | Approximate binary equivalent |
|---|---|
| 100 GB | 93.13 GiB |
| 250 GB | 232.83 GiB |
| 500 GB | 465.66 GiB |
| 1,000 GB | 931.32 GiB |
Binary prefixes beyond GiB
The binary system continues with MiB, GiB, TiB and PiB. Each step is 1,024 times the previous binary unit. Decimal units use kB, MB, GB and TB, with each step 1,000 times the previous decimal unit.
Modern technical documentation may use the correct binary names, while older software may use 'GB' even when its calculation is binary. When comparing two numbers, the unit label and the byte count are more reliable than the label alone.
Storage conversion mistakes
The biggest mistake is treating 1 GB as exactly 1 GiB. Another is converting a number from GB to GiB by dividing by 1,024, which is not the correct direct conversion because GB and GiB are defined by different powers of 1,000 and 1,024.
Also avoid mixing decimal and binary units in a storage budget. If a project requires 8 TB of decimal storage, convert all devices to decimal TB before comparing them, or convert everything to bytes. Consistency makes the comparison transparent.
How to check a conversion
Convert the result back using the reverse formula. If 500 GB becomes about 465.66 GiB, converting 465.66 GiB back to GB should return approximately 500, allowing for rounding.
A second check is to compare the byte definitions. One GB must represent fewer bytes than one GiB. Therefore, a fixed number of bytes should always have a smaller numerical value when expressed in GiB than in GB.
When the distinction matters
The distinction matters when buying storage, estimating backup capacity, comparing cloud quotas, interpreting operating-system displays, and planning datasets. For casual descriptions, people may use GB loosely, but technical decisions benefit from explicit units.
If a vendor or application gives an unclear label, look for the underlying byte count or documentation. A precise byte value resolves the ambiguity regardless of how the interface names the unit.
Storage planning should include usable capacity
When planning a backup system, leave room for file-system overhead, snapshots, duplicate copies and future growth. Converting GB to GiB answers a unit question, but it does not by itself tell you how much capacity should be purchased.
Write the requirement in bytes or one clearly defined unit, then compare all storage devices on that same basis. If a specification uses TB while software displays TiB, perform the conversion once and document it. This avoids repeatedly explaining an apparent capacity difference to different team members.
A byte-based way to remove ambiguity
When a storage specification is confusing, return to bytes. A 1,000 GB decimal drive contains 1,000,000,000,000 bytes. Divide that byte count by 1,073,741,824 to express it in GiB, giving about 931.32 GiB. The same byte count cannot simultaneously equal 1,000 GiB.
This byte-first method is especially helpful when software, cloud providers and hardware vendors use different unit labels. Convert the common byte quantity rather than guessing from displayed numbers.
Storage labels in practical comparisons
When comparing a cloud plan with a physical drive, first write the capacity of both in bytes or the same unit. A plan offering 2 TB decimal capacity and a drive advertised as 2 TB decimal are comparable on the unit basis, even though the software displaying them may show a different number in TiB. The display convention should not be mistaken for a change in the underlying byte count.
A final unit check
If a capacity is given in GB, keep the decimal definition visible. If it is given in GiB, keep the binary definition visible. A short note beside a spreadsheet column can prevent a later user from assuming the two labels mean the same number of bytes.
Frequently asked questions
Is 1 GB equal to 1 GiB?
No. 1 GB is 1,000,000,000 bytes, while 1 GiB is 1,073,741,824 bytes.
How many GiB is 500 GB?
Approximately 465.66 GiB using the standard decimal and binary definitions.
Why does my 1 TB drive show about 931 GiB?
Because 1 TB is 1,000,000,000,000 bytes, which is about 931.32 GiB before formatting and reserved-space effects.
Conclusion
GB and GiB describe different byte quantities. Once the definitions are clear, the apparent storage mismatch becomes a straightforward unit conversion. Use explicit units and convert everything to the same basis before making capacity comparisons.
Figures in this article are illustrative. Results depend on your own rates, fees, taxes and circumstances, and are for educational and planning purposes rather than financial advice.