Data Storage / GB → B
Convert Gigabytes to Bytes
Convert bit and byte counts with explicit decimal and binary prefixes. Convert Gigabytes (GB) to Bytes (B). Find the formula, worked examples, unit definitions, and practical guidance below.
How to convert gigabytes to bytes
One byte is 8 bits. Decimal kilo/mega/giga use powers of 1000; binary kibi/mebi/gibi use powers of 1024. Marketing capacity and operating-system displays can therefore differ.
Use x for the value in GB, b for the intermediate value in B, and y for the result in B.
B = GB × 1000000000
Worked examples
10 GB ≈ 10000000000 B
Step 1: (10 × 1000000000) ≈ 10000000000 B.
Step 2: 10000000000 ÷ 1 ≈ 10000000000 B.20 GB ≈ 20000000000 B
Step 1: (20 × 1000000000) ≈ 20000000000 B.
Step 2: 20000000000 ÷ 1 ≈ 20000000000 B.
Results are rounded to 12 significant digits. Converting units does not increase the precision of the original measurement. Very large or small values outside JavaScript’s finite numeric range are rejected.
About Gigabytes
Gigabytes (GB) measures data storage under the conventions above. The base value in B is (x × 1000000000), where x is the numerical value in GB. Factors shown here are rounded for display; calculations use the stored factor.
About Bytes
Bytes (B) measures data storage under the conventions above. The base value in B is (x × 1), where x is the numerical value in B. Factors shown here are rounded for display; calculations use the stored factor.
Definitions and sources
For a different quantity or formatting task, see the related other conversion tools.
Gigabytes to bytes reference table
| Gigabytes (GB) | Bytes (B) |
|---|---|
| 1 | 1000000000 |
| 5 | 5000000000 |
| 10 | 10000000000 |
| 25 | 25000000000 |
| 50 | 50000000000 |
| 100 | 100000000000 |
| 1000 | 1000000000000 |
Browse every data storage conversion →