All guides

Image Resolution Explained: Pixels, Megapixels and DPI

What resolution really means, why DPI does not matter for screens, and how many pixels you need for websites, social media and prints.

Updated · 4 min read

"Please upload a high-resolution image." "Must be 300 DPI." "Minimum 1200 pixels wide." Requirements like these are everywhere, and they are often confusing because the same words are used for different things. This guide explains what each term means and how to give a website or print shop exactly what it asks for.

Pixels: the only number that matters on screens

A digital image is a grid of tiny colored squares called pixels. Its resolution (or dimensions) is simply how many pixels wide and tall it is, for example 4000×3000.

  • More pixels means more detail can be shown and the image can be displayed or printed larger.
  • Fewer pixels means a smaller file, but enlarging the image makes it look soft or blocky.

When you view an image on a screen, the screen decides how big each pixel appears. That is why a 1920×1080 image fills a laptop screen and also fills a much larger TV.

Megapixels

Megapixels are just total pixels divided by one million. A 4000×3000 photo has 12,000,000 pixels, or 12 megapixels (MP).

Width × heightMegapixels
1920×10802.1 MP
3024×4032 (common phone)12.2 MP
4000×300012 MP
8064×604848.8 MP

More megapixels do not automatically mean a better photo. Lens quality, light and focus matter more. But megapixels do decide how much you can crop and how large you can print.

DPI and PPI: only for printing

DPI (dots per inch) and PPI (pixels per inch) describe how densely pixels are placed when an image is printed. A 3000-pixel-wide image printed at 300 PPI is 10 inches (25.4 cm) wide. The same image printed at 150 PPI is 20 inches wide.

The DPI value stored in an image file is just a label. Changing it from 72 to 300 does not add a single pixel or any detail, and on a screen the image looks exactly the same. That is why "72 DPI for web" is a myth: screens ignore the setting entirely.

When a print shop asks for "300 DPI", what they really need is enough pixels for the print size at 300 pixels per inch.

How many pixels do you need?

For screens

UseRecommended size
Profile picture400–800 px square
Social media post1080 px wide
Blog or website imageThe display width, roughly 1200–1600 px; double it if you want extra sharpness on high-density screens
Full-screen background1920–2560 px wide
4K screen3840×2160

For prints at 300 PPI (high quality)

Print sizePixels needed
4×6 in (10×15 cm)1200×1800
5×7 in (13×18 cm)1500×2100
8×10 in (20×25 cm)2400×3000
A4 (21×29.7 cm)about 2480×3508

For large posters viewed from a distance, 150 PPI is usually enough, which halves the number of pixels needed.

Resolution vs. file size

Pixel dimensions and file size are related but not the same. File size depends on resolution, format and compression quality. A 4000×3000 photo can be 1.5 MB as a JPG or 30 MB as a PNG. The file size guide shows how to shrink files.

Reducing resolution is the most powerful way to shrink a file. Halving the width and height leaves a quarter of the pixels.

Can you increase resolution?

You can enlarge an image with Resize, but traditional resizing only stretches the existing pixels and fills the gaps by averaging. The image gets bigger, not more detailed. Small enlargements, up to about 1.5×, are often acceptable. Larger ones look soft. If a site demands a minimum size, start from the largest original you have, such as the original photo from your phone rather than a copy sent through a messaging app, which is usually downscaled.

Cropping reduces resolution

Cropping keeps the pixels inside the frame and discards the rest. Cropping a 12 MP photo down to a quarter of its area leaves about 3 MP, which is still plenty for screens but limits print size. If you plan to print, crop carefully.

A quick checklist

  • A site says "minimum 1200 px wide": check the width in pixels, and resize down if it is much larger to keep the upload small.
  • A print shop says "300 DPI at 8×10": make sure the image is at least 2400×3000 pixels. The DPI label itself is irrelevant.
  • An image looks blurry on your website: it is probably smaller than the space it is displayed in. Upload a larger version.
  • A file is too big to email: reduce the pixel dimensions first, then compress.

Key takeaways

  1. Resolution means pixel dimensions. On screens, that is all that matters.
  2. DPI only matters for printing. Changing the DPI number does not change the image.
  3. Pick the pixel size based on where the image will be shown or how large it will be printed.
  4. Downsizing is safe and shrinks files; enlarging does not add detail.

Tools used in this guide

More guides