Skip to content
⚠ TESTING ENVIRONMENT You are viewing a testing copy of Tolioo. Changes here do not affect the live website.

Image Resolution Calculator

Convert pixels to print size, find the pixels you need for printing, and calculate megapixels, aspect ratio and screen PPI.

  • 100% free
  • DPI, PPI & megapixels
  • Runs in your browser
Enter a size to see results.
Your Privacy Matters

All calculations run inside your browser. Images are never uploaded, logged or stored on our server.

ADVERTISEMENT
Demo Ad 728 x 90

How to use the image resolution calculator

1Enter the pixel size

Type the width and height in pixels, choose a common size, or read them from an image file.

2Pick a calculation

Choose Print size, Megapixels, Resize or Screen PPI and set the resolution, unit or target.

3Read and copy the results

See print sizes, pixels needed, aspect ratio, resize dimensions and retina sizes, then copy them.

IMAGE RESOLUTION GUIDE

Free Image Resolution Calculator – Pixels to Inches, DPI, PPI and Megapixels

How many pixels do you need to print a photo? This free image resolution calculator converts pixels to print size at any DPI or PPI, finds the pixels needed for A4, A3, posters and photo sizes, and works out megapixels, aspect ratio, resize dimensions, retina @2x and @3x sizes and screen PPI. Everything runs in your browser, so your images are never uploaded.

Pixels to Print Size

Convert pixel dimensions to inches, centimetres and millimetres at any DPI, with a quality rating.

Pixels Needed for Print

Enter a paper size and DPI to get the exact pixel dimensions, and check your image against it.

Megapixels and Aspect Ratio

Get megapixels, simplified ratio, orientation and uncompressed file size.

Resize and Retina Sizes

Scale by width, height or percent and get 1x, 2x and 3x sizes with srcset descriptors.

Screen PPI Calculator

Find the pixel density, physical size and pixel pitch of any screen.

Runs in Your Browser

All maths happens locally. Reading an image file only takes its width and height.

How to Use the Image Resolution Calculator

  1. Enter the pixels: Type the width and height of your image, pick a common size such as 1920 x 1080, or use Read from an image to take the size from a file on your device.
  2. Print size: Choose a PPI or DPI value to see how large the image prints. Switch to Print size to pixels to find out how many pixels a paper size needs.
  3. Megapixels: See the megapixel count, simplified aspect ratio, orientation and uncompressed file size.
  4. Resize: Enter a new width, height or percentage and get the new dimensions with the aspect ratio kept, plus 1x, 2x and 3x sizes.
  5. Screen PPI: Enter a screen diagonal and resolution to get its pixel density and physical size.
  6. Copy the results: One click copies the numbers and tables as text.

What Is Image Resolution?

Image resolution means two related things. First, it is the pixel dimensions of a digital image, such as 4000 x 3000 pixels, which also gives the megapixel count. Second, it is the density of pixels when the image is shown or printed, measured in pixels per inch (PPI). A 3000 pixel wide photo printed 10 inches wide has a resolution of 300 PPI, and the same photo printed 30 inches wide has only 100 PPI. The pixel count never changes, but the sharpness you see does, which is why the print size and the resolution always have to be considered together.

PPI vs DPI: What Is the Difference?

PPI counts pixels per inch in a digital image or on a screen. DPI counts the dots of ink a printer lays down per inch. A printer may use many dots to reproduce a single pixel, so the numbers are not strictly the same. In practice, tools, print shops and design software use them loosely, and for working out how big an image can print, you can use the same number for both. The 300 DPI requirement printers ask for means you should supply about 300 pixels for every inch of the final print.

Image Resolution Formulas

CalculationFormulaExample
Print size from pixelspixels / PPI = inches3000 px / 300 PPI = 10 in
Pixels needed for printinches x PPI = pixels8 in x 300 PPI = 2400 px
Inches to centimetresinches x 2.54 = cm10 in x 2.54 = 25.4 cm
Megapixelswidth x height / 1,000,0006000 x 4000 = 24 MP
Aspect ratioDivide both sides by their greatest common divisor1920 x 1080 = 16:9
Resize by widthnew height = new width x height / width1920 x 3000 / 4000 = 1440 px
Screen PPIsqrt(width² + height²) / diagonal1920 x 1080 on 24 in = about 92 PPI
Uncompressed sizewidth x height x bytes per pixel4000 x 3000 x 3 = about 34.3 MB

One inch is exactly 25.4 millimetres or 2.54 centimetres, which the calculator uses for all unit conversions.

Pixels Needed for Common Print Sizes

These sizes are calculated with the same maths as the tool. Use 300 PPI for sharp prints and 150 PPI as a lower limit for large prints seen from a distance.

Print sizePixels at 150 PPIPixels at 300 PPIMegapixels at 300 PPI
A6620 x 8741240 x 17482.2 MP
A5874 x 12401748 x 24804.3 MP
A41240 x 17542480 x 35088.7 MP
A31754 x 24803508 x 496117.4 MP
A22480 x 35084961 x 701634.8 MP
A13508 x 49677016 x 993369.7 MP
US Letter (8.5 x 11 in)1275 x 16502550 x 33008.4 MP
Photo 4 x 6 in600 x 9001200 x 18002.2 MP
Photo 5 x 7 in750 x 10501500 x 21003.1 MP
Photo 8 x 10 in1200 x 15002400 x 30007.2 MP
Poster 18 x 24 in2700 x 36005400 x 720038.9 MP
Poster 24 x 36 in3600 x 54007200 x 1080077.8 MP

What PPI Is Good Enough for Printing?

Effective resolutionPrint qualityGood for
300 PPI and aboveExcellentPhotos, magazines, brochures, business cards
240 to 299 PPIVery goodMost prints viewed at arm length
150 to 239 PPIAcceptablePosters, banners and prints viewed from a distance
100 to 149 PPILowVery large displays viewed from far away
Under 100 PPIPoorNot recommended for print

The right resolution depends on viewing distance. Business cards and photo books are held close and need 300 PPI, while billboards are seen from far away and can use far less. If your image falls short, print it smaller instead of stretching it.

Does 72 DPI vs 300 DPI Matter?

A common myth says that web images must be 72 DPI and print images 300 DPI. In reality, a browser ignores the DPI value stored in a file and shows an image using its pixel size. For print, the stored DPI is only a suggestion for the default print size. Changing it from 72 to 300 does not make a picture sharper and does not add pixels. Always judge an image by its pixel dimensions and the final size it will be displayed or printed at.

Common Image and Screen Resolutions

NameResolutionMegapixelsAspect ratio
HD1280 x 7200.92 MP16:9
Full HD (1080p)1920 x 10802.07 MP16:9
QHD (1440p)2560 x 14403.69 MP16:9
4K UHD3840 x 21608.29 MP16:9
8K UHD7680 x 432033.18 MP16:9
Phone photo (12 MP)4032 x 302412.19 MP4:3
Camera (24 MP)6000 x 400024.00 MP3:2
Social square1080 x 10801.17 MP1:1
Link preview1200 x 6300.76 MP40:21

Megapixels and Aspect Ratio Explained

Megapixels (MP) are the total number of pixels divided by one million. A 24 MP camera captures about 6000 x 4000 pixels. More megapixels allow bigger prints or more cropping, but they do not guarantee better quality, because lens, sensor size and light matter too. The aspect ratio is the proportion of width to height. Common ratios are 16:9 for video, 4:3 and 3:2 for photos, 1:1 for square social posts and 4:5 for portrait posts. Keeping the ratio when you resize avoids stretching or squashing the picture.

Image Sizes for Retina and High-DPI Screens

High-density screens pack two or three device pixels into each CSS pixel, so an image needs more pixels than its displayed size to stay sharp. Serve 2x versions for most modern laptops and phones, and 3x for the densest phone screens, using srcset so each device downloads only what it needs.

CSS width of the image1x file2x file3x file
320 px320 px640 px960 px
480 px480 px960 px1440 px
640 px640 px1280 px1920 px
800 px800 px1600 px2400 px
1200 px1200 px2400 px3600 px

Compress and resize images before upload, use modern formats such as WebP or AVIF where supported, and always set width and height attributes to avoid layout shift.

Screen Pixel Density (PPI) Examples

ScreenPixel density
Standard monitor 24 in, 1920 x 108092 PPI
Laptop 15.6 in, 1920 x 1080141 PPI
Monitor 27 in, 2560 x 1440109 PPI
Monitor 27 in, 3840 x 2160163 PPI
Phone 6.1 in, 2532 x 1170457 PPI

Pixel density is the diagonal resolution in pixels divided by the diagonal size in inches. Higher PPI means smaller pixels and sharper text at the same viewing distance.

Can You Increase the Resolution of an Image?

You can resize an image to more pixels, but ordinary upscaling only estimates the new pixels from the old ones, so it cannot restore real detail. Results look smooth but soft. AI upscalers can add convincing detail, though it is invented rather than recovered. The best fix is to start from a larger original, reshoot or rescan at a higher setting, or print at a smaller size. The Resize tab warns you whenever the new size is larger than the original.

Common Resolution Mistakes to Avoid

  • Judging by DPI alone: A 300 DPI label means nothing if the image has too few pixels.
  • Using a screenshot or web image for print: These are usually low resolution and compressed.
  • Stretching to fit: Changing width and height independently distorts the image.
  • Ignoring bleed: For print, add the printer’s bleed margin to the pixel size.
  • Oversized web images: Huge files slow pages down and hurt Core Web Vitals.
  • Forgetting retina sizes: A 1x image looks blurry on high-density screens.

Is My Image Private?

Yes. The maths runs in your browser. If you choose an image with Read from an image, your browser only opens it to read the width and height, and the file is never uploaded, saved or sent anywhere. You can check this in the network tab of your developer tools.

Limits of This Tool

The calculator works with pixel counts and does not change or read the image data, so it cannot judge sharpness, noise or compression quality. Print results are theoretical, since printers, paper and viewing distance all affect what looks acceptable. Sizes are rounded to whole pixels. Always follow the exact specification supplied by your printer or platform.

More Free Web Design and Image Tools

Check what a file really is with the file type inspector. Browse all free online tools for image, PDF, web design, SEO and security work.

ADVERTISEMENT
Demo Ad In-article
COMMON QUESTIONS

Frequently Asked Questions About Image Resolution

Short answers about pixels, DPI, print size and retina images.

What is image resolution?

Image resolution is the number of pixels in an image, written as width x height, such as 4000 x 3000. It sets how much detail the image holds. How sharp it looks on paper or a screen also depends on the size it is shown at, which is measured in pixels per inch (PPI).

What is the difference between DPI and PPI?

PPI (pixels per inch) describes how many image pixels fit in an inch on a screen or in a print layout. DPI (dots per inch) describes how many ink dots a printer places per inch. In everyday use the two are often mixed up, and for sizing an image you can treat them as the same number.

How many pixels do I need for printing?

Multiply the print size in inches by the resolution you want. For a sharp print, 300 PPI is the common standard, so an 8 x 10 inch photo needs 2400 x 3000 pixels. Large posters viewed from a distance often look fine at 150 PPI.

Does changing 72 DPI to 300 DPI improve image quality?

No. Changing only the DPI setting in a file does not add pixels or detail. It changes the size at which the image will print. What matters is the pixel size, so use this calculator to check that you have enough pixels for the print size you want.

How do I calculate megapixels and aspect ratio?

Megapixels are width x height divided by 1,000,000, so 6000 x 4000 is 24 MP. The aspect ratio is the width and height divided by their greatest common divisor, so 1920 x 1080 simplifies to 16:9. The calculator does both and also gives the decimal ratio.

What image sizes do I need for retina displays?

Provide the image at 2x, and often 3x for phones, of the size it is displayed in CSS pixels. An image shown 800 px wide needs a 1600 px file for 2x screens. The Resize tab lists the 1x, 1.5x, 2x and 3x sizes and srcset descriptors.

Is my image uploaded when I use this calculator?

No. All calculations run in your browser. If you use Read from an image, the file is opened locally only to read its pixel width and height, and it is never uploaded or stored.

ADVERTISEMENT
Demo Ad 970 x 250

All Tools, One Place

Merge, split, compress and convert files in seconds. Explore powerful free tools for all your everyday needs.

Explore All Tools →