Convert Kilobytes to Gigabytes
Kilobytes to gigabytes is a big jump — you're crossing two size steps at once. In the decimal convention that storage is sold in, one gigabyte is 1,000,000 kilobytes, so a KB figure turns into a very small GB number.
Kilobytes to Gigabytes conversion table
| Kilobytes (KB) | Gigabytes (GB) |
|---|---|
| 1 | 0.000001 |
| 2 | 0.000002 |
| 3 | 0.000003 |
| 5 | 0.000005 |
| 10 | 0.00001 |
| 20 | 0.00002 |
| 50 | 0.00005 |
| 100 | 0.0001 |
| 500 | 0.0005 |
| 1,000 | 0.001 |
The formula
To convert kilobytes to gigabytes, divide the size in kilobytes by 1,000,000:
gigabytes = kilobytes ÷ 1,000,000
A worked example
Say a log file has grown to 2,500,000 KB and you want it in gigabytes:
2,500,000 ÷ 1,000,000 = 2.5 GB
The decimal point slides six places to the left.
Decimal vs binary — why the gap widens
This page uses the decimal (SI) rule: 1 GB = 1,000,000 KB. Operating systems often use binary instead, where a "gigabyte" is a gibibyte (1024 × 1024 × 1024 bytes). At the gigabyte scale that difference is about 7%, so a figure this page calls 2.5 GB can show as roughly 2.33 GiB in Windows. Neither is a mistake — it's decimal counting versus power-of-two counting.
When you'll use it
Sizing up a big export or database dump that a tool reports in kilobytes, adding up a folder of many small files, or checking whether years of logs will fit in a gigabyte-sized bucket.
Frequently asked questions
How many kilobytes are in a gigabyte?
1,000,000 in the decimal convention (1 GB = 1000 MB, and each MB = 1000 KB). So to go from KB to GB you divide by a million.
Why does a '1 GB' file look smaller than 1 GB on my computer?
Your OS may count in binary, where a 'gigabyte' is really a gibibyte of 1,073,741,824 bytes rather than the decimal 1,000,000,000. The two rulers drift apart more the bigger the number gets.
Is dividing by a million exact?
In the decimal convention, yes — it's just moving the decimal point six places to the left.