Bytes To GB Converter

Some tools report size in bytes. Divide the bytes by 1,000,000,000 to see the GB.

Quick answer: multiply the size in B by 0.000000001. For example, 1,000,000,000 B is 1 GB, 5,000,000,000 B is 5 GB and 64,000,000,000 B is 64 GB.

The B to GB formula

One GB is 10⁹ bytes, which is 1,000,000,000 bytes (Wikipedia: Gigabyte).

So divide the bytes by 1,000,000,000 to get GB.

GB = B × 0.0000000011,000,000,000 bytes = 1 GB

Take 1,000,000,000 B. Multiply by 0.000000001. The answer is 1 GB.

Take 5,000,000,000 B. Multiply by 0.000000001. The answer is 5 GB.

Bytes to gigabytes

A byte is 8 bits. It is the base unit for file sizes (Wikipedia: Byte).

A GB is 10⁹ bytes, or 1,000 MB. The IEC recommends this meaning (Wikipedia: Gigabyte).

The factor 0.000000001 joins the two.

1 GB1,000,000,000 bytes
1 GiB1,073,741,824 bytes
0.9313 GiB1,000,000,000 bytes
8 bits1 byte

How to convert B to GB step by step

  1. Write down the size in B.
  2. Multiply it by 0.000000001.
  3. The answer is in GB.
  4. Check it against the chart above.

Example 1: 1,000,000,000 B

  1. Start with 1,000,000,000 B.
  2. 1,000,000,000 × 0.000000001 = 1.
  3. The size is 1 GB.

1,000,000,000 B = 1 GB

Example 2: 5,000,000,000 B

  1. Start with 5,000,000,000 B.
  2. 5,000,000,000 × 0.000000001 = 5.
  3. The size is 5 GB.

5,000,000,000 B = 5 GB

Example 3: 64,000,000,000 B

  1. Start with 64,000,000,000 B.
  2. 64,000,000,000 × 0.000000001 = 64.
  3. The size is 64 GB.

64,000,000,000 B = 64 GB

SI prefixes step by 1,000. A KB is 1,000 bytes and a GB is 10⁹ bytes (Wikipedia: Byte).

B to GB conversion table

B GB GiB
1,000,000 B 0.001 GB 0.000931 GiB
100,000,000 B 0.1 GB 0.0931 GiB
1,000,000,000 B 1 GB 0.9313 GiB
2,500,000,000 B 2.5 GB 2.328 GiB
5,000,000,000 B 5 GB 4.657 GiB
16,000,000,000 B 16 GB 14.901 GiB
64,000,000,000 B 64 GB 59.605 GiB
1,000,000,000,000 B 1,000 GB 931.32 GiB

The highlighted row, 1,000,000,000 B, is the default of the converter. The last column gives GiB.

A quick mental shortcut for B to GB

Count three zeros at a time. Three steps make a GB. So 5,000,000,000 bytes is 5 GB.

Or move the decimal nine places left.

What B measures

A byte is 8 bits. It is the base unit for file sizes (Wikipedia: Byte).

Files and memory are counted in bytes.

What GB measures

A GB is 10⁹ bytes, or 1,000 MB. The IEC recommends this meaning (Wikipedia: Gigabyte).

Phones, discs and drives are counted in GB.

Long byte counts

A count of 5,000,000,000 bytes is 5 GB. A count of 64,000,000,000 bytes is 64 GB.

Each group of three zeros is one SI step.

Decimal and binary

The SI prefixes step by 1,000. The IEC binary prefixes step by 1,024, such as KiB, MiB and GiB (Wikipedia: Byte).

A GiB is about 7.4 percent larger than a GB (Wikipedia: Binary prefix).

Drive labels

Drive makers use decimal units. A 500 GB drive holds 500 billion bytes (Wikipedia: Gigabyte).

Windows may show such a drive in binary units, so a 400 GB drive can appear as 372 GB (Wikipedia: Gigabyte).

The Windows view

A 64 GB drive holds 64,000,000,000 bytes. Windows may show it as about 59.6 GB (Wikipedia: Binary prefix).

The drive is not short. The label has a different meaning.

Why divide by a billion

A GB is 10⁹ bytes (Wikipedia: Gigabyte).

So a billion bytes make one GB.

Going the other way

To go back, multiply the GB by 1,000,000,000. Or move the decimal nine places right.

So 5 GB is 5,000,000,000 bytes.

Check your answer

Your GB number should be a billion times smaller than the byte count.

Multiply it by 1,000,000,000 and you should get your first number.

More values at a glance

0.5 bytes is 5 × 10⁻¹⁰ gigabytes. 2 bytes is 2 × 10⁻⁹ gigabytes. 5 bytes is 5 × 10⁻⁹ gigabytes.

10 bytes is 1 × 10⁻⁸ gigabytes. 25 bytes is 2.5 × 10⁻⁸ gigabytes. 100 bytes is 1 × 10⁻⁷ gigabytes.

Each answer is the input times 1 × 10⁻⁹. You can use the same factor for any value that is not listed here.

The unit sizes

One of the bytes equals 1 × 10⁻⁹ gigabytes. One of the gigabytes equals 1,000,000,000.00 bytes.

If a result looks very large or very small, compare it with these sizes before you use it.

Checking in reverse

Take 1 × 10⁻⁸ gigabytes and divide by 1 × 10⁻⁹. You get back 10 bytes. If you do not, one of the numbers was typed or rounded wrongly.

Quick conversion answers

Conversion Result
100,000,000 B 0.1 GB
1,000,000,000 B 1 GB
5,000,000,000 B 5 GB
16,000,000,000 B 16 GB
64,000,000,000 B 64 GB
1,000,000,000,000 B 1,000 GB

More examples

A size of 2,500,000,000 B is 2.5 GB, and 512,000,000 B is 0.512 GB.

A size of 128,849,018,880 B is 120 GiB, but it is 128.85 GB.

The page counts a GB as 1,000,000,000 bytes (Wikipedia: Gigabyte).

GB and GiB

A GiB is 1,073,741,824 bytes, which is about 7.4 percent more than a GB.

Some operating systems show GiB but label it GB.

So the same file can seem to have two sizes. Both are right in their own unit.

Where this conversion is used

File sizes are counted in bytes.

Phones, discs and plans give sizes in gigabytes.

Common mistakes to avoid

  • Mixing GB and GiB. They differ by about 7 percent.
  • Using the wrong direction. Here 100,000,000 B is 0.1 GB, so a correct answer comes out smaller than the number you start with.
  • Mixing B and b. A capital B is a byte and a lowercase b is a bit, so 1 GB is 8 Gb.
  • Mixing GB and GiB. A size of 1,073,741,824 B is 1 GiB, but it is 1.0737 GB.

Related converters

A big file

A file of 2,500,000,000 bytes is 2.5 GB.

In GiB that is 2.328.

A disc image

An image of 4,700,000,000 bytes is 4.7 GB.

In GiB that is 4.377.

Frequently asked questions

How do I convert bytes to GB?

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

How many GB is 5,000,000,000 bytes?

5 GB.

How many bytes is 1 GB?

1,000,000,000 bytes.

How many bytes is 1 GiB?

1,073,741,824 bytes.

How many GiB is 1,000,000,000 bytes?

About 0.9313 GiB.

How many GB is 64,000,000,000 bytes?

64 GB.

Sources

  • Wikipedia: Byte (en.wikipedia.org)
  • Wikipedia: Binary prefix (en.wikipedia.org)
  • Wikipedia: Gigabyte (en.wikipedia.org)
Stephen, author at WETFLAG Calculator

Written by

Stephen

Founder & Lead Content Developer, WETFLAG Calculator

Stephen built WETFLAG Calculator to give clinicians and caregivers a fast, reliable way to work through paediatric emergency drug dosing and lab-value conversions. He has spent over a decade developing clinical reference tools and medical calculators, with a focus on sourcing every formula and conversion factor from established clinical references and cross-checking the output against published reference ranges before it goes live.

crvideos111@gmail.com