Type a number of kilobytes and read the result in gigabytes straight away. A gigabyte is 1,048,576 kilobytes in the binary system (that is 1,024 × 1,024), so the converter divides your value by 1,048,576. Use Swap order to convert gigabytes to kilobytes instead.

The kilobyte and the gigabyte are two orders of magnitude apart: 1 GB is 1,048,576 KB, that is 1,024 megabytes, each of which is 1,024 kilobytes. Converting KB to GB is handy when you add up large numbers of files given in kilobytes — such as backups, exports or logs — and want the result in more manageable gigabytes.
The relationship is fixed: 1 GB is 1,048,576 KB in the binary system, which operating systems and this converter use. To turn kilobytes into gigabytes, divide their number by 1,048,576. The converter does this the moment you type a value.
Watch out for round values. 1,000,000 KB (a million) is not 1 GB but about 0.95 GB, because a full gigabyte has 1,048,576 KB. It is the same effect as with 1,000 versus 1,024, just two levels higher.
This tool computes both standards: binary (1,024) by default, and the Unit standard button switches it to decimal (1,000). Windows and RAM count in binary, while drive makers, macOS and search engines count in decimal — which is why the same capacity is quoted two different ways.
The conversion rests on a fixed relationship: one gigabyte is 1,048,576 kilobytes. To turn kilobytes into gigabytes, divide their number by 1,048,576. You can also divide by 1,024 twice — first from KB to MB, then from MB to GB.
Full formula: gigabytes = kilobytes ÷ 1,048,576. The other way: kilobytes = gigabytes × 1,048,576.
Example: a data export is 5,242,880 KB. Calculation: 5,242,880 ÷ 1,048,576 = 5 GB. The value comes out whole because it is a multiple of 1,048,576.
Mind the million. 1,000,000 KB is about 0.95 GB, not 1 GB — you reach exactly 1 GB only from 1,048,576 KB. The multiplier 1,048,576 comes from binary counting: two to the power of twenty is exactly 1,048,576.
In Excel, type the formula =A1/1048576 in a cell, where A1 holds the value in KB. The other way, gigabytes to kilobytes, use =A1*1048576.
The table below converts common kilobyte values into gigabytes in the binary system (÷1,048,576). Values that are not a multiple of 1,048,576 are shown rounded. To convert another value, use the converter above.
| Kilobytes | Gigabytes |
|---|---|
| 100,000 KB | 0.10 GB |
| 500,000 KB | 0.48 GB |
| 1,000,000 KB | 0.95 GB |
| Kilobytes | Gigabytes |
|---|---|
| 1,048,576 KB | 1 GB |
| 2,000,000 KB | 1.91 GB |
| 2,097,152 KB | 2 GB |
| Kilobytes | Gigabytes |
|---|---|
| 5,242,880 KB | 5 GB |
| 10,485,760 KB | 10 GB |
| 52,428,800 KB | 50 GB |
Example: 1,048,576 KB ÷ 1,048,576 = 1 GB, while 1,000,000 KB is only 0.95 GB. Want to convert gigabytes to kilobytes? Click Swap order in the converter above.
Every data size unit grows by the same multiplier: each one is 1,024 times larger than the previous. The table below shows the order from byte to petabyte, with a typical example of what each unit describes.
| Unit | Relationship | Typical example |
|---|---|---|
| Byte (B) | base unit | one character of text |
| Kilobyte (KB) | 1,024 B | a short email or icon |
| Megabyte (MB) | 1,024 KB | a photo or an MP3 song |
| Gigabyte (GB) | 1,024 MB | a movie or a RAM stick |
| Terabyte (TB) | 1,024 GB | a hard drive |
| Petabyte (PB) | 1,024 TB | a large data centre |
Order from smallest to largest: byte, kilobyte, megabyte, gigabyte, terabyte, petabyte. Each step is a multiplication by 1,024.
You convert large numbers of kilobytes into gigabytes mostly for totals and data copies.
1 GB is 1,048,576 KB in the binary system, which this converter and operating systems use. That is 1,024 × 1,024. In the decimal system (SI), 1 GB is 1,000,000 KB.
Not quite. 1,000,000 KB is about 0.95 GB, because a full gigabyte in the binary system has 1,048,576 KB. You reach exactly 1 GB from 1,048,576 KB. Rounding to 1 GB applies only in the decimal system.
1,000,000 KB is about 0.95 GB. Calculation: 1,000,000 ÷ 1,048,576 = 0.95 GB. A million kilobytes does not make a full gigabyte, because that takes 1,048,576 KB.
Divide the number of kilobytes by 1,048,576. You can also divide by 1,024 twice: first from KB to MB, then from MB to GB. The converter does this the moment you type a value.
100,000 KB is about 0.10 GB, and 500,000 KB is about 0.48 GB. The values do not come out round because a full gigabyte has 1,048,576 KB, not a million.
Multiply the number of gigabytes by 1,048,576. For example, 2 GB × 1,048,576 = 2,097,152 KB. Click Swap order to have the converter work in this direction.
It depends on the system. Operating systems and this converter use the binary system, where 1 GB is 1,048,576 KB. Storage makers use the decimal system, where 1 GB is 1,000,000 KB. That is where the difference at large values comes from.
Type the formula =A1/1048576 in a cell, where A1 holds the value in kilobytes. The other way, gigabytes to kilobytes, use =A1*1048576. The same formula works in Google Sheets.
From smallest: byte (B), kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB), petabyte (PB). Each unit is 1,024 times larger than the previous one. A byte describes a single character, while a terabyte describes a drive capacity.

If you have spotted an error in the table or have an idea to improve the converter, write to us. We reply to every message.