Bytes to Gigabytes and Gigabytes to Bytes: How Many Bytes in a Gigabyte? (gb)

Convert bytes to gigabytes or the other way round. Every result uses the exact definition of each unit.

To 1 × 10⁻⁹

1 B = 1 × 10⁻⁹ GB

Show this value in every data storage unit
Bits bit
8
Bytes B
1
Kilobytes kB
0.001
Megabytes MB
0.000001
Gigabytes GB
1 × 10⁻⁹
Terabytes TB
1 × 10⁻¹²
Petabytes PB
1 × 10⁻¹⁵
Kibibytes KiB
0.000976563
Mebibytes MiB
0.000000953674
Gibibytes GiB
9.31323 × 10⁻¹⁰
Tebibytes TiB
9.09495 × 10⁻¹³
Pebibytes PiB
8.88178 × 10⁻¹⁶
Exabytes EB
1 × 10⁻¹⁸
Kilobits kbit
0.008
Megabits Mbit
0.000008
Gigabits Gbit
8 × 10⁻⁹
Nibbles nibble
2

Quick answer

  • 1 B = 1 × 10⁻⁹ GB
  • 1 GB = 1,000,000,000 B

Bytes to Gigabytes formula, and back

gigabytes = bytes ÷ 1,000,000,000

Divide the number of bytes by 1,000,000,000.

bytes = gigabytes × 1,000,000,000

Multiply the number of gigabytes by 1,000,000,000.

Where the factor comes from: one byte is 1 and one gigabyte is 1,000,000,000 of the reference unit (bytes). Dividing the first by the second gives 1 × 10⁻⁹.

Worked examples

  1. Convert 5 bytes to gigabytes.

    5 B ÷ 1,000,000,000 = 5 × 10⁻⁹ GB

  2. Convert 12.5 bytes to gigabytes.

    12.5 B ÷ 1,000,000,000 = 1.25 × 10⁻⁸ GB

  3. Convert 250 bytes to gigabytes.

    250 B ÷ 1,000,000,000 = 0.00000025 GB

  4. Convert 5 gigabytes to bytes.

    5 GB × 1,000,000,000 = 5,000,000,000 B

  5. Convert 12.5 gigabytes to bytes.

    12.5 GB × 1,000,000,000 = 12,500,000,000 B

  6. Convert 250 gigabytes to bytes.

    250 GB × 1,000,000,000 = 250,000,000,000 B

Conversion tables

Common values in both directions, calculated with the same engine as the converter above.

Bytes to Gigabytes conversion table
Bytes (B)Gigabytes (GB)
1 B1 × 10⁻⁹ GB
2 B2 × 10⁻⁹ GB
3 B3 × 10⁻⁹ GB
5 B5 × 10⁻⁹ GB
10 B1 × 10⁻⁸ GB
15 B1.5 × 10⁻⁸ GB
20 B2 × 10⁻⁸ GB
25 B2.5 × 10⁻⁸ GB
50 B5 × 10⁻⁸ GB
75 B7.5 × 10⁻⁸ GB
100 B0.0000001 GB
250 B0.00000025 GB
500 B0.0000005 GB
1000 B0.000001 GB
Gigabytes to Bytes conversion table
Gigabytes (GB)Bytes (B)
1 GB1,000,000,000 B
2 GB2,000,000,000 B
3 GB3,000,000,000 B
5 GB5,000,000,000 B
10 GB10,000,000,000 B
15 GB15,000,000,000 B
20 GB20,000,000,000 B
25 GB25,000,000,000 B
50 GB50,000,000,000 B
75 GB75,000,000,000 B
100 GB100,000,000,000 B
250 GB250,000,000,000 B
500 GB500,000,000,000 B
1000 GB1,000,000,000,000 B

When this conversion is useful

Bytes are used for file sizes, while gigabytes are used for phone storage and data plans. Converting between them comes up whenever a value from one of those settings has to be read in the other, so this page works in both directions: press the swap button above to turn bytes to gigabytes into gigabytes to bytes.

The units

What is a byte?

A byte is 8 bits, enough to store one character of basic text. File and memory sizes are counted in bytes and their multiples.

What is a gigabyte?

A gigabyte is one billion bytes. Phone storage, memory cards and mobile data plans are sold in gigabytes.

Bytes compared with gigabytes

A gigabyte is the larger unit: one gigabyte equals 1,000,000,000 bytes.

Accuracy and precision

Results are calculated from the exact definition of each unit and rounded to 6 significant figures for display, or 12 when "More decimal places" is switched on. Round your final answer to match the precision of the measurement you started with.

Kilobytes, megabytes, gigabytes, terabytes and petabytes here are decimal (powers of 1,000). Kibibytes, mebibytes and gibibytes are binary (powers of 1,024).

Frequently asked questions

How many bytes are in a gigabyte?

One gigabyte equals 1,000,000,000 bytes.

How do I convert bytes to gigabytes?

Divide the number of bytes by 1,000,000,000. For example, 5 B ÷ 1,000,000,000 = 5 × 10⁻⁹ GB.

How do I convert gigabytes to bytes?

Multiply the number of gigabytes by 1,000,000,000. For example, 5 GB × 1,000,000,000 = 5,000,000,000 B.

Which is larger, a byte or a gigabyte?

A gigabyte is larger. One gigabyte is 1,000,000,000 bytes.

Is this converter exact?

Yes, within display rounding. Both units are defined exactly in terms of the same reference unit, and the converter uses those definitions directly.

Learn more

Think a conversion is incorrect? Email contact@sjwebtechwork.com with the page address, the value you entered, the result you saw and the result you expected.