Expertise in unit conversion is mostly discipline: state the factor, apply it once, and round only at the end.
For binary conversions used in computing:
- kilobytes = megabytes × 1024
- megabytes = kilobytes ÷ 1024
For decimal / SI conversions:
- kilobytes = megabytes × 1000
- megabytes = kilobytes ÷ 1000
Example 1 — email limit.
A policy allows 10 MB attachments. In binary terms that is
10 × 1024 = 10,240 KB. If the mail gateway’s admin panel shows limits in KB,
enter 10240, not 10000,
unless the vendor explicitly documents SI units.
Example 2 — reverse conversion.
A CDN rejects objects larger than 512 KB. In binary megabytes that ceiling is
512 ÷ 1024 = 0.5 MB. In decimal it would be
0.512 MB. Matching the CDN’s documentation language matters more than preferring one factor.
Example 3 — why drives “lose” space.
A disk advertised as 1,000,000,000,000 bytes (about 1 TB decimal) appears closer to 931 GiB in many operating systems
because the OS counts in powers of two. The same principle scales down to MB and KB: a decimal megabyte is 1,000,000 bytes;
a binary mebibyte is 1,048,576 bytes. This converter keeps the MB↔KB step explicit so you can spot that class of discrepancy early.