Skip to content
DailyCalc

Convert GB to bytes

Convert GB to bytes instantly. 1 GB = 1,000,000,000 B. Decimal and binary units kept apart, a worked example and a reference table.

Last updated

GB
B

One gigabyte equals 1,000,000,000 bytes. To convert any number of gigabytes to bytes, multiply by 1,000,000,000.

Data conversions carry two ambiguities at once. Bits and bytes differ by a factor of eight, and network speeds are quoted in bits while file sizes are quoted in bytes — so a connection and a download will always report numbers that look inconsistent. On top of that, the same prefix means 1,000 to a drive manufacturer and 1,024 to an operating system, which is why advertised capacity and reported capacity never match. Neither is an error; they are different conventions wearing the same name.

GB to bytes formula

byte = gigabyte × 1,000,000,000

To go the other way, use gigabyte = byte ÷ 1,000,000,000.

About these units

Operating systems treat a gigabyte as 2³⁰ bytes while drive manufacturers use 10⁹. This is why a 1 TB drive reports as roughly 931 GB.

A byte is eight bits, historically the space needed for one character of text. Storage is measured in bytes; network speeds in bits.

Gigabyte is also written gigabytes, gbs, gigs and gig. Byte is also written bytes.

Sources

  1. IEC 80000-13:2008, Quantities and units — Part 13: Information science and technology — the decimal byte prefixes and the binary kibibyte series.

GB to bytes conversion table

Gigabyte Byte
1 GB 1,000,000,000 B
2 GB 2,000,000,000 B
4 GB 4,000,000,000 B
8 GB 8,000,000,000 B
16 GB 16,000,000,000 B
32 GB 32,000,000,000 B
64 GB 64,000,000,000 B
128 GB 128,000,000,000 B
256 GB 256,000,000,000 B
512 GB 512,000,000,000 B
1,024 GB 1,024,000,000,000 B

Frequently asked questions

How many bytes are in a gigabyte? +

There are 1,000,000,000 bytes in one gigabyte.

What is 10 GB in B? +

10 GB equals 10,000,000,000 B. Multiply 10 by 1,000,000,000.

How do I convert byte back to gigabyte? +

Use gigabyte = byte ÷ 1,000,000,000. The converter above handles both directions.

How accurate is this gigabyte to byte conversion? +

The factor used is 1,000,000,000, carried at full double precision. Where a unit has an exact legal definition the factor is exact rather than approximate. Rounding is applied only to the displayed result, so the answer is never a calculation done on an already-rounded number.

Is there a quick way to estimate GB to B in my head? +

The factor is exactly 1,000,000,000, which is short enough to apply directly without an approximation.