Convert Bytes to Gigabytes
Quick presets:
Keyboard shortcut: press S to swap units.
Contextual examples
- 1 Bytes = 1.00000e-9 Gigabytes
- 10 Bytes = 1.00000e-8 Gigabytes
- 100 Bytes = 1.00000e-7 Gigabytes
- 1000 Bytes = 0.00000100000 Gigabytes
How many bytes in a gigabytes?
In 1 bytes there are 1.00000e-9 gigabytes. Meanwhile in 1 gigabytes there are 1,000,000,000 bytes. Keep reading to learn more about each unit of measure and how they are calculated. Or just use the Gigabytes to Bytes calculator above to convert any number.
* Values rounded to 6 decimal places for readability
How to convert bytes to gigabytes?
To convert bytes to gigabytes (GB), you divide by a fixed number of bytes per GB. The key is to use the right system.
Binary (most common in computing):
1 GB = 1,073,741,824 bytes (that’s 1024³)
Formula: GB = bytes ÷ 1,073,741,824Decimal (often used by drive makers):
1 GB = 1,000,000,000 bytes (that’s 1000³)
Formula: GB = bytes ÷ 1,000,000,000
Example (binary):
2,147,483,648 bytes ÷ 1,073,741,824 = 2 GB
For quick checks, remember: divide bytes by 1024 three times to get GB in the binary system.
Frequently asked questions
How many bytes are in 1 gigabyte (GB)?
It depends on the system you use.
- Decimal (base-10): 1 GB = 1,000,000,000 bytes
- Binary (base-2): 1 GB (often shown as 1 GiB) = 1,073,741,824 bytes
Storage makers often use decimal. Many operating systems report space using binary math.
What’s the difference between GB and GiB?
GB means gigabyte and follows decimal math (powers of 10).
GiB means gibibyte and follows binary math (powers of 2).
- 1 GB = 1,000,000,000 bytes
- 1 GiB = 1,073,741,824 bytes
This difference is why a “1 TB” drive can show less space on your computer.
How do you convert bytes to gigabytes (GB)?
Use the right formula for the unit you want.
- Bytes to GB (decimal): bytes ÷ 1,000,000,000
- Bytes to GiB (binary): bytes ÷ 1,073,741,824
Always check whether the context uses GB or GiB.
How many gigabytes is 1,000,000,000 bytes?
Using decimal gigabytes:
- 1,000,000,000 bytes = 1 GB
Using binary gigabytes (GiB):
- 1,000,000,000 bytes ≈ 0.931 GiB
How many gigabytes is 1,073,741,824 bytes?
Using binary units:
- 1,073,741,824 bytes = 1 GiB
If you convert that to decimal GB:
- 1,073,741,824 bytes ≈ 1.074 GB
Why do my device and my storage box show different GB values?
Many storage labels use GB (decimal). Many systems show capacity using GiB (binary) but may still display “GB.” That mismatch makes the number look smaller than expected.
Also, formatting and system files take up some space, which lowers the usable total.
How many bytes are in 2 GB, 10 GB, or 100 GB?
In decimal (base-10), multiply by 1,000,000,000:
- 2 GB = 2,000,000,000 bytes
- 10 GB = 10,000,000,000 bytes
- 100 GB = 100,000,000,000 bytes
In binary (GiB), multiply by 1,073,741,824:
- 2 GiB = 2,147,483,648 bytes
- 10 GiB = 10,737,418,240 bytes
- 100 GiB = 107,374,182,400 bytes
How do you convert gigabytes to bytes?
Pick the standard you need:
- GB to bytes (decimal): GB × 1,000,000,000
- GiB to bytes (binary): GiB × 1,073,741,824
This helps when you compare file sizes, storage limits, or data caps.
Are file sizes shown in GB or GiB?
It varies by system and app. Some tools use decimal GB. Others use binary GiB, even if they label it “GB.” If accuracy matters, look for “GiB” or check whether the math matches 1,000,000,000 or 1,073,741,824.
What’s a good rule of thumb for bytes to gigabytes?
For quick estimates, decimal is easy:
- 1 GB ≈ 1 billion bytes
If you’re matching what many computers report for storage, use binary:
- 1 GiB ≈ 1.074 billion bytes
When numbers must match a label or a system readout, stick to the same standard.
Related calculators
How does this converter work?
The Calculate Box tool to convert bytes to gigabytes uses the open source script Convert.js to convert units of measurement. To use this tool, simply type a bytes value in the box and have it instantly converted to gigabytes.