How to find out the pixel count of a photo and get the most out of your images

Last update: 11 September, 2025
  • PPI/DPI difference and size calculation: from pixels to cm and vice versa.
  • Real examples (album, poster, TV, slides) with recommended densities.
  • Aspect ratio and adjustments to avoid cropping or distortion.

Measure pixels and optimize images

Want to find out how many pixels a photo has and how to maximize them so it looks great on screen or in print? Understanding pixel size, density, and aspect ratio will save you from quality issues, large files, and poor print results. Here's a clear, straightforward guide designed to help you make quick and informed decisions.

In addition to measuring, you'll learn how to calculate print sizes, understand the difference between PPI and DPI, adjust aspect ratios, and manage privacy and analytics settings that many websites use when processing images. We include real-world examples (album, poster, TV, slides) and simple formulas for converting between centimeters and pixels without any hassle.

What are pixels, PPI, and DPI, and why do they matter?

A pixel is the basic unit of a digital image, and the "size" of a photo is expressed as width x height in pixels (for example, 3264 x 2448). The more pixels an image has, the more potential detail you'll have when viewing or printing it, provided the density is appropriate for the intended use.

PPI (pixels per inch) describes the image density on a screen or digital file, while DPI (dots per inch) refers to the dot density of a physical print. Although often confused, PPI is a digital concept and DPI is a printing concept; understanding the difference is key to properly preparing your images.

The ideal resolution depends on the context: for photo-quality printing, 300 dpi is usually used, while for posters, which are viewed from a distance, values ​​of 100–150 dpi are usually sufficient, and on the web, the priority is the size in pixels and the file size.

Megapixels: a quick rule of thumb. Multiply width by height (in pixels) and divide by one million; for example, 3264 x 2448 = 7.990.272, or about 8 MP. This gives you an idea of ​​the total detail available.

  • PPI (digital): density that your screen or file uses to distribute pixels per inch.
  • DPI (printing): density of ink/toner dots that the printer deposits on the paper.
  • Relationship: The final size (in cm or inches) depends on the formula: pixels / DPI = inches; inches x 2,54 = centimeters.

How to see the pixels in a photo on your devices

Windows: Right-click on the image file, go to "Properties" and then to the "Details" tab; you will see the size in pixels (for example, 4000 x 3000) and other useful metadata.

macOS: Select the image and press Command + I (or right-click "Get Info"); in "More Info" the dimensions appear; in Preview, the Tools menu "Fit Size" shows width and height in pixels.

Android: In the gallery or photos app, open the image and look for "Details" or "Information"; many apps show resolution and size; if not, use an EXIF ​​metadata viewer.

iPhone/iPad (iOS): In Photos, swipe up within the image to view data; if the resolution doesn't appear, third-party apps or Shortcuts may show the exact pixels.

  How to prevent text and images from moving in Word: a complete guide and tips

Browser/online: online services and viewers allow you to drag and drop the image and instantly see pixel dimensions, weight, and metadata without installing anything.

Practical calculations: from pixels to print and vice versa

Basic formula to convert from pixels to inches: inches = pixels / DPI. To convert to centimeters: cm = inches x 2,54. Conversely, pixels = (cm / 2,54) x DPI.

Example 1: A 13 x 18 cm album with good quality. At 300 dpi, convert to inches: 13/2,54 = 5,12″ and 18/2,54 = 7,09″. Pixels needed: 5,12 x 300 ≈ 1535 px (width) and 7,09 x 300 ≈ 2126 px (height). Round to approximately 1536 x 2126 px (about 3,3 MP).

Example 2: I have an image that is 3264 x 2448 px and I want a poster. If you use 100 dpi (suitable for viewing from a distance), the size in inches would be: 3264/100 = 32,64″ and 2448/100 = 24,48″. In centimeters: approximately 82,9 x 62,2 cm. If you increase the dpi to 150 dpi, the size would be approximately 55,3 x 41,5 cm.

Example 3: Scanning slides (35 mm) for a 40″ TV (1920 x 1080 px). The slide is 36 x 24 mm (3:2). The TV is 16:9, so it doesn't match; calculate for the height: 24 mm = 0,945″; minimum scan PPI ≈ 1080 / 0,945 ≈ 1143 ppi. A scan at ~1200 dpi is more than enough (you'll crop or add bands to fit 16:9).

Example 4: Poster 90 x 60 cm from a slide scanned at 4000 dpi. 36 mm = 1,417″ and 24 mm = 0,945″; scan pixels: 4000 x 1,417 ≈ 5669 px (width) and 4000 x 0,945 ≈ 3779 px (height). For 90 x 60 cm (35,43″ x 23,62″), the resulting density is ≈ 5669/35,43 ≈ 160 dpi and 3779/23,62 ≈ 160 dpi: perfect for posters viewed from a distance.

Practical tip: If you're not getting "round" numbers, prioritize maintaining the aspect ratio and resize with quality interpolation (bicubic or similar) for fine adjustments.

Aspect ratio and cropping without surprises

The aspect ratio (AR) indicates the proportion between width and height (e.g., 4:3, 3:2, 16:9). If you set an AR, changing one dimension will automatically adjust the other; this prevents distortion or unwanted edges.

From 3:2 to 16:9: When adapting a 35mm (3:2) photo to a 16:9 TV/monitor, you will need to crop or add bands; first calculate the critical dimension (heights in the example) to avoid losing quality in the main frame.

When printing, respect the paper's aspect ratio: sizes like 10×15 (3:2) or 13×18 (approx. 7:5) work best with photos taken in similar formats; if they don't match, plan to crop before sending to the lab.

Lock proportions in your editor: activate "maintain proportions" so that a change in width automatically recalculates the height; you'll save time and ensure visual consistency.

Quick guide to preparing images for print and web

Photo quality printing (albums, small frames): aim for a true 300 dpi at the final size; do not rescale aggressively if there are not enough pixels.

Posters and banners: you can work between 100 and 160 dpi depending on the viewing distance; prioritize good focus and absence of artifacts over "squeezing" unrealistic dpi.

Web and networks: send the exact pixel size your template or CMS needs; optimize the weight (WebP/JPEG AVIF/JPEG) and use moderate loss compression.

  How to tell if security cameras are recording? A practical and complete guide

Megapixels aren't everything: a sharp, noise-free 8 MP image is better than a blurry or out-of-focus 40 MP image; perceived quality is key.

  • Quick conversion: pixels = (cm / 2,54) x DPI; and cm = (pixels / DPI) x 2,54.
  • Color profile: Print in sRGB/AdobeRGB as requested by the lab; for web, sRGB is the safe option.

Useful step-by-step formulas

1) From physical size to pixels: pixels = (width_cm / 2,54) x DPI and (height_cm / 2,54) x DPI. Ex.: 18 cm at 300 dpi → (18/2,54) x 300 ≈ 2126 px.

2) From pixels to print size: cm = (pixels / DPI) x 2,54. Ex.: 3264 px at 150 dpi → (3264/150) x 2,54 ≈ 55,3 cm.

3) From slide to digital: pixels = DPI_scanner x inches_of_original; for 36 mm (1,417″) at 4000 dpi → 4000 x 1,417 ≈ 5669 px.

4) Calculate megapixels: MP = (px_width x px_height) / 1.000.000. Ex.: 1536 x 2126 ≈ 3,26 MP.

Solved examples and quality decisions

13 x 18 cm album “sharp-sharp”: 1536 x 2126 px at 300 dpi is sufficient; if you start with more pixels, there is no need to oversize, just export with good sharpness.

Poster with 3264 x 2448 px: at 100 dpi it gives about 83 x 62 cm; if you want to go to 70 x 50 cm, go up to ~120–140 dpi and check the focus, which is what is most noticeable from a distance.

Full HD TV Display: Your goal is to reach 1920 x 1080 px; with ~1200 dpi scanning from 35 mm, and a 16:9 crop, you'll cover the screen with no shortage of detail.

Poster 90 x 60 cm from slide at 4000 dpi: around 160 dpi resulting: very good for large format; focus on cleaning dust/scratches and noise reduction after scanning.

Privacy, cookies and analytics: what you should know

Many websites use cookies to remember preferences, facilitate access, and measure usage, and this can affect how you view/download images. A cookie is a file that your browser saves to retrieve browsing information and improve your experience.

Common types based on duration: session (deleted when the browser is closed) and persistent (last until they expire or are deleted); this affects reminders such as language, gallery view or logged-in session.

In terms of purpose, they are usually distinguished as: performance cookies (e.g., player volume or video speed), geolocation cookies (target content according to country), registration cookies (keep you logged in or check access) and analytics cookies (visit statistics and most viewed content).

Regarding registration and third-party cookies: if you log in with social networks (Facebook, Twitter, Google), a persistent cookie is stored to identify you until it expires; you can delete it or revoke access from the social network preferences.

Analytics (e.g., Google Analytics, comScore): These generate anonymous cookies to count visitors, detect trends, determine if a visit is new or recurring, and see what content attracts the most; they do not identify people, but rather browsers/devices.

Important privacy note: Unless you register and provide data, these cookies do not associate your browsing with personal information; their purpose is statistical and to optimize the user experience.

  Steam on Xbox: The whole truth and real alternatives

Typical message from platforms like Reddit: they inform you that they use cookies and similar technologies to provide and maintain the service, improve quality, personalize content/ads and measure their effectiveness; even if you reject non-essential ones, they maintain certain essential cookies; you can find more details in their Cookie Notice and Privacy Policy.

More information: If you want to learn more about what cookies are and how they work, the Wikipedia entry is a good starting point: Cookie (computing) ; regarding privacy in analytics, consult the official Google Analytics documentation.

How to disable or adjust cookies in your browser

Configure cookies in Chrome: Settings → Privacy and security → Site settings → Cookies and site data; here you choose to allow, block, or delete; Google's help details each option.

Configure cookies in Firefox: Menu → Settings → Privacy and Security → Tracking Protection and Cookies; you can customize history and cookies; Mozilla's help explains each level.

Configuring cookies in Internet Explorer (older environments): Tools → Internet Options → Privacy → Advanced/Settings; Microsoft documentation offers guides and compatibility warnings.

Configure cookies in Safari (macOS): Safari → Preferences → Privacy/Security; from there you manage blocking and deletion; see Apple's help for details.

Please note that if you block cookies completely, some functionalities will be limited, but you will still be able to access basic content. For typical image use (viewing/downloading), the impact is usually minimal, except in galleries that require a login.

Extra tips to get more out of your images

Focus and clean before thinking about dpi: good sharpness and controlled noise outweigh any "inflation" of resolution; in slide scans, remove dust and scratches before digitizing.

Export at the exact size you need: avoid uploading giant images if the template only requires 1200px width; you'll save bandwidth and improve speed.

Compress wisely: try 70–85% quality in JPEG or use WebP/AVIF if your platform and audience allow it; check for artifacts.

Manage color profiles: for web, sRGB is standard; for printing, follow the lab's instructions (sRGB or AdobeRGB) and don't forget the gamma adjustment.

Sponsored reference content: If you are looking for specialized services, there are providers focused on “Scanning Slides, Photos, and Films” (e.g., www.archivscan.ch); always consider the scanning resolution (4000 dpi for 35 mm gives very good results).

Check the aspect ratio before exporting: set it to 3:2 for 10×15 paper, approximately 7:5 for 13×18, and 16:9 for widescreen displays; this will prevent unexpected cropping.

Don't obsess over exact numbers: working in consistent ranges (300 dpi photo, 100–160 dpi poster) is more practical than chasing "magic" numbers.

If you apply these guidelines, you'll know in seconds how many pixels your photo has, what print size it can handle, and how to optimize it for web or screen, with the added benefit of understanding the fine print of cookies and analytics surrounding online image consumption.