MB to KB converter
Convert megabytes to kilobytes and back, with 1 MB counted as 1024 KB or 1000 KB. Type in either box.
1024 matches Windows and most upload limits; 1000 matches macOS and phones.
1 MB = 1024 KB
Exactly 1,048,576 bytes
Compress a photo to under 1 MB
The compressor aims for the number in the calculator. If you change it after compressing, press Apply settings to redo the files. Photos stay in your browser.
Advanced image compressor
Compress multiple images with advanced settings. Supports JPEG, PNG, WebP, AVIF and more.
Drop images here, or tap to select
Support for JPEG, PNG, WebP, AVIF · Up to 50 MB each
Common upload limits
| Limit | In MB | In bytes | Target |
|---|---|---|---|
| 20 KB | 0.0195 | 20,480 | |
| 50 KB | 0.0488 | 51,200 | |
| 100 KB | 0.0977 | 102,400 | |
| 200 KB | 0.1953 | 204,800 | |
| 500 KB | 0.4883 | 512,000 | |
| 1 MB | 1 | 1,048,576 | |
| 2 MB | 2 | 2,097,152 |
Upload forms state their limits in whatever unit the developer picked: "max 2 MB" on one site, "under 300 KB" on the next. Type a number in either box and the other one updates as you type. In the binary convention used by Windows and most upload checks, one megabyte is 1024 kilobytes; in the decimal convention used by macOS, phones and drive makers it is 1000. The switch above the boxes changes between the two. If your photo turns out to be too big, drop it into the compressor right under the calculator: it takes the number you typed as its target, and the compression runs in your browser without uploading the photo.
Why there are two answers
Computer memory is counted in powers of two, so early software treated a kilobyte as 1024 bytes and a megabyte as 1024 × 1024 = 1,048,576 bytes. Drive makers and the SI system use powers of ten, where a kilobyte is 1000 bytes and a megabyte 1,000,000. In 1998 the IEC introduced separate names for the binary units, kibibyte (KiB) and mebibyte (MiB), but most software still writes KB and MB for both.
The gap is small for a single photo and grows with size: 1 MB is 1024 or 1000 KB, a 2.4% difference, while 1 GB is 1,073,741,824 or 1,000,000,000 bytes, about 7%. It is why the same 2,100,000-byte photo shows as 2.1 MB in macOS Finder and 2 MB in Windows Explorer.
Which one an upload form means
Most server-side checks compare the raw byte count with a binary limit. PHP’s upload_max_filesize and nginx’s client_max_body_size both read "2M" as 2,097,152 bytes, so a "200 KB" limit on such a site is 204,800 bytes. Some forms use decimal units and mean 200,000. When a file is close to the line, aim under the smaller figure: a photo of 195 KB passes both readings of "200 KB".
The size your own computer shows matters as well. Windows Explorer reports binary units, while macOS Finder and the file managers on iPhone and Android report decimal ones. A file Finder lists as 205 KB is 200.2 binary KB, which a strict 200 KB check rejects.
Limits you will run into
Exam and government application portals often ask for a passport photo of 20 to 50 KB and a scanned signature of 10 to 20 KB. Job portals and visa forms tend to sit between 100 KB and 1 MB. Gmail caps attachments at 25 MB and Outlook.com at 20 MB. The table on this page lists the common sizes in both conventions; pick a row and it becomes the target of the compressor above it, which then works the photo down to that size. Like the calculator, the compressor runs entirely in your browser, so the photo is never uploaded on the way.
How to convert MB to KB
Choose the convention
Leave 1024 selected for Windows sizes and most upload limits, or switch to 1000 for sizes shown on a Mac or a phone.
Type a value
Enter megabytes in the MB box or kilobytes in the KB box. The other box and the exact byte count update as you type.
Compress the photo
Drop the photo into the compressor under the calculator. It aims for the limit you just typed; download the result when it is done.
Frequently asked questions
- How many KB are in 1 MB?
- 1024 KB in the binary convention used by Windows and most upload limits, or 1000 KB in the decimal convention used by macOS and phone storage screens. Set the switch to match where your number came from.
- How do I convert KB to MB?
- Divide by 1024, or by 1000 for decimal units. 500 KB is 0.488 MB in binary units and 0.5 MB in decimal ones. Typing into the KB box above does the division for you.
- Is KB the same as kB or KiB?
- kB with a lower-case k is the SI spelling and means 1000 bytes. KiB is the unambiguous binary unit, 1024 bytes. Plain KB gets used for both, which is why this converter asks which one you mean.
- What is the difference between MB and Mb?
- A lower-case b means bits. Connection speeds are quoted in megabits per second, and one megabyte is 8 megabits, so a 10 MB photo needs at least 8 seconds to send over a 10 Mbps upload.
- How many bytes is 1 KB?
- 1024 bytes in binary units, 1000 in decimal. The byte count under the result shows the exact figure for whatever you typed, which is the number a server compares with its limit.
- My photo is 3.4 MB and the form allows 1 MB. What now?
- Type 1 in the MB box and drop the photo into the compressor below it. For a typical 12-megapixel phone photo it gets under the limit by lowering the JPEG quality and the pixel dimensions together, a little on each pass. If the form also states maximum dimensions, resize the photo first and compress it afterwards.
Recommended tools
Based on your current tool, you might also find these useful