Home › Converters › Bytes to GB Converter

Bytes to GB Converter

Your router log, database, or API reports a file size as a long string of bytes — 1,500,000,000 of them — but every plan, drive, and download page talks in GB. This free bytes to GB converter turns raw byte counts into gigabytes instantly, in both decimal units (1 GB = 1,000,000,000 bytes, the way storage is sold) and binary units (1 GiB = 1,073,741,824 bytes, the way Windows counts). It also converts bits, KB, MB, and TB in either direction.

The result also shows the same data in the other system, underneath.

1.5 GB
1,500,000,000 B = 1.5 GB (decimal) · Same data in binary units: 1.396984 GiB · Total: 12,000,000,000 bits

Bytes to GB conversion table

Common byte counts converted to decimal gigabytes and binary gibibytes. The binary column is the same amount of data measured the way Windows reports it.

BytesGigabytes (GB, decimal)Gibibytes (GiB, binary)

How it works

Every data size is built from bytes: 8 bits make a byte, and from there the units climb — kilobytes, megabytes, gigabytes, terabytes. The climb has two different step sizes. In the decimal (SI) system each step is exactly 1,000, so a gigabyte is 1,000 MB, 1,000,000 KB, and exactly 1,000,000,000 bytes. In the binary (IEC) system each step is 1,024, so a gibibyte is 1,024 MiB and exactly 1,073,741,824 bytes. Converting bytes to gigabytes is therefore one division — the only question is which divisor matches the place your number came from.

Bytes to GB (decimal): GB = bytes ÷ 1,000,000,000  |  Bytes to GiB (binary): GiB = bytes ÷ 1,073,741,824  |  Any pair: result = amount × (bits per from-unit) ÷ (bits per to-unit), with steps of 1,000 (decimal) or 1,024 (binary)

Byte counts show up wherever software reports exact sizes: file properties on Linux and macOS, cloud storage bills, database tables, log files, and network monitors. Those raw counts are precise but unreadable — nobody can picture 34,359,738,368 bytes. Dividing into GB gives the human-scale number (34.36 GB decimal, or exactly 32 GiB binary — a suspiciously round number that tells you the figure was born in binary, as RAM and many file sizes are).

Enter the amount, pick the from and to units, and choose the system. The big result uses your chosen system; the line underneath converts the same quantity of data into the other system and restates the total in bits, so a decimal byte count from a spec sheet can be compared directly with the binary free space your computer reports. Use the swap button to run the conversion backwards, from GB down to bytes.

Worked example

A backup log says last night's archive was 1,500,000,000 bytes, and you want to know how much of your 100 GB cloud plan it used. Step 1: pick the decimal system, because cloud plans are sold in decimal units. Step 2: divide the bytes by a billion — 1,500,000,000 ÷ 1,000,000,000 = 1.5. Step 3: read the result — the archive is exactly 1.5 GB, so about sixty-six such backups fit in the plan. Step 4 (optional): the same bytes measured the binary way come to about 1.397 GiB, which is the figure to compare against a Windows drive report.

Common mistakes

The most common mistake is dividing by the wrong power: bytes to GB is a division by 1,000,000,000 (nine zeros), and dropping or adding a zero throws the answer off by a factor of ten. The second mistake is mixing systems — taking a decimal byte count from a drive box and dividing by 1,073,741,824, which understates the size by about 7%. Finally, watch the bits-versus-bytes trap: connection speeds are quoted in bits, so a "150 Mbps" line moves at most 18.75 MB per second, because each byte costs eight bits.

FAQ

How many bytes are in a GB?

In decimal units, one GB is exactly 1,000,000,000 bytes (one billion). In binary units, one GiB is 1,073,741,824 bytes. Storage makers and download sites use the decimal figure; Windows measures in binary but labels it GB.

How many GB is 1,500,000,000 bytes?

1,500,000,000 bytes is exactly 1.5 GB in decimal units (divide by 1,000,000,000). Measured the binary way it is about 1.397 GiB, because a gibibyte is about 7.4% larger than a gigabyte.

Is a GB exactly one billion bytes?

Yes — in the decimal (SI) system that drive makers, phone companies, and download sites use, giga means one billion, so 1 GB = 1,000,000,000 bytes exactly. The binary gibibyte (GiB) is the odd one out at 1,073,741,824 bytes.

Why does my 1 TB drive show about 931 GB free?

The drive holds 1 trillion bytes (1,000,000,000,000). Windows divides that by 1,073,741,824 — one binary GiB — and gets about 931, then labels the result GB. Nothing is missing; the same bytes are being measured with a bigger unit.

How many bytes are in a MB?

One MB is 1,000,000 bytes in decimal units. In binary units one MiB is 1,048,576 bytes. Use the unit-system selector above to convert in whichever system your number came from.

Disclaimer: Results are conversions for guidance only. Values are rounded for display; for legal, medical, or safety-critical use, confirm with an official source or a qualified professional.