KB Converter
Converts kilobytes to megabytes, bytes and gigabytes using 1000 and 1024, with small fractions shown in full, no scientific notation.
How many kilobytes are in a megabyte: 1000 under the decimal rule and 1024 under the binary rule. The table shows both answers side by side, and you can type a unit right in the field, like "2048 KB".
Kilobytes in school problems
School computer science courses take 1 KB as 1024 bytes. For those problems, use the "By 1024" column.
1000 or 1024
Disk and flash drive makers count by 1000: a gigabyte is a billion bytes. Windows and school computer science divide by 1024, so a 64 GB flash drive shows as 59.6 GB in Windows. Under the IEC standard, the units based on 1024 are called kibibytes (KiB), mebibytes (MiB), and gibibytes (GiB).
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