“Upload a photo at 300 DPI.” “Image must be under 1920 pixels wide.” “Resolution too low for printing.” Instructions about image size are everywhere, and they often mix up terms that mean different things. The result is blurry prints, huge email attachments and slow web pages.
This guide untangles pixels, resolution, DPI and PPI, and gives simple rules for choosing the right size for screens and for print.
Pixels: the only size that matters on screens
A digital image is a grid of tiny coloured squares called pixels. A photo described as 4000 × 3000 has 4,000 pixels across and 3,000 down, which is 12 million pixels, or 12 megapixels. These pixel dimensions are the true size of a digital image. Everything else is a way of describing how those pixels will be displayed or printed.
On a screen, an image that is 800 pixels wide takes up 800 pixels of the display (adjusted by the device’s scaling). The DPI number stored in the file has no effect at all.
DPI and PPI: only relevant for printing
- PPI (pixels per inch) describes how many image pixels are packed into each inch when the image is printed or shown at a physical size.
- DPI (dots per inch) strictly describes how many ink dots a printer lays down per inch. In everyday use, people say DPI when they mean PPI.
The DPI value saved in an image file is just a label suggesting a print size. Changing it from 72 to 300 without changing the pixel dimensions does not add any detail; it only changes the size the image will print at by default.
The print size formula
To find how large an image can print sharply, divide its pixel dimensions by the PPI you need:
Print size (inches) = pixels ÷ PPI
A 3000 × 2400 pixel photo printed at 300 PPI comes out at 10 × 8 inches. Printed at 150 PPI, the same pixels stretch to 20 × 16 inches, with visibly less sharpness up close.
To go the other way and find the pixels you need:
Pixels needed = inches × PPI
| Print size | At 300 PPI (high quality) | At 150 PPI (viewed from a distance) |
|---|---|---|
| 4 × 6 in photo | 1200 × 1800 px | 600 × 900 px |
| 5 × 7 in photo | 1500 × 2100 px | 750 × 1050 px |
| A4 (8.27 × 11.69 in) | 2480 × 3508 px | 1240 × 1754 px |
| Passport-style 2 × 2 in | 600 × 600 px | 300 × 300 px |
300 PPI is the usual target for photos and documents viewed at arm’s length. Posters and banners seen from further away can use less, because the eye cannot see fine detail at a distance.
What size to use for the web
For websites, the goal is the smallest file that still looks sharp. A few practical rules:
- Match the display width. If your blog’s content column is 800 pixels wide, an image wider than about 1600 pixels (2× for high-density screens) adds file size without visible benefit.
- Full-width hero images are commonly exported between 1920 and 2560 pixels wide.
- Thumbnails and avatars rarely need more than 200–400 pixels.
- Compress after resizing. Resizing removes pixels you do not need; compression then shrinks the file further.
Use the free Image Resizer to set exact pixel dimensions, then the Image Compressor & Converter to reduce the file size or switch to WebP. Our guide to compressing images without losing quality covers format choices in detail.
Why enlarging a small image looks blurry
Making an image bigger than its original pixel dimensions cannot invent real detail. The software has to guess the colour of the new pixels by averaging their neighbours, which produces soft edges and blur. AI upscaling tools can guess more convincingly, but they still create detail that was not in the original. Always start from the largest original you have and scale down, never up.
Keep the aspect ratio
The aspect ratio is the relationship between width and height, such as 16:9 for widescreen video or 1:1 for a square. If you change the width and height independently, faces and objects look stretched or squashed. When resizing:
- Lock the aspect ratio and change only one dimension; the other updates automatically.
- If you need a different shape, crop first to the new ratio, then resize.
Quick checklist
- For screens: think only in pixels. Ignore the DPI setting.
- For print: multiply the print size in inches by 300 to get the pixels you need.
- For forms and uploads: read whether the limit is in pixels, file size (KB/MB) or both, and resize before compressing.
- Never upscale a small image and expect it to become sharp.
Frequently asked questions
Is 72 DPI “web resolution”?
This is a leftover from early computer monitors. Modern screens vary widely in pixel density, and browsers ignore the DPI value in image files, so it does not matter for web images.
A form asks for a 300 DPI image. What should I do?
Check the pixel dimensions the form needs, or calculate them from the print size using the formula above. Then resize to those pixels. If the form also checks the DPI label, most image editors let you set it when exporting.
Does a higher megapixel camera always give better photos?
No. More megapixels allow larger prints and more cropping, but lens quality, sensor size and lighting affect image quality far more.


