How Many Bytes Are in a Gigabyte? GB vs. GiB
A gigabyte is 1,000,000,000 bytes; a gibibyte is 1,073,741,824. Why a 1 TB drive shows as 931 GB in Windows, and a converter that does both.
A gigabyte (GB) is 1,000,000,000 bytes (10⁹). A gibibyte (GiB) is 1,073,741,824 bytes (2³⁰), about 7.4% more. Drive makers use GB; Windows calculates sizes in GiB but labels them “GB”, which is why a 1 TB drive appears as about 931 GB.
500 GB = 500,000,000,000 bytes
- Bytes
- GiB
- MB
- MiB
- TB
- TiB
A drive sold as 500 GB shows as about 465.66 “GB” on systems that count in powers of 2 (Windows Explorer), and as 500 GB on macOS, which counts in powers of 10.
Two definitions of a gigabyte
| Unit | Bytes | Power |
|---|---|---|
| kilobyte (kB) | 1,000 | 10³ |
| kibibyte (KiB) | 1,024 | 2¹⁰ |
| megabyte (MB) | 1,000,000 | 10⁶ |
| mebibyte (MiB) | 1,048,576 | 2²⁰ |
| gigabyte (GB) | 1,000,000,000 | 10⁹ |
| gibibyte (GiB) | 1,073,741,824 | 2³⁰ |
| terabyte (TB) | 1,000,000,000,000 | 10¹² |
| tebibyte (TiB) | 1,099,511,627,776 | 2⁴⁰ |
The SI prefixes kilo, mega and giga mean powers of 10 in every other field, so the IEC introduced kibi, mebi and gibi in 1998 for the powers of 2 that memory naturally uses. NIST endorses both sets. In practice “GB” is still used loosely for either, which is where confusion starts.
Why your new drive looks smaller
A drive sold as 1 TB holds 1,000,000,000,000 bytes. Divide by 1,073,741,824 bytes per GiB and you get 931.32, which Windows File Explorer shows as “931 GB”. Nothing is missing; the same bytes are counted in larger units. Seagate’s support documentation describes exactly this 1 TB → 931 GB case.
| Advertised | Bytes | Shown in binary units |
|---|---|---|
| 16 GB | 16,000,000,000 | 14.90 GiB |
| 256 GB | 256,000,000,000 | 238.42 GiB |
| 500 GB | 500,000,000,000 | 465.66 GiB |
| 1 TB | 1,000,000,000,000 | 931.32 GiB |
| 2 TB | 2,000,000,000,000 | 1,862.65 GiB |
Usable space is lower still after formatting, recovery partitions and the operating system itself, but those are separate deductions.
Which systems use which
- Storage manufacturers label capacity in decimal units (1 GB = 10⁹ bytes).
- macOS and iOS report storage in decimal units, according to Apple, so a 256 GB iPhone’s capacity is shown on the same scale as the box.
- Windows File Explorer divides by 1,024 at each step but writes KB, MB and GB.
- RAM is built in powers of two: a “16 GB” memory module holds 16 GiB (17,179,869,184 bytes).
- Network speeds use decimal prefixes and bits, not bytes. The bit vs. byte guide covers that factor of 8.
Quick conversions
- GB → bytes: multiply by 1,000,000,000.
- GiB → bytes: multiply by 1,073,741,824.
- GB → GiB: multiply by 0.931323 (that is 10⁹ ÷ 2³⁰).
- GiB → GB: multiply by 1.073742.
- MB in a GB: 1,000. MiB in a GiB: 1,024.
The gap grows with each prefix: about 2.4% at kilo, 4.9% at mega, 7.4% at giga and 10% at tera. For everyday file sizes, the gigabyte vs. megabyte comparison estimates how many photos or minutes of video fit, and the bit size converter handles bits, bytes and every prefix.
Sources
- Prefixes for binary multiples — NIST. kibi, mebi, gibi (IEC 60027-2)
- How iOS and macOS report storage capacity — Apple Support
- Storage capacity measurement standards — Seagate
How we made this
Computed and checked by tests. Conversions use exact integer arithmetic (src/lib/calc/units.js), with tests for 1 GB = 1,000,000,000 B, 1 GiB = 1,073,741,824 B and 500 GB = 465.66 GiB. How each operating system labels sizes is taken from Apple's and Seagate's support documentation.
Performed by Claude, an AI assistant working in the BinConvert repository (Node.js 25, Python 3.14.3), November 16, 2026.
This article was drafted with AI assistance. Every example, calculation and command output on this page was re-run or checked before release; every figure in the tables was recomputed. Review: automated test suite and source check, November 16, 2026.
Spotted an error? Tell us and we will correct it.