bytes to GB

Type any number of bytes and see it in gigabytes straight away; the converter below starts with 5,000,000,000 B.

What you type stays in your browser

5,000,000,000 B = 5 GB

1 B = 1E-9 GB

5,000,000,000 B in other units

Results show up to six significant figures; the calculation uses exact unit definitions.

In short

1 byte equals 1E-9 gigabytes. To convert bytes to gigabytes, multiply by 1E-9: 5,000,000,000 B × 1E-9 = 5 GB.

bytes to GB formula

The formula is gigabytes = bytes × 1E-9, so every byte adds 1E-9 gigabytes to the result.

Written as a single factor, 1 B = 1E-9 GB; the converter keeps the full precision of that factor and rounds only the final result.

Going back, 1 gigabyte = 1,000,000,000 bytes, so multiply by 1,000,000,000 to turn gigabytes into bytes.

As a reference point, 100 bytes make 1E-7 GB, while 100 gigabytes make 100,000,000,000 B.

Example: 5,000,000,000 B to gigabytes

This is the conversion of 5,000,000,000 B to gigabytes, worked through step by step.

  • Multiply by 1E-9: 5,000,000,000 × 1E-9 = 5.
  • Rounded for everyday use, 5,000,000,000 B = 5 GB.

bytes to GB conversion chart

bytes gigabytes
1,000,000,000 B 1 GB
2,000,000,000 B 2 GB
3,000,000,000 B 3 GB
4,000,000,000 B 4 GB
5,000,000,000 B 5 GB
6,000,000,000 B 6 GB
7,000,000,000 B 7 GB
8,000,000,000 B 8 GB
9,000,000,000 B 9 GB
10,000,000,000 B 10 GB
12,000,000,000 B 12 GB
15,000,000,000 B 15 GB
20,000,000,000 B 20 GB
25,000,000,000 B 25 GB
30,000,000,000 B 30 GB
40,000,000,000 B 40 GB
50,000,000,000 B 50 GB
60,000,000,000 B 60 GB
75,000,000,000 B 75 GB
100,000,000,000 B 100 GB

Frequently asked questions

How many gigabytes are in a byte?

One byte is 1E-9 GB. Turned around, one gigabyte is 1,000,000,000 B; the two factors multiply to exactly 1.

How many bytes are in a gigabyte?

One gigabyte contains 1,000,000,000 B. To turn a number of gigabytes into bytes, multiply by 1,000,000,000; the calculation on this page simply runs it the other way.

How do I convert gigabytes to bytes?

Reverse the rule: multiply by 1,000,000,000. For example, 5 GB is 5,000,000,000 B.

What is 20,000,000,000 bytes in gigabytes?

20,000,000,000 B is exactly 20 GB.

Is the bytes to GB conversion exact?

Yes. Both units have exact definitions, so the factor is exactly 1E-9 and any difference you see comes only from rounding the result.

What are bytes and gigabytes?

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

A gigabyte is 1,000,000,000 bytes (10⁹) in decimal units, which phone makers and mobile data plans use. Windows reports sizes in gibibytes but labels them GB.

How your files stay private

This tool runs with JavaScript inside your browser tab. What you type, the settings you choose and the results stay in the page's memory and disappear when you close it. Nothing is sent to a server; a few display settings may be remembered in your own browser.

All data size conversions

Unit converter All unit converters

Last updated Nov 20, 2026