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 × height | Megapixels |
|---|---|
| 1920×1080 | 2.1 MP |
| 3024×4032 (common phone) | 12.2 MP |
| 4000×3000 | 12 MP |
| 8064×6048 | 48.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
| Use | Recommended size |
|---|---|
| Profile picture | 400–800 px square |
| Social media post | 1080 px wide |
| Blog or website image | The display width, roughly 1200–1600 px; double it if you want extra sharpness on high-density screens |
| Full-screen background | 1920–2560 px wide |
| 4K screen | 3840×2160 |
For prints at 300 PPI (high quality)
| Print size | Pixels 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
- Resolution means pixel dimensions. On screens, that is all that matters.
- DPI only matters for printing. Changing the DPI number does not change the image.
- Pick the pixel size based on where the image will be shown or how large it will be printed.
- Downsizing is safe and shrinks files; enlarging does not add detail.
Tools used in this guide
More guides
- JPG vs PNG vs WEBP vs AVIF: Which Image Format Should You Use?A practical comparison of the four image formats you meet most often, with clear rules for photos, screenshots, logos and websites.Read guide
- How to Reduce Image File Size Without Ruining QualityHit email and upload limits like 1 MB or 200 KB by combining the right resolution, format and quality, in the right order.Read guide
- Social Media Image Sizes: A Practical Cheat SheetRecommended image sizes and aspect ratios for Instagram, YouTube, Facebook, X, LinkedIn, Pinterest and TikTok, plus how to prepare images so nothing important gets cropped.Read guide
- Aspect Ratios Explained: 1:1, 4:5, 16:9, 9:16 and 3:2What aspect ratios mean, where each common ratio is used, and how to crop photos to the right shape without losing what matters.Read guide