Skip to main content
Unit ConvertersFree · no sign-up

KB to GB Converter

Convert KB to GB — a million to one, where small errors get large.

Updated

gigabytes

1.000000GB

1,000,000 KB = 1.000000 GB

In short

How many KB are in a GB?

One million. A gigabyte is 1,000 megabytes and a megabyte is 1,000 kilobytes, so 1 GB is 1,000,000 KB. Divide kilobytes by a million for gigabytes. Binary software divides by 1,048,576 instead and calls the result a gigabyte anyway.

Two steps, not one. Dividing by a thousand once is the single most common mistake on this conversion.

kilobytes to gigabytes — quick reference

kilobytes (KB)gigabytes (GB)
10,000 KB0.010000 GB
50,000 KB0.050000 GB
100,000 KB0.100000 GB
500,000 KB0.500000 GB
1,000,000 KB1.000000 GB
2,000,000 KB2.000000 GB
5,000,000 KB5.000000 GB
10,000,000 KB10.000000 GB
Computed from the exact factor — rounded only for display.

The formula, worked line by line

One division by a million, which is easier to get right than two divisions by a thousand. The single-step form is the recommendation on this page: it removes the only failure this conversion actually has, which is stopping after the first step.

Six zeros between a kilobyte and a gigabyte. If your answer has three of them in the wrong place, you divided once.
The check that catches the only common error here

It is worth doing deliberately because the wrong answer is never absurd. Four and a half gigabytes and four and a half thousand gigabytes are both quantities that exist in the world, so nothing about the result flags itself as impossible. The zeros are the only warning you get.

gigabytes = kilobytes / 1,000,000
kilobytes = gigabytes x 1,000,000
1 GB = 1,000 MB = 1,000,000 KB = 1,000,000,000 bytes
1 GiB = 1,048,576 KiB = 1,073,741,824 bytes
9,240,000 KB / 1,000,000 = 9.24 GB
kilobytes against gigabytesA twin scale: kilobytes along the top against gigabytes along the bottom, with 1000000 KB marked.KBGB002,500,0002.55,000,00057,500,0007.510,000,00010KBGB
Kilobytes against gigabytes across two decimal steps, with the binary curve drawn beside it.
A mailbox reported in kilobytes
Reported mailbox size
14,780,000 KB
Divided by 1,000,000
14.78 GB
Quota
15 GB
Headroom
0.22 GB = 220,000 KB
Mailbox
14.78 GB of 15 GB

Headroom expressed back in kilobytes is often the more useful figure, because it is the unit the individual messages are measured in. Two hundred and twenty thousand kilobytes is a lot of plain text and about five large attachments.

Why the gap grows with every step

Each prefix step multiplies the discrepancy by 1.024 rather than adding to it. One step is 2.4 percent, two steps 4.9 percent, three steps 7.4 percent and four steps 10 percent. That compounding is the whole reason the argument feels trivial at kilobyte scale and becomes a consumer complaint at terabyte scale.

The binary numbers worth recognising

Powers of two that show up in quotas
1,024
2^10, one KiB in bytes
1,048,576
2^20, one MiB in bytes
1,073,741,824
2^30, one GiB in bytes
5,242,880
5 MiB, a very common upload cap
10,485,760
10 MiB, the next one up

Recognising these on sight saves a conversion. Any limit that reads as one of them was generated by software working in binary, whatever unit label has been printed next to it.

The practical consequence is small but real: a cap advertised as 5 MB that is implemented as 5,242,880 bytes gives you 242,880 bytes more than the label promises. That is generosity rather than a trap, but it goes the other way just as often, and it is the reason to measure in bytes when anything depends on the answer.

How to use the KB to GB converter

A gigabyte is a million kilobytes. That is the whole answer, and it is worth stating as a single number rather than as two steps, because the two-step version is where people lose a factor of a thousand. Kilo to mega is one thousand, mega to giga is another thousand, and only doing one of them produces an answer that looks plausible and is wildly wrong.

The reason this conversion comes up at all is that the two ends of it are produced by different kinds of system. Machines report in kilobytes: server logs, bandwidth counters, mail quotas, mobile data records. Humans buy and discuss gigabytes: plans, drives, allowances. Converting between them is routine bookkeeping and is almost never done by hand.

1,000,000

Kilobytes in a gigabyte

decimal, two steps of 1,000

1,048,576

Kibibytes in a gibibyte

binary, 2^20

4.9%

Gap after two steps

1.024 squared

Notice that the gap has grown. One prefix step apart, decimal and binary differ by 2.4 percent. Two steps apart it is 4.9 percent, because the ratio multiplies rather than adds. That is enough to matter on a data allowance: five percent of a 20 GB monthly plan is a gigabyte, which is a couple of hours of video.

The same trap runs in reverse when reading a number aloud. Two million kilobytes sounds enormous and is two gigabytes, which is a single film at modest quality. Kilobyte totals inflate quickly enough that intuition stops working somewhere above a few hundred thousand, and that is precisely the range these reports live in.

The ladder, in full
1 kilobyte
1,000 bytes
1,000 KB
1 megabyte
1,000,000 KB
1 gigabyte
1,000,000,000 KB
1 terabyte
1 gibibyte
1,048,576 KiB

Each decimal step is three zeros. The binary ladder climbs by 1,024 instead, which is why its figures never end in round zeros and are easy to spot once you know to look.

Start from megabytes instead

If your figure is already in megabytes, one step of a thousand is all that is left. That page runs it and covers what changes between the two scales at gigabyte size.

Open MB to GB

Kilobytes converted to gigabytes on the decimal scale, with the same total expressed in gibibytes so binary readings can be compared directly.

KilobytesGigabytes (decimal)Same total in GiB
1,000 KB0.001 GB0.000931 GiB
10,000 KB0.01 GB0.009313 GiB
100,000 KB0.1 GB0.093132 GiB
500,000 KB0.5 GB0.465661 GiB
1,000,000 KB1 GB0.931323 GiB
2,000,000 KB2 GB1.862645 GiB
5,000,000 KB5 GB4.656613 GiB
10,000,000 KB10 GB9.313226 GiB
25,000,000 KB25 GB23.283064 GiB
50,000,000 KB50 GB46.566129 GiB
100,000,000 KB100 GB93.132257 GiB
Middle column divides by 1,000,000 per SI. Right column divides by 1,048,576, which is 2^20 and gives gibibytes under IEC 80000-13.

Where large kilobyte totals actually come from

Four sources produce nearly all of them. Web server logs record response sizes in bytes and are usually summarised in kilobytes. Mobile networks meter sessions in kilobytes because most sessions are small. Mail systems report mailbox size in kilobytes. And backup software lists transferred volume per file, which is naturally a kilobyte figure.

A month of mobile data, read from the records
Sessions logged
18,400
Total recorded
9,240,000 KB
Divided by 1,000,000
9.24 GB
Against a 10 GB plan
0.76 GB left
Usage
9.24 GB of 10 GB

The carrier and the handset will rarely agree to the last decimal, because one counts what crossed the network including protocol headers and the other counts what reached the application. Treat any figure this close to a cap as approximate in both directions.

The header point is worth holding on to. Metered figures include the overhead of getting data across the network, and application figures do not. On a lot of small requests that overhead is a real percentage rather than a rounding error, which is another reason two honest counts of the same month can differ.

Reading a total when you do not know the scale

At gigabyte size the decimal and binary readings are five percent apart, which is large enough to change a decision and small enough that neither figure looks obviously wrong. If the source is a disk, a network or a plan, it is decimal. If the source is memory, a filesystem tool, or anything that reports in exact powers of two, it is binary.

Do

  • Divide by a million in one step to avoid losing a factor
  • Write GiB when the figure came from a binary tool
  • Compare byte counts rather than rounded gigabyte figures
  • Treat metered and application totals as different measurements

Don't

  • Divide by a thousand and call it gigabytes
  • Expect a carrier total and a device total to match exactly
  • Round to one decimal on anything under 10 GB
  • Assume a quota written in GB uses the same scale as your file manager

One reliable tell: binary totals are exact powers of two or clean multiples of them. A quota of 5,242,880 KB is binary, because that is exactly 5 GiB. A quota of 5,000,000 KB was written by somebody thinking in decimal gigabytes. The number itself tells you which convention produced it.

Every kilobytes value, worked out

27 common kilobytes figures each get their own page, with the answer at full precision, the arithmetic, what rounding costs, and the nearest real-world reference point on the scale.

Questions people ask

Sources

Where the constants and formulas on this page come from. Each line names the figure it backs.

  1. In SI the prefix kilo denotes 10^3, mega 10^6 and giga 10^9, so a gigabyte is one million kilobytes.

    The International System of Units (SI) BrochureBureau International des Poids et Mesures

  2. One gibibyte is 2^30 bytes, 1,073,741,824, and is written GiB to distinguish it from the decimal gigabyte.

    Prefixes for binary multiplesNational Institute of Standards and Technology

  3. The binary prefixes kibi, mebi, gibi and tebi are defined for binary multiples in information technology.

    IEC 80000-13:2025 Quantities and units — Part 13: Information science and technologyInternational Electrotechnical Commission