Calcylator
Bytes to Kilobytes

Bytes to kilobytes:
divide by 1,000

Convert bytes to KB for file sizes and memory limits, with a chart, worked examples and a clear note on KB versus KiB.

Calcylator Editorial Team

Updated · 5 min read

How many bytes are in a kilobyte?

In decimal units, 1 kilobyte (KB) is 1,000 bytes. The converter on this site uses these decimal units, where the prefix kilo means exactly one thousand, the same as in kilometre or kilogram. So 1,000 bytes is 1 KB and 500 bytes is 0.5 KB.

Some software counts in powers of two instead. In that system 1,024 bytes is called a kibibyte (KiB). The two are close but not identical, and knowing which one a program means explains most of the small mismatches between file sizes shown in different places.

The bytes to KB formula

Bytes to kilobytes =KB = bytes ÷ 1,000
KB:
size in kilobytes (1 KB = 1,000 bytes)
bytes:
size in bytes
1,000:
bytes in one kilobyte
To go the other way, multiply: bytes = KB × 1,000.
  • Text file size

    1,536 bytes

  • Divide

    1,536 ÷ 1,000

Size in KB

1.536 KB

In binary units the same file is 1,536 ÷ 1,024 = 1.5 KiB.

  1. Write the size in bytes.
  2. Divide by 1,000 (move the decimal point three places left).
  3. Check that the result is a thousand times smaller than the byte count.

Chart: bytes to KB

Bytes to kilobytes (1 KB = 1,000 bytes)
BytesKilobytes (KB)
10.001
20.002
50.005
100.01
250.025
500.05
1000.1
2500.25
5000.5
1,0001

A handy picture: a plain English character in basic ASCII text takes 1 byte, so roughly a thousand characters, about a short paragraph, come to around 1 KB of plain text.

Kilobytes versus kibibytes

Kibibyte (KiB) was introduced to name the 1,024-byte unit unambiguously. Operating systems and storage vendors have not always agreed on which to display, so the same 3,200-byte file can appear as 3.2 KB in one tool and about 3.13 KiB in another.

A second worked example: a 3,200-byte configuration file is 3,200 ÷ 1,000 = 3.2 KB in decimal units. Divide by 1,024 instead and you get 3.125 KiB. Neither is wrong; they measure with different rulers.

More examples: small files and exact sizes

Round binary sizes make a good test. A file of exactly 4,096 bytes is 4.096 KB in decimal units, but 4,096 ÷ 1,024 = 4 KiB exactly, which is why people who work with memory prefer the binary unit. A file of 64,000 bytes is a tidy 64 KB in decimal units, and one of 12,800 bytes, such as a small web icon, is 12.8 KB.

Going up the ladder, 1,000,000 bytes is 1,000 KB, which is 1 MB in decimal units. Whenever a number of bytes is very large, convert to KB first, then divide by 1,000 again for MB, and you will rarely lose track of the decimal point.

Before you trust a displayed size, find out which unit the tool uses. If a download page says 100 KB and your file manager says 97.7 KB for the same file, nothing is broken: 100,000 bytes divided by 1,024 is 97.66, so the two tools simply divide by different numbers.

Common mistakes when converting bytes to KB

  • Dividing by 1,024 and calling the answer KB. That result is in KiB.
  • Confusing bits and bytes. One byte is 8 bits, and a lowercase b in 'kb' can mean bits in network speeds.
  • Multiplying instead of dividing. A kilobyte is larger than a byte, so the KB number must be smaller.
  • Slipping a decimal place. 800 bytes is 0.8 KB, not 0.08 KB.

Common questions

How many bytes are in 1 KB?

In decimal units, 1 KB is 1,000 bytes. In binary units, 1 KiB is 1,024 bytes. This site uses decimal units for KB, MB and GB, so a 1,000-byte file is exactly 1 KB and a 500-byte file is 0.5 KB.

How do I convert bytes to KB?

Divide the number of bytes by 1,000. For example, 2,500 bytes ÷ 1,000 = 2.5 KB. Moving the decimal point three places to the left does the same job. For KiB, divide by 1,024 instead.

How many KB is 1,000 bytes?

A size of 1,000 bytes is exactly 1 KB in decimal units. In binary units it is a little under one KiB, because 1,000 ÷ 1,024 is about 0.977 KiB. That small gap is why the two systems show slightly different numbers.

How do I convert KB to bytes?

Multiply the kilobytes by 1,000. For example, 4.5 KB × 1,000 = 4,500 bytes. If a program is using KiB, multiply by 1,024 instead, so 4.5 KiB is 4,608 bytes.

Was this guide helpful?

Continue reading

View all blogs