KB to GB conversion guide
Converting kilobytes to gigabytes is one of the most common storage calculations โ whether you're checking a file size, comparing cloud storage plans, or estimating how many photos fit on a drive. This page gives you an instant KB to GB converter plus the formulas and context you need to understand the result.
What is a kilobyte (KB)?
A kilobyte (KB) is a decimal unit of digital storage equal to 1,000 bytes. It's used for very small files: a short text document, a tiny icon, or a few seconds of low-quality audio. The "kilo" prefix means 1,000 in the International System of Units (SI), so 1 KB = 1,000 bytes exactly.
What is a gigabyte (GB)?
A gigabyte (GB) is equal to 1,000 megabytes, or 1,000,000,000 bytes. It's a familiar unit for phone storage, cloud plans, and video files. For example, a 1080p movie might be 2โ4 GB, and a modern smartphone often comes with 128 GB or 256 GB of storage.
How to convert KB to GB (decimal formula)
Because these are decimal units, the conversion is a simple division by one million:
GB = KB รท 1,000,000
or equivalently: GB = KB ร 0.000001
Example: Convert 5,000 KB to GB.
- 5,000 รท 1,000,000 = 0.005 GB
- Check: 0.005 GB ร 1,000,000 = 5,000 KB โ
How to convert GB back to KB
To go the other way, multiply by one million:
KB = GB ร 1,000,000
Example: 2 GB ร 1,000,000 = 2,000,000 KB.
Common KB to GB conversions
| Kilobytes (KB) | Gigabytes (GB) |
|---|---|
| 1,000 KB | 0.001 GB |
| 5,000 KB | 0.005 GB |
| 10,000 KB | 0.01 GB |
| 100,000 KB | 0.1 GB |
| 500,000 KB | 0.5 GB |
| 1,000,000 KB | 1 GB |
| 5,000,000 KB | 5 GB |
| 10,000,000 KB | 10 GB |
Decimal vs binary storage units (KB vs KiB)
There are two parallel systems for measuring digital storage, and mixing them up causes most confusion about "missing" storage space.
- Decimal (SI) units: KB, MB, GB, TB, PB. Based on powers of 1,000. Used by storage manufacturers, network speeds, and this converter.
- Binary (IEC) units: KiB, MiB, GiB, TiB, PiB. Based on powers of 1,024. Used by some operating systems and software.
The binary equivalents are: 1 KiB = 1,024 bytes, 1 MiB = 1,024 KiB, 1 GiB = 1,024 MiB. Because 1,024 is larger than 1,000, a binary gigabyte (GiB) is actually about 7.4% larger than a decimal gigabyte (GB). That's why a drive labeled "500 GB" may show as roughly "465 GiB" in a tool that uses binary units.
Why operating systems may display storage differently
Windows historically uses binary units but labels them with decimal names (showing "GB" when it really means GiB). macOS and Linux increasingly use decimal units. This inconsistency means the same drive can appear to have different capacities depending on the OS. Additionally, some of a drive's space is reserved for formatting and system files, so the usable capacity is always a bit less than the advertised number.
This converter uses strict decimal units to match how storage is advertised and sold: 1 KB = 1,000 bytes and 1 GB = 1,000,000 KB. We never mix decimal and binary math, so your results stay consistent and predictable.
Practical examples
- A 3 MB photo is about 3,000 KB โ only 0.003 GB.
- A 700 MB CD holds roughly 700,000 KB, or 0.7 GB.
- A 1 TB drive is 1,000,000,000 KB โ one billion kilobytes.
- 1 GB of data = 1,000,000 KB, which is about 1,000 average web pages or a few hundred photos.