Resize image to 4096KB

Compress any photo to 4 MB or less. Free, private, and processed entirely in your browser.

Choose Image(s) or Drag & Drop Here

Supports JPG, PNG, WebP, AVIF, BMP, SVG, and HEIC.

  • Runs in your browser
  • No upload
  • Free, no signup

Use this page when something refuses an image larger than 4 MB. The preset sets the target to 4 MB (4,194,304 bytes) and lets the tool choose the quality and, if needed, the size.

That is a large budget (about 28 megapixels of a typical photo). Most pictures will already fit, and the tool will leave quality alone unless the original is larger.

Target file size4 MB (4,194,304 bytes)
DimensionsAuto: reduced only as needed
Best formatsJPG, WebP, AVIF (PNG is lossless)
Typical pixel budget≈ 27.96 MP (6110 × 4580 at 4:3)

Related guide: How to Reduce an Image to 20KB, 50KB or 100KB for Forms

What fits in 4 MB

File size depends on both pixel count and how much detail the picture holds. The estimates below use rules of thumb for photos saved as JPG at web quality (roughly 0.08 to 0.3 bytes per pixel); your own result will vary with the image.

A typical 12-megapixel phone photo is around 3.5 MB, so it may already be under 4 MB. The tool only acts if the file is above the target.

Kind of imageRoughly fits in 4 MB
Smooth image (sky, studio backdrop, flat graphics)8360 × 6270 px (52.43 MP)
Typical photo6110 × 4580 px (27.96 MP)
Detailed photo (foliage, text, crowds)4320 × 3240 px (13.98 MP)

How to stay under 4 MB with the best quality

  • Reduce dimensions before quality if you have a choice. Fewer pixels at good quality looks better than many pixels at poor quality.
  • Check the result at 100% zoom, looking at faces and text, before you submit it.

Related presets

Same target, other wording

More in this category: Resize Image to a Target File Size. For several photos at once, use the bulk image resizer.

Frequently asked questions

How many pixels can a 4 MB image have?▼
For a typical photo at web JPEG quality, about 27.96 megapixels (around 6110 × 4580 pixels at 4:3). A flat, smooth image can have more; a very detailed one fewer. The table above gives the range.

Looking for a different size or format?

Explore over 1,500+ curated presets for social media, print, and strict file sizes.

Back to Presets Directory

Send feedback

How do you like ResizeAny?
What is it about?

With your message we send the page address, screen size and browser, to help fix problems. Your images are never sent. Privacy