Gigabytes to Kilobytes
Convert gigabytes (GB) to kilobytes (KB). Both measure digital storage, and the conversion comes up in computing, storage, internet work.
The Formula
``
kilobytes = gigabytes Ć 1000000
gigabytes = kilobytes Ć 0.000001
`
One gigabyte is 1,000,000 kilobytes, and one kilobyte is 1.0000e-6 gigabytes.
Conversion Table
| Gigabytes | Kilobytes |
|---|---|
| 1 GB | 1,000,000 KB |
| 2 GB | 2,000,000 KB |
| 5 GB | 5,000,000 KB |
| 10 GB | 10,000,000 KB |
| 25 GB | 25,000,000 KB |
| 50 GB | 50,000,000 KB |
| 100 GB | 100,000,000 KB |
| 500 GB | 500,000,000 KB |
| 1,000 GB | 1,000,000,000 KB |
The Other Direction
| Kilobytes | Gigabytes |
|---|---|
| 1 KB | 1.0000e-6 GB |
| 2 KB | 2.0000e-6 GB |
| 5 KB | 5.0000e-6 GB |
| 10 KB | 1.0000e-5 GB |
| 25 KB | 2.5000e-5 GB |
| 50 KB | 5.0000e-5 GB |
| 100 KB | 1.0000e-4 GB |
| 500 KB | 5.0000e-4 GB |
| 1,000 KB | 0.001 GB |
What Each Unit Is
Gigabytes (GB) ā 1,000,000,000 bytes in decimal usage. The unit of modern storage and mobile data plans.
Kilobytes (KB) ā 1,000 bytes in decimal usage; 1,024 bytes in the binary convention (properly a kibibyte). The ambiguity dates to early computing, where 1,024 was close enough to "kilo" to reuse the prefix.
A Sense of Scale
An HD film is 4ā8 GB- A phone ships with 128ā512 GB
- A page of plain text is about 2 KB
- A small icon is 5ā20 KB
Precision
The factor 1000000 is rounded. For engineering work carry more digits than the table above, and round only at the end ā rounding at each step compounds.
Watch Out For
- This converter uses decimal (1 KB = 1,000 bytes), which is what drive manufacturers and networks use. Windows reports binary, which is why a "1 TB" drive shows as 931 GB.
In Code
`javascript
const gigabyteToKilobyte = (value) => value * 1000000;
``
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 | 1000000 | 137,000,000 | ā |
| 1 | 1000000 | 137,000,000 | ā |
| 2 | 1000000 | 137,000,000 | ā |
| 3 | 1000000 | 137,000,000 | ā |
| 4 | 1000000 | 137,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 kilobytes is only good to three ā writing more digits claims precision the measurement never had.