How to Convert Bytes to Gigabytes (B to GB)
Data conversions explain why a 1 TB drive shows less space on your computer and help compare mobile plans sold in gigabytes. This guide shows how to convert bytes into gigabytes by hand, with examples and a quick-reference table.
The conversion
To convert bytes to gigabytes, multiply the value by 1.000000e-09. To go the other way, divide by the same number (or multiply by 999,999,999.9999998808). Because the factor is tiny, scientific notation keeps the numbers manageable.
Gigabytes = bytes × 1.000000e-09
Worked examples
- 3 B = 3.000000e-9 GB
- 12.5 B = 1.250000e-8 GB
- 75 B = 7.500000e-8 GB
Bytes to Gigabytes table
| Bytes | Gigabytes |
|---|---|
| 1 B | 1.000000e-9 GB |
| 2 B | 2.000000e-9 GB |
| 5 B | 5.000000e-9 GB |
| 10 B | 1.000000e-8 GB |
| 20 B | 2.000000e-8 GB |
| 25 B | 2.500000e-8 GB |
| 50 B | 5.000000e-8 GB |
| 100 B | 1.000000e-7 GB |
| 250 B | 2.500000e-7 GB |
| 500 B | 5.000000e-7 GB |
| 1,000 B | 1.000000e-6 GB |
Common questions
Is B to GB exact?
The factors used here are the internationally defined values where they exist; results are rounded for display only.
How do I convert back?
Use the Gigabytes to Bytes converter.
Mistakes to avoid
Forgetting squared and cubed units
Area and volume factors are the length factor squared or cubed, so 1 m² is about 10.76 sq ft, not 3.28.
Dropping the units
A bare number without a unit is easy to misread later. Always write the unit with the result.
Mixing similar-sounding units
US and imperial gallons, pints and tons are different sizes, and decimal kilobytes differ from binary kibibytes.
Background
Many conversion factors are exact by definition. The inch has been defined as exactly 2.54 centimetres since 1959, and the pound as exactly 0.45359237 kilograms, so conversions involving them can be as precise as you need.
Writing the units next to every number while you work is the simplest way to avoid mistakes. If the units do not cancel to leave the one you want, the calculation is set up wrongly.
A conversion table is handy for common values, but a calculator is faster and avoids interpolation errors for anything in between.
For any value, use the Bytes to Gigabytes Converter or browse all data storage converters.
Run your own numbers: Bytes to Gigabytes Converter