gizmobench

KB to GB Converter

One GB holds 1,048,576 KB, so KB to GB is a single division: GB = KB / 1,048,576. That makes 500,000 KB 0.476837158203 GB, 1,000,000 KB 0.953674316406 GB and 2,097,152 KB exactly 2 GB. This page opens the converter on Kibibyte and Gibibyte, the binary units an operating system usually means when it labels a file KB or a disk GB, and it recalculates as you type to twelve significant digits, switching to exponential form below a millionth so 1 KB reads as 9.536743e-7 GB instead of a row of zeroes. Underneath the answer, the same size appears in bits, bytes, kB, MB, GB, TB, MiB and TiB at once, so the decimal figure a drive maker would quote is on the same screen as the binary one. The swap button turns the page around into GB to KB.

To9.536743e-7
Category
Digital storage
Base unit
byte

1 KiB in every digital storage unit

  • Bitbit
    8,192
  • ByteB
    1,024
  • KilobytekB
    1.024
  • MegabyteMB
    0.001024
  • GigabyteGB
    0.000001024
  • TerabyteTB
    1.024e-9
  • MebibyteMiB
    0.0009765625
  • GibibyteGiB
    9.536743e-7
  • TebibyteTiB
    9.313226e-10

Common questions

How many KB are in a GB?
1,048,576, when KB and GB mean the binary units a computer usually reports: a KB is 1,024 bytes and a GB is 1,024 x 1,024 x 1,024 bytes, which is 1,073,741,824. So one GB is 1,024 MB and 1,048,576 KB. Under the decimal definition that drive makers and macOS use, one GB is 1,000,000 kB instead. This page opens on the binary pair, listed in the menus by their unambiguous names Kibibyte and Gibibyte, and the decimal pair (Kilobyte, Gigabyte) is in those same two menus.
What is the formula for KB to GB?
GB = KB / 1,048,576, which is the same as dividing by 1,024 twice: once to reach MB, again to reach GB. Every factor here is an exact power of two, so the arithmetic is exact rather than rounded: 1,048,576 KB comes back as 1 GB and not as 0.99999. If you want the decimal pair instead, pick Kilobyte and Gigabyte in the two menus and the formula becomes GB = kB / 1,000,000.
What is 500,000 KB in GB?
0.476837158203 GB, a little under half a gigabyte. The same division gives 250,000 KB as 0.238418579102 GB, 1,000,000 KB as 0.953674316406 GB, 1,500,000 KB as 1.43051147461 GB and 4,000,000 KB as 3.81469726563 GB. A round answer only turns up when the KB figure is a whole multiple of 1,048,576: 1,048,576 KB is exactly 1 GB, 2,097,152 KB is exactly 2 GB and 5,242,880 KB is exactly 5 GB.
What is 1 KB in GB?
0.00000095367431640625 GB, which is 1 divided by 1,048,576. The page prints it as 9.536743e-7, because anything below a millionth is shown in exponential form rather than as a string of leading zeroes. The list underneath puts the same kibibyte at 1,024 bytes, 1.024 kB and 0.000001024 GB on the decimal scale, and going the other way is the comfortable direction: 1 GB is 1,048,576 KB.
What is the difference between KB and KiB, or GB and GiB?
A kilobyte (kB) is 1,000 bytes and a kibibyte (KiB) is 1,024. A gigabyte (GB) is 1,000,000,000 bytes and a gibibyte (GiB) is 1,073,741,824. The KiB and GiB names are the unambiguous ones, which is why the menus on this page use them, and this page's KB to GB is that binary pair, because that is what Windows means when it reports a file in KB. The two families are about 7.37% apart at this size: 1 GiB is 1.073741824 GB. That same gap is why a 1 TB drive is sold as a terabyte and shows up as about 931 GB.
Can I convert GB back to KB here?
Yes. The swap button between the two boxes reverses the pair, so the page becomes GB to KB: 1 GB gives 1,048,576 KB and 2 GB gives 2,097,152 KB. The same gigabyte also appears as 1,024 MB and 1,073,741,824 bytes in the list underneath. Both unit menus stay open as well, so a figure will go from GB to MB, TB, bits or the decimal kB without leaving the page.
Why does the page open on kibibytes when I last converted something else?
Because a page that names a pair should show that pair. This one sets Kibibyte and Gibibyte on arrival, ahead of whatever the converter last remembered, and it leaves the main converter's own memory alone: go back to the full unit converter and it is still on the pair you left it on. The number you last typed does travel with you, since it is usually the one you are still working on.

Conversion factors are the exact legal definitions where one exists. An inch is exactly 2.54 cm and a pound exactly 0.45359237 kg, so those conversions are exact rather than approximate. Temperature uses offsets rather than factors, and that is shown in the working.