How Many Bytes in a Gigabyte?
Quick Answer
There are 1,073,741,824 bytes in a gigabyte (binary) or 1,000,000,000 bytes (decimal).
1 GiB = 2³⁰ = 1,073,741,824 bytes
Understanding the Conversion
One binary gigabyte (GiB) = 2³⁰ = 1,073,741,824 bytes. Decimal gigabyte (GB, used by storage manufacturers) = 10⁹ = 1,000,000,000 bytes. A 256 GB phone has about 238 GiB as reported by iOS/Android due to this difference.
Formula
1 GiB = 2³⁰ = 1,073,741,824 bytes
Common Examples
| Description | Value |
|---|---|
| A 4K movie (compressed) | ≈4–10 GB |
| 1 hour of HD video | ≈1–2 GB |
| A smartphone photo (HEIC) | ≈2–5 MB (500 per GB) |
Quick Reference Table
Use this table for quick conversions between gigabyte and bytes:
| gigabyte | bytes |
|---|---|
| 1 | 1,073,741,824 |
| 2 | 2,147,483,648 |
| 5 | 5,368,709,120 |
| 10 | 10,737,418,240 |
Frequently Asked Questions
How Many Bytes in a Gigabyte?
There are 1,073,741,824 bytes in a gigabyte (binary) or 1,000,000,000 bytes (decimal). One binary gigabyte (GiB) = 2³⁰ = 1,073,741,824 bytes. Decimal gigabyte (GB, used by storage manufacturers) = 10⁹ = 1,000,000,000 bytes. A 256 GB phone has about 238 GiB as reported by iOS/Android due to this difference.
What is the formula to convert gigabyte to bytes?
The formula is: 1 GiB = 2³⁰ = 1,073,741,824 bytes. To convert, multiply the number of gigabytes by 1,073,741,824 to get the equivalent in bytes.
How do I convert bytes to gigabyte?
To convert bytes to gigabyte, divide the number of bytes by 1,073,741,824. For example, 5,368,709,120 bytes equals 5 gigabytes.
Related Tools
Related "How Many" Questions
How Many Bytes in a Megabyte?
There are 1,048,576 bytes in a megabyte (binary) or 1,000,000 bytes (decimal).
How Many Bytes in a Terabyte?
There are approximately 1.1 trillion bytes in a terabyte (binary) or exactly 1 trillion (decimal).
How Many Megabytes in a Gigabyte?
There are 1,000 megabytes in a gigabyte (GB) using the SI standard, or 1,024 mebibytes in a gibibyte (GiB) using the binary standard.