In 1 gigabytes there are 1,000,000,000 bytes. Meanwhile in 1 bytes there are 1.00000e-9 gigabytes. Keep reading to learn more about each unit of measure and how they are calculated. Or just use the Bytes to Gigabytes calculator above to convert any number.
* Values rounded to 6 decimal places for readability
To convert gigabytes (GB) to bytes, use this rule:
Formula (GB to bytes):
Quick examples:
Tip: In most computer storage math, units follow base-2 steps: 1024 bytes = 1 KB, 1024 KB = 1 MB, 1024 MB = 1 GB.
It depends on the system you use. In the decimal system, 1 gigabyte (GB) equals 1,000,000,000 bytes. In the binary system, 1 gibibyte (GiB) equals 1,073,741,824 bytes.
GB uses base-10 (decimal). GiB uses base-2 (binary). Storage makers often use GB, while many operating systems report file sizes closer to GiB.
Drive makers label using decimal units (1 TB = 1,000,000,000,000 bytes). Many systems show space using binary units, which makes the number look smaller even though the total bytes match the label standard.
In most storage marketing and networking, yes. But in computing contexts, people sometimes say “GB” when they mean “GiB” (1,073,741,824 bytes). Always check which unit standard is being used.
Use this formula:
bytes = gigabytes × 1,000,000,000
Example: 2.5 GB = 2.5 × 1,000,000,000 = 2,500,000,000 bytes.
If “gigabyte” is used to mean gibibyte (GiB), use:
bytes = GiB × 1,073,741,824
Example: 2 GiB = 2 × 1,073,741,824 = 2,147,483,648 bytes.
Using decimal units: 0.5 GB equals 500,000,000 bytes.
Using binary units (0.5 GiB): 0.5 × 1,073,741,824 equals 536,870,912 bytes.
Using decimal units: 10 GB equals 10,000,000,000 bytes.
Using binary units (10 GiB): 10 × 1,073,741,824 equals 10,737,418,240 bytes.
A byte is a small unit of data. It usually holds one character of text, like a letter or number, depending on the encoding used.
Internet speeds are usually shown in bits, not bytes. You may see Mbps or Gbps (megabits or gigabits per second). One byte equals 8 bits, so you divide bits by 8 to get bytes.
A gigabit is not a gigabyte. In decimal terms, 1 gigabit (Gb) equals 1,000,000,000 bits. Divide by 8 to convert to bytes, which equals 125,000,000 bytes.
Yes. GB means gigabytes. Gb means gigabits. That one letter changes the value by a factor of 8 when converting to bytes.
MB is decimal (1,000,000 bytes). MiB is binary (1,048,576 bytes). Different systems pick different standards, which can make numbers look inconsistent.
For decimal GB, add nine zeros after the number.
Example: 3 GB is about 3,000,000,000 bytes. This works best for whole numbers.
Use decimal for drive labels, data caps, and most network figures. Use binary when a system reports memory or file sizes using base-2 units, even if it labels them as “GB.”
The Calculate Box tool to convert gigabytes to bytes uses the open source script Convert.js to convert units of measurement. To use this tool, simply type a gigabytes value in the box and have it instantly converted to bytes.