Bytes to KB
Converts bytes to kilobytes using both 1000 and 1024 and shows both answers exactly.
To convert bytes to kilobytes, divide the number by 1,000 or by 1,024. The first rule comes from hard drive and SSD makers and from the international system of units; the second is used by Windows and in school math problems.
File properties in Windows show the size using 1,024 and drop extra digits: a file of 3,500 bytes appears there as 3.41 KB, although by the 1,000 rule it is exactly 3.5 KB.
Formula
By 1,000: KB = bytes รท 1,000. By 1,024: KB = bytes รท 1,024.
Ready-made values
| Bytes | By 1,000 | By 1,024 |
|---|---|---|
| 1 | 0.001 KB | โ 0.000 976 563 KiB |
| 100 | 0.1 KB | โ 0.097 656 3 KiB |
| 512 | 0.512 KB | 0.5 KiB |
| 1,000 | 1 KB | โ 0.976 563 KiB |
| 1,024 | 1.024 KB | 1 KiB |
| 2,048 | 2.048 KB | 2 KiB |
| 10,000 | 10 KB | โ 9.76563 KiB |
| 65,536 | 65.536 KB | 64 KiB |
| 1,000,000 | 1,000 KB | โ 976.563 KiB |
Rate this tool
Help us get better
Tell us what was missing.
Other tools
JSON Formatter
Format and repair JSON in the browser, flagging duplicate keys and long numbers
Regex Tester
Regex testing with a plain-language breakdown and hang protection
JWT Decoder
JWT parsing with fields explained and signature verification
CSV to JSON
A table to JSON with honest types and a reverse check
JSON to CSV
JSON to a table for Excel, with verification and formula protection
SQL Formatter
A readable query layout, verified against the source, with risky spots flagged
XML Formatter
Readable XML, errors explained with a hint, verified against the source
XML Validator
Markup, XSD schema, sitemap, YML and RSS rules, with the path to each error