In 1 megabytes there are 1,000 kilobytes. Meanwhile in 1 kilobytes there are 0.001 megabytes. Keep reading to learn more about each unit of measure and how they are calculated. Or just use the Kilobytes to Megabytes calculator above to convert any number.
* Values rounded to 6 decimal places for readability
To convert megabytes (MB) to kilobytes (KB), multiply the MB value by the right factor. The correct factor depends on the system you use.
Binary (base-2) conversion, most common in computing:
1 MB = 1,024 KB
KB = MB × 1,024
Decimal (base-10) conversion, common in storage marketing:
1 MB = 1,000 KB
KB = MB × 1,000
Quick examples
Tip: If you see terms like MiB and KiB, those are binary units. 1 MiB = 1,024 KiB.
It depends on the standard you use. In base-10, 1 megabyte (MB) equals 1,000 kilobytes (KB). In base-2, 1 mebibyte (MiB) equals 1,024 kibibytes (KiB).
Both show up, based on context. Storage makers often use 1 MB = 1,000 KB. Many computer systems use binary units, where 1 MiB = 1,024 KiB.
KB (kilobyte) is usually a decimal unit: 1 KB = 1,000 bytes. KiB (kibibyte) is a binary unit: 1 KiB = 1,024 bytes. The names help avoid mix-ups.
MB (megabyte) is usually decimal: 1 MB = 1,000,000 bytes. MiB (mebibyte) is binary: 1 MiB = 1,048,576 bytes (1024 × 1024). Operating systems may show MiB but label it as MB.
Use the standard that matches your need:
Divide by the right factor:
Many tools report sizes using binary math but keep decimal labels. That can make a value look smaller or larger than you expect. A “1 MB” file may not match “1,000 KB” on every system.
Most common values are:
Use decimal (1,000) for storage, network speeds, and many specs. Use binary (1,024) when working with memory, some file systems, or tools that use KiB and MiB.
Not always. In older software and some system reports, “KB” may mean 1,024 bytes. If you need exact results, look for KiB vs KB in the label or check the context.
Using decimal units, 10 MB = 10,000 KB. Using binary units, 10 MiB = 10,240 KiB.
Using decimal units, 0.5 MB = 500 KB. Using binary units, 0.5 MiB = 512 KiB.
Stick to one unit system for a task. If your numbers come from storage labels, use 1,000-based math. If your numbers come from system memory or binary labels (KiB, MiB), use 1,024-based math.
The Calculate Box tool to convert megabytes to kilobytes uses the open source script Convert.js to convert units of measurement. To use this tool, simply type a megabytes value in the box and have it instantly converted to kilobytes.