The upload form is blunt: photo must be under 300 KB. Your phone photo is 4 MB, more than thirteen times too big. The usual response is to open a compressor, drag the quality slider most of the way down, and hope. Sometimes it comes out far smaller than needed, quality thrown away for nothing, and sometimes it still misses the limit.
The better way is not a secret setting. It is a short loop: set a sensible quality, read the size the tool reports, look at the preview, adjust once, and stop the moment you are under the target. This worked example runs that loop on a 4 MB phone photo using the free Image Compressor on Ovatly, and it is honest about the one thing most guides fake: nobody can tell you in advance exactly where your photo will land.
Contents
- Quick answer
- Why this is a loop, not a setting
- What the documented example tells us
- The run: a 4 MB photo down to 300 KB
- How to judge the preview at each step
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Open the Image Compressor, add the 4 MB photo, choose JPEG, and set the quality slider to 80 percent. Read the after-size the tool shows you. If it is at or under 300 KB, check the preview and download. If it is still over, lower the quality in small steps, reading the after-size after each move, and try WebP if the destination accepts it and JPEG is stalling above the target. Stop at the first setting that lands at or under 300 KB with a clean preview: that stopping rule, not any particular number, is what protects the quality.
Why this is a loop, not a setting
The compressor re-encodes your image at the quality you choose, and the result updates each time you change the slider. It shows the before and after sizes and a preview, but it has no field where you type 300 KB and the tool works backwards from there.
The relationship between quality and file size differs for every image, because the encoder trades fine detail for size and photos hold wildly different amounts of detail. A 4 MB photo of a plain wall and a 4 MB photo of a market crowd start at the same size and compress very differently. The loop replaces guesswork with a measurement: your file, your readout, your preview.
What the documented example tells us
The compressor's own documented example gives the loop its starting point. A typical 3 MB phone photo (4032 x 3024) compressed at 80 percent quality usually lands in the hundreds of kilobytes as a JPEG, with no visible difference at normal viewing sizes. The entry is explicit that the exact saving depends on the image: detailed photos compress less than simple graphics, and the tool always shows the true numbers for your file.
Two conclusions follow for our 4 MB photo. First, 80 percent is the right place to start: it is the documented sweet spot for photos. Second, that range is not a promise: our target sits inside it, so the loop might finish in one step or take three. Both outcomes are normal.
The run: a 4 MB photo down to 300 KB
Step 1: Load the photo and note the starting point. Tap the file box and choose the photo, or drop it onto the box. The tool shows the before size, around 4 MB; everything from here is about the after-size readout.
Step 2: Choose JPEG and set 80 percent. JPEG first, because the form that set the limit will certainly accept it. Move the slider to 80 percent and let the result update. Now read the after-size: is it at or under 300 KB? A smooth, simple photo may already be there; a detailed photo will likely still read over the target, which is expected, not a failure.
Step 3: If it is over, lower the quality in small steps. Move down a few points at a time rather than jumping to the bottom, reading the after-size after each move. Small steps matter because the settings that land just over and just under the target may differ by only a few points of quality, and those points are worth keeping. Watch the preview as you go.
Step 4: If JPEG stalls above the target, try WebP. If the quality is dropping into territory that hurts the preview while the size is still over 300 KB, switch to WebP and read the size again at a higher quality setting. WebP produces smaller files on the modern web, so it often reaches a target with quality to spare. Only take this branch if your destination accepts WebP.
Step 5: Stop the moment you are under, and download. The first setting whose after-size reads at or under 300 KB, with a preview that still looks clean, is your answer. Do not keep lowering the quality for a safety margin: a file at 290 KB and a file at 140 KB both pass the form, but only one kept its detail.
How to judge the preview at each step
The readout tells you whether you pass the form. The preview tells you what it cost. At each step, look where compression damage appears first: faces, any text the photo contains, and hard edges against the sky or a wall. Judge it at normal viewing size, where the documented benchmark is no visible difference.
If the preview still looks clean, the setting is acceptable. If faces have gone waxy or edges have smudged, you have gone a step too far: move the quality back up and take the WebP branch instead.
Limitations and honest tradeoffs
Compression is lossy: fine detail is traded for size, permanently, in the downloaded file. Keep your original 4 MB photo if you may ever need it for print or editing. The tool handles one image at a time, which suits this loop, since each photo needs its own readout and preview check anyway.
Dimensions are not changed by this tool. If a photo is so detailed that reaching 300 KB means crushing the quality, the better route is often to shrink the pixels first with the Image Resizer and then compress the smaller image, rather than forcing one tool to do both jobs. And the loop cannot be reduced to a universal recipe, because detailed photos compress less than simple ones.
Common mistakes
- Dragging the slider straight to the bottom. You will pass the form and destroy detail you could have kept. Start at 80 percent and walk down.
- Re-compressing the compressed copy. Each pass discards more detail. For another attempt, start again from the original 4 MB file.
- Chasing a round margin under the target. 300 KB is a ceiling. A result at 295 KB is a complete success, not a near miss.
- Skipping the preview. The readout alone cannot tell you the photo still looks like itself. Read the size, then look at the picture.
FAQs
Can the Image Compressor compress to an exact size like 300 KB? There is no target-size field. You move the quality slider, and the result updates each time you change it, showing the true before and after sizes. Reaching a limit such as 300 KB means lowering the quality in steps until the after-size reads at or under the target, then stopping.
What quality setting should I start at? 80 percent. It is the sweet spot for photos on the web: much smaller files with no visible loss for most people. From there, drop in small steps only as far as the target requires, and stay at 90 percent or above when every detail matters.
Why did my photo stay bigger than a friend's photo at the same setting? The exact saving depends on the image. Detailed photos compress less than simple graphics or smooth scenes, because there is more real information to store. Two photos of the same pixel size at the same quality setting can land at very different file sizes.
Should I choose JPEG or WebP to reach 300 KB? Choose JPEG for the widest compatibility, since every form, email client and website accepts it. Choose WebP for smaller files on the modern web; it often reaches a target at a higher quality setting, but only use it where the destination accepts WebP.
Is my photo uploaded for compression? No. Your browser does the compression itself using its built-in image encoder. The image never leaves your device, so the loop of test settings costs nothing and risks nothing.
Conclusion
Reaching 300 KB from 4 MB is not about finding one magic quality number. It is a measured loop: start at 80 percent, read the after-size, check the preview, step down only as far as the target forces you, and stop the moment you are under. The Image Compressor gives you the true numbers for your file at every step, which is what makes the loop work. Text-heavy images play by stricter rules; our guide to compressing a screenshot without making text blurry covers that case. For more, see our Image Tools guides.
References
- web.dev (Google), on serving responsive images at the sizes displays actually need: https://web.dev/articles/serve-responsive-images
- MDN Web Docs, on image file types and the formats browsers support: https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types