Why Hitting a Specific File Size Is Harder Than It Looks
JPEG and PNG compression does not have a direct 'output file size' setting. JPEG compression works by reducing quality in steps — a quality setting of 80 might produce a 150 KB file from one image and a 250 KB file from another, depending on the image's complexity (number of colours, amount of detail, resolution). This means there is no single quality value that guarantees a specific output size. The only reliable approach is iterative: compress at a quality level, check the output size, adjust, and repeat. Browser-based tools can do this loop in milliseconds on your own device.
Quality-to-File-Size Reference Table for JPEG
This table shows approximate output sizes for a typical 3 MP smartphone photo (3000 × 2000 px original, ~8 MB raw). Quality 95%: ~1.5–2 MB. Quality 85%: ~500–800 KB. Quality 75%: ~250–400 KB. Quality 65%: ~150–250 KB. Quality 55%: ~100–150 KB. Quality 40%: ~60–100 KB. Quality 25%: ~30–60 KB. Quality 10%: ~15–30 KB. These ranges vary significantly by image content — a photo of a blue sky compresses much more efficiently than a crowd scene with thousands of distinct colours. Use these as starting points, not guarantees.
Step-by-Step: Compress an Image to Under 100 KB
Target: 100 KB output for a passport photo, ID card, or job application form. Step 1: Open MiniFiles image compressor in your browser. Step 2: Upload your image (processed locally — never sent to any server). Step 3: If your image is larger than 800 × 600 px, resize it first (custom dimensions are a Pro feature in MiniFiles, or use your device's photo editor). Most official forms that require images under 100 KB also specify maximum dimensions (e.g. 800 × 600 px or 400 × 300 px). Check the form requirements. Step 4: Set quality to 60%. Check output size in the preview. Step 5: If still above 100 KB, reduce to 50%. If well below 100 KB, increase to 70% for better quality. Step 6: Download. The entire process takes under 30 seconds. Passport photos can typically be compressed to under 50 KB at quality 55–60% with no visible degradation when printed at A6 size.
Step-by-Step: Compress an Image to Under 500 KB
Target: 500 KB for website uploads, email attachments, or CMSes with strict upload limits. Step 1: Start at quality 80%. This usually produces 300–600 KB from a typical smartphone photo. Step 2: If above 500 KB, try 70%. If the image is extremely high resolution (e.g. 5000+ px wide), resize to 2000 px wide first — this alone often reduces file size by 75% without any quality reduction. Step 3: Check output. Most smartphone photos land under 500 KB at 75–80% quality after resizing to 2000 px. Step 4: For product photos or images where quality matters, 80% is the minimum recommended setting for professional use.
Common File Size Requirements and What Settings to Use
Government and visa forms (passport photo under 100 KB): quality 55–65%, resize to form-specified dimensions (usually 400–800 px). LinkedIn profile photo (under 8 MB): quality 85%, no resize needed. Email attachment (under 1 MB): quality 75%, resize to 1200 px wide. WhatsApp image quality (bypass compression): send as Document. Job CV photo (under 200 KB): quality 65%, resize to 400 × 400 px. Property listing photo (under 2 MB): quality 85%, 1600 px wide. Website blog image (under 150 KB): quality 80%, 800–1000 px wide. E-commerce product (under 300 KB): quality 82%, 1200 × 1200 px.
PNG vs JPEG: Choosing the Right Format for Size Targets
JPEG is almost always the right choice when you need to hit a small file size target. PNG is lossless, which means it can't be compressed below a certain floor without converting to JPEG. A high-resolution PNG photo might be 10 MB and compress to 7 MB with lossless PNG optimisation — but converting to JPEG at quality 80% might bring it to 300 KB. If your target is under 500 KB and you're starting from a PNG, convert to JPEG first. MiniFiles supports PNG-to-JPEG conversion during compression as a Pro feature. The exception: logos, icons, screenshots with text, and images with transparent backgrounds — keep these as PNG because JPEG does not support transparency and introduces visible artifacts in flat-colour graphics.