Bytes to KB: Convert Bytes to Kilobytes
To convert bytes to kilobytes, divide by 1,000 for the decimal (SI) result or by 1,024 for the binary result, which is properly called a kibibyte (KiB). So 204,800 bytes is 204.8 KB decimal and exactly 200 KiB binary. Storage vendors and network figures use 1,000; Windows, Linux and RAM use 1,024.
Bytes
1.0000e+12
KB (10³)
1.0000e+9
MB (10⁶)
1.0000e+6
GB (10⁹)
1,000
TB (10¹²)
1
KiB (2¹⁰)
9.7656e+8
MiB (2²⁰)
953,674.3164
GiB (2³⁰)
931.3226
TiB (2⁴⁰)
0.9095
Bits
8.0000e+12
Join the Veojson dispatch
Get our cloud storage cost modelling spreadsheet.
One email, no spam, unsubscribe any time.
The formula
KB = bytes ÷ 1,000 (decimal, SI) or KiB = bytes ÷ 1,024 (binary, IEC). Going the other way, bytes = KB × 1,000 or KiB × 1,024. The two results differ by 2.4%, which is invisible for small files and significant for quotas, billing and capacity plans.
Which one should you use?
Use the decimal definition when you are talking to a storage vendor, sizing a cloud bill, or reading a network throughput figure. Use the binary definition when you are reading an operating-system file listing, sizing memory, or setting a limit that a programming language will enforce. If a value could be misread, state the unit precisely — write KiB rather than KB — or specify the raw byte count in the ticket and the code.
Bytes to KB conversion table
| Bytes | Decimal (KB) | Binary (KiB) |
|---|---|---|
| 1 | 0.001 KB | 0.00098 KiB |
| 512 | 0.512 KB | 0.5 KiB |
| 1,000 | 1 KB | 0.977 KiB |
| 1,024 | 1.024 KB | 1 KiB |
| 10,240 | 10.24 KB | 10 KiB |
| 102,400 | 102.4 KB | 100 KiB |
| 204,800 | 204.8 KB | 200 KiB |
| 1,048,576 | 1,048.576 KB | 1,024 KiB (1 MiB) |