Enter kilobytes to find decimal gigabytes, then compare the result with the binary GiB value if your source may use 1024-based units.
Table of contents
How to use our KB to GB Converter
- Copy the number from file details, a log, a quota, a spreadsheet, or storage documentation into "Kilobytes (KB)."
- Enter a plain number, a decimal, scientific notation, or a number with a KB or kB suffix. Use commas only in thousands groups, such as 1,000,000.
- Select "Calculate" to get the decimal gigabytes answer, which is the usual choice for an amount labeled KB or kB.
- Read the GiB comparison only if the original source uses 1024-based KiB units, even if its screen loosely says KB.
- Sanity-check the source label before using the answer: uppercase B means bytes, while lowercase b means bits and needs a different conversion.

Definitions
KB or kB: A kilobyte written with an uppercase B for bytes. In decimal units, 1 kB equals 1,000 bytes.
GB: A decimal gigabyte. One GB equals 1,000,000 kB.
KiB: A kibibyte, a binary unit equal to 1,024 bytes.
GiB: A gibibyte, a binary unit equal to 1,048,576 KiB.
Bytes and bits: Uppercase B means bytes. Lowercase b means bits, a different and smaller unit.
Decimal and binary prefixes: Decimal prefixes scale by 1,000, while binary prefixes scale by 1,024.
Common mistakes and quick fixes
Mistake: Treating KB and KiB as the same unit.
Fix: Use the decimal GB answer for KB or kB. Use the GiB comparison only when the source amount is actually KiB-based.
Mistake: Entering "kb" with a lowercase b.
Fix: Enter KB or kB for kilobytes. Lowercase b means bits, not bytes.
Mistake: Placing commas incorrectly, such as 1,01.
Fix: Use standard groups such as 1,000 or 1,000,000, or enter the number with no commas.
Mistake: Reading a small nonzero conversion as zero.
Fix: Open "Advanced options" and increase "Result decimal places" to show more digits.
Mistake: Entering a negative storage amount.
Fix: Enter 0 KB or more. File and storage amounts cannot be negative in this converter.
Limitations & Key Assumptions / Boundary Conditions
- The first answer assumes the entered amount is decimal KB or kB, where 1 GB equals 1,000,000 kB.
- The GiB card treats the same entered number as KiB. It cannot determine whether a source labeled KB actually intended KiB.
- This converter accepts byte amounts only. Values labeled kb, Mb, or Gb are bit amounts and need a bit-based conversion.
- Visible values are rounded to the selected decimal places, while the calculations retain unrounded values.
- The input must be one finite amount of 0 KB or more. Ranges, formulas, malformed comma grouping, and Infinity are not accepted.
Methodology
Conversion method
The first card uses decimal storage units. The second card answers a separate comparison question by treating the entered count as KiB, which is useful only for a source that uses 1024-based units.
decimal GB = entered KB / 1,000,000
binary GiB = entered count as KiB / 1,048,576
Decimal prefixes scale by powers of 1,000. Binary prefixes scale by powers of 1,024.
Worked example
Enter 1,000,000 KB. The decimal calculation is 1,000,000 / 1,000,000 = 1.000000000 GB. If the same count is interpreted as KiB, 1,000,000 / 1,048,576 = 0.953674316 GiB when displayed to 9 decimal places.
Calculation details
The calculator accepts a finite nonnegative number, normal comma grouping, scientific notation, and a KB or kB suffix. It rejects lowercase kb because lowercase b means bits. Changing "Result decimal places" changes displayed rounding only, not the underlying conversion.