gizmobench
BrowseDaily

Bytes to GB Converter

Bytes to GB is one division, and the number you divide by depends on which gigabyte you mean: 1,073,741,824 bytes to the binary gigabyte, properly the gibibyte (GiB), which some software labels GB, and 1,000,000,000 bytes to the decimal gigabyte (GB) that drive and phone makers print on the box. This page opens with Byte in the From box and Gibibyte in the To box, ahead of whatever pair the converter last remembered, so 1,073,741,824 bytes reads 1 GiB, 2,147,483,648 bytes reads 2 GiB and 5,000,000,000 bytes reads 4.65661287308 GiB. The decimal answer is never hidden behind a setting: the list under the headline prints the same byte count in bits, kB, MB, GB, TB, KiB, MiB, GiB and TiB together, so 5,000,000,000 bytes shows as 4.65661287308 GiB and as exactly 5 GB on one screen. The swap button between the two boxes reverses the pair, which turns the page into a gibibytes to bytes converter without a reload.

To9.31322574615e-10
Category
Digital storage
Base unit
byte

kB, MB, GB and TB use powers of 1,000; KiB, MiB, GiB and TiB use powers of 1,024. One byte is eight bits; labels used by other software may differ.

Results round to 12 significant digits using the listed unit definitions. Input must have a finite numeric magnitude and at most 512 significant digits. Type a single decimal or scientific number; a matching From unit suffix is accepted. Commas and grouped spaces separate thousands; decimal commas, fractions and compound measurements are refused.

1 B in every digital storage unit

  • Bitbit
    8
  • KilobytekB
    0.001
  • MegabyteMB
    0.000001
  • GigabyteGB
    1e-9
  • TerabyteTB
    1e-12
  • KibibyteKiB
    0.0009765625
  • MebibyteMiB
    9.53674316406e-7
  • GibibyteGiB
    9.31322574615e-10
  • TebibyteTiB
    9.09494701773e-13
Selectable complete conversion

Common questions

How many bytes are in a GB?
A decimal gigabyte (GB) is exactly 1,000,000,000 bytes. A gibibyte (GiB) is exactly 2^30 = 1,073,741,824 bytes. Some software labels a binary GiB count as GB, while other software uses decimal GB; consult its byte count or documented convention. The binary examples are 2 GiB = 2,147,483,648 bytes, 4 GiB = 4,294,967,296 bytes, 8 GiB = 8,589,934,592 bytes and 64 GiB = 68,719,476,736 bytes.
What is the formula for bytes to GB?
GiB = bytes / 1,073,741,824 for the binary reading, and GB = bytes / 1,000,000,000 for the decimal one. This page arrives with the binary reading in the To box, and picking Gigabyte (GB) in that menu switches the headline to the decimal one, though you do not have to: both already appear in the list under the answer. Going the other way, bytes = GiB x 1,073,741,824 and bytes = GB x 1,000,000,000, and the swap button between the boxes sets that direction up for you.
Worked example: how many GB is 5,000,000,000 bytes?
4.65661287308 GiB, and exactly 5 GB in decimal. Type 5,000,000,000 into the From box, with or without the commas, and 5e9 is read the same way. The list underneath gives the rest of the same number: 40,000,000,000 bits, 5,000,000 kB, 5,000 MB, 0.005 TB, 4,882,812.5 KiB and 4,768.37158203 MiB. Each row has its own Copy button, and Copy result in the row above copies the headline figure itself, without the thousands separators it is displayed with.
Why does my 1 TB drive show up as about 931 GB?
An exact quantity of 1 decimal TB is 1,000,000,000,000 bytes, which displays here as 931.322574615 GiB and exactly 1,000 GB. Software that counts in GiB but labels it GB can show approximately 931 GB. The unit conversion expresses the same bytes; it does not establish a drive’s usable capacity, which can also be affected by formatting, reserved partitions or other allocation. Likewise 1,000,000,000 bytes is 0.931322574615 GiB, and 250,000,000,000 bytes is 232.830643654 GiB.
Is a kilobyte 1,000 bytes or 1,024?
A kilobyte (kB) is exactly 1,000 bytes; a kibibyte (KiB) is exactly 1,024 bytes. The same distinction applies to MB (1,000,000 bytes) and MiB (1,048,576 bytes), and GB (1,000,000,000 bytes) and GiB (1,073,741,824 bytes). For equal numeric counts, a KiB has 2.4% more bytes than a kB and a GiB about 7.4% more bytes than a GB. For an equal byte quantity, the numeric GiB count is correspondingly smaller; the converter shows both units with distinct labels.
Why is 1 byte written in exponential notation in GiB?
One byte is exactly 1/1,073,741,824 GiB. The display rounds to twelve significant digits and uses exponential notation below 0.000001, so 1 byte displays as 9.31322574615e-10 GiB and 1,000 bytes as 9.31322574615e-7 GiB. A larger example, 500,000,000 bytes, displays as 0.465661287308 GiB. Choosing a smaller target unit gives a larger numeric count; 1,048,576 bytes is exactly 1 MiB.
How do I convert GB back to bytes?
Press the swap button between the two boxes and the page becomes gibibytes to bytes: 1 GiB gives 1,073,741,824, half a gibibyte gives 536,870,912, 16 GiB gives 17,179,869,184 and 32 GiB gives 34,359,738,368. To work in decimal gigabytes instead, choose Gigabyte (GB) in the From menu after swapping, where 1 GB is 1,000,000,000 bytes. Both unit menus stay open throughout, so the same figure goes to megabytes, kibibytes or bits without leaving the page.
Why does the page open on bytes and gibibytes when I last converted something else?
This focused page opens on Byte and Gibibyte, while preserving the main converter’s saved unit pair. When browser storage is usable, a saved value and uncommon-unit preference can travel between pages. The value’s suffix must still match the current From unit. Valid deliberate scalar edits can save those fields after a short delay; invalid or incomplete drafts do not overwrite the saved record. Unusable or conflicting records are kept with an explanation until you use Forget saved settings, which keeps the current conversion on screen.
Is anything I type sent anywhere?
Your input and converted values are calculated in the browser and are not uploaded by the converter. The definitions arrive with the page, so conversion needs no external data lookup and keeps working offline after the page has loaded. The core conversion needs no account.

Results round to 12 significant digits using the listed unit conventions. Many factors are exact definitions; psi and parsec use rounded coefficients. Temperature includes scale offsets. Days and weeks are fixed-duration units, and unit conversion does not determine calendar dates, ambient pressure or a software label’s convention.