Convert B to GB

B
1e-9GB

1 B = 1e-9 GB

Type a value in bytes and the answer in gigabytes appears as you go. The conversion is exactly 1e-9 GB to the byte, and it happens on your own machine — this page asks nothing of a server once it has loaded.

  • Where it runs

    In your browser. The number you type is never part of a request.

  • Exact by definition

    1 B is exactly 1e-9 GB — a definition, not a rounded factor.

  • Answers as you type

    No button, no wait. The worked answer is already on the page before any script runs.

Byte and Gigabyte

A byte is eight bits, though that was not always fixed — early machines used six, seven or nine. The eight-bit byte won because it holds one character of text and divides neatly in half.

A gigabyte is a billion bytes in the decimal sense used by drive manufacturers, phone plans and video sizes.

bytes to gigabytes in practice

  • 5000000 B is 0.005 GB

    — a photograph from a phone.

  • 1024 B is 0.000001024 GB

    — a kibibyte, which is where the confusion starts.

bytes to gigabytes at a glance

BGB
11e-9
22e-9
55e-9
101e-8
505e-8
1001e-7
5005e-7
10000.000001

Every figure here is computed from the same definition the calculator uses, so the table cannot drift away from the answer above it.

Convert B to GB: common questions

How many gigabytes are in a byte?

Exactly 1e-9. One byte is 1e-9 gigabytes, and the box above will do it for any figure you type.

Is this conversion exact, or rounded?

The ratio is exact. It is not a rounded constant typed into a table: it is derived from the definitions of the two units, so it agrees with any other correct converter to as many digits as you care to compare.

Why does another converter show a slightly different number?

Almost always rounding rather than disagreement. Many converters cut the answer to two or four decimals, and some carry a factor that was rounded before the multiplication rather than after. The figures here are computed from the exact definitions and only rounded on the way to the screen.

Where these figures come from

The claims this page makes about data units are checkable, and these are the documents that settle them.

How this page works

The factor is a constant in the page and the arithmetic is four operations, so nothing is sent anywhere and nothing needs to be. The number you type never leaves the browser — there is no request for it to travel in.

All data and other calculators