Gigabytes to Bytes
Convert gigabytes (GB) to bytes (B). Both measure digital storage, and the conversion comes up in computing, storage, internet work.
The Formula
``
bytes = gigabytes Ć 1000000000
gigabytes = bytes Ć 1e-9
`
One gigabyte is 1,000,000,000 bytes, and one byte is 1.0000e-9 gigabytes.
Conversion Table
| Gigabytes | Bytes |
|---|---|
| 1 GB | 1,000,000,000 B |
| 2 GB | 2,000,000,000 B |
| 5 GB | 5,000,000,000 B |
| 10 GB | 10,000,000,000 B |
| 25 GB | 25,000,000,000 B |
| 50 GB | 50,000,000,000 B |
| 100 GB | 100,000,000,000 B |
| 500 GB | 500,000,000,000 B |
| 1,000 GB | 1,000,000,000,000 B |
The Other Direction
| Bytes | Gigabytes |
|---|---|
| 1 B | 1.0000e-9 GB |
| 2 B | 2.0000e-9 GB |
| 5 B | 5.0000e-9 GB |
| 10 B | 1.0000e-8 GB |
| 25 B | 2.5000e-8 GB |
| 50 B | 5.0000e-8 GB |
| 100 B | 1.0000e-7 GB |
| 500 B | 5.0000e-7 GB |
| 1,000 B | 1.0000e-6 GB |
What Each Unit Is
Gigabytes (GB) ā 1,000,000,000 bytes in decimal usage. The unit of modern storage and mobile data plans.
Bytes (B) ā 8 bits. Coined at IBM in 1956 for the group of bits encoding one character.
A Sense of Scale
An HD film is 4ā8 GB- A phone ships with 128ā512 GB
- One ASCII character is 1 byte
- A UTF-8 emoji is often 4 bytes
Precision
The factor 1000000000 is rounded. For engineering work carry more digits than the table above, and round only at the end ā rounding at each step compounds.
In Code
`javascript
const gigabyteToByte = (value) => value * 1000000000;
``
Where This Conversion Comes Up
- Computing
- Storage
- Internet
- Media
- Backups
How Many Decimals Do You Need?
Rounding the factor costs accuracy, and how much depends on the factor. Converting 137 GB with the factor truncated at each decimal place:
| Decimals kept | Factor | 137 GB becomes | Error |
|---|---|---|---|
| 0 | 1000000000 | 137,000,000,000 | ā |
| 1 | 1000000000 | 137,000,000,000 | ā |
| 2 | 1000000000 | 137,000,000,000 | ā |
| 3 | 1000000000 | 137,000,000,000 | ā |
| 4 | 1000000000 | 137,000,000,000 | ā |
The right number of significant figures is set by your input, not by the converter. If you measured gigabytes to three significant figures, the answer in bytes is only good to three ā writing more digits claims precision the measurement never had.
Other Conversions From Gigabytes
The same value in every other unit this converter supports for data:
| From | To | Unit |
|---|---|---|
| 1 GB | 8,000,000,000 b | Bits |
| 1 GB | 8,000,000 Kb | Kilobits |
| 1 GB | 1,000,000 KB | Kilobytes |
| 1 GB | 8,000 Mb | Megabits |
| 1 GB | 1,000 MB | Megabytes |
| 1 GB | 0.001 TB | Terabytes |