Image resolution is usually measured as pixel dimensions: the number of pixels across an image multiplied by the number of pixels down. A file that is 4,000 pixels wide and 3,000 pixels high has a resolution of 4,000 × 3,000 pixels.
That is the most reliable answer for a digital image. Megapixels summarize the same pixel count. PPI describes how densely those pixels are placed when the image is displayed or printed at a physical size. DPI describes printer dots, not the pixels stored in the image.
The terms are often mixed together, so the right measurement depends on the question you are trying to answer.
The four measurements people call “resolution”
| Measurement | Example | What it tells you |
|---|---|---|
| Pixel dimensions | 4,000 × 3,000 px | The image's exact raster width and height |
| Total pixels | 12,000,000 pixels | How many pixel samples the image contains |
| Megapixels | 12 MP | Total pixels expressed in millions |
| Pixels per inch | 300 PPI | Pixel density at a chosen physical size |
These values are related, but they are not interchangeable.
Pixel dimensions are the digital source of truth
Every raster image is a rectangular grid. Width × height describes that grid without assuming a screen size, print size, or viewing distance.
For example:
- 1,920 × 1,080 px is commonly called Full HD.
- 3,000 × 2,000 px contains 6 million pixels.
- 4,032 × 3,024 px contains about 12.2 million pixels.
If you need to know whether an image fits a website slot, whether a screenshot contains enough source pixels, or how far apart two features are in the file, start with pixel dimensions.
Megapixels summarize area, not shape
To calculate megapixels, multiply width by height and divide by one million:
megapixels = width in pixels × height in pixels ÷ 1,000,000
A 4,000 × 3,000 px image is 12 MP. A 6,000 × 2,000 px panorama is also 12 MP, even though its shape is completely different. Megapixels are useful for comparing total pixel counts, but they do not tell you the aspect ratio, subject sharpness, or practical crop room.
PPI connects pixels to physical size
Pixels have no inherent physical length. A 3,000 px-wide image can appear 10 inches wide, 20 inches wide, or fill a phone screen. PPI becomes meaningful only after a physical output size is chosen.
PPI = pixel width ÷ print width in inches
If a 3,000 px-wide image is printed 10 inches wide, the result is 300 PPI. Printed 20 inches wide, the same file becomes 150 PPI. No pixels were added or removed; only the requested physical size changed.
For the printer-side distinction, see how to measure the DPI of an image.
How to check an image's resolution
The quickest method is to inspect the image's pixel dimensions.
In a web browser
Open the original image in a new tab or download it, then inspect its properties. Do not assume the displayed CSS size is the source resolution. A website can show a 2,000 px image inside a 500 px-wide element—or stretch a 500 px image to 2,000 CSS pixels.
On macOS
Select the file in Finder and choose Get Info, or open it in Preview and choose Tools → Show Inspector. Look for pixel dimensions such as 4032 × 3024.
On Windows
Right-click the file, choose Properties, then open Details. Width and height are listed in pixels.
In image software
Photo editors usually show width, height, and a resolution field. Check whether “resample” is enabled before changing anything. With resampling off, changing PPI only changes the intended physical output size. With resampling on, the editor creates or removes pixels.
Resolution for screens is not a fixed PPI target
For screen use, pixel dimensions and delivery size matter more than a stored 72, 96, or 300 PPI value. Browsers lay out images using CSS pixels and select image resources based on the device, markup, and responsive rules.
A 1,200 px-wide image shown at 600 CSS pixels can provide a 2× source for a high-density display. Changing its metadata from 72 PPI to 300 PPI does not make the browser show more detail. The file still contains 1,200 pixels across.
For web delivery, ask:
- What is the largest rendered width?
- Does the design need a 2× source for dense displays?
- Can the file be compressed without visible damage?
- Are responsive image sizes supplied so small screens avoid oversized downloads?
Resolution for print depends on output size
Print planning starts with pixel dimensions and the intended print size. Divide pixels by inches to find PPI.
| Image width | Print width | Effective density |
|---|---|---|
| 3,000 px | 10 in | 300 PPI |
| 3,000 px | 15 in | 200 PPI |
| 3,000 px | 20 in | 150 PPI |
There is no universal pass/fail density. A close-viewed photo book needs more detail than a large sign viewed from across a room. Printer capability, paper, image content, sharpening, and viewing distance all affect the result.
Resolution does not equal image quality
More pixels can preserve more spatial detail, but only if the camera, focus, lens, exposure, processing, and compression preserve that detail. A blurred 24 MP photo is still blurred. A heavily compressed 4K image can show obvious blocks and ringing.
Resolution tells you the grid size. It does not directly measure:
- focus accuracy;
- motion blur;
- sensor noise;
- dynamic range;
- color accuracy;
- compression artifacts;
- whether the image contains real detail or interpolated pixels.
Read how image quality is measured for a practical multi-factor evaluation.
How zooming and resizing affect resolution
Zooming changes only the view. If you view a 1,000 × 1,000 px image at 200%, it is still 1,000 × 1,000 px.
Resizing without resampling changes the intended physical size or density metadata, not the pixel grid. Resampling changes the grid itself:
- Downsampling removes pixels.
- Upsampling creates estimated pixels between existing samples.
- Cropping removes pixels outside a selected region.
Upsampling can help a production workflow, but it cannot recover source detail that was never captured. Treat a larger pixel count after upsampling as a new grid, not proof of new information.
Measuring features inside the image
The resolution of the whole file and the distance between two points inside it are different measurements. A 4,000 × 3,000 px photograph might contain a product that is 1,240 px wide. You need the source coordinate system—not the browser's displayed size—to measure that feature correctly.
Image Measure Pro works in original-image coordinates. Zooming the canvas helps point placement but does not alter the pixel result. If you have a known reference length in the same plane, calibration can convert that pixel distance into a physical unit.
For the full workflow, read how to measure pixels in an image or follow the step-by-step image measurement guide.
The short answer
For a digital file, report image resolution as width × height in pixels. Use megapixels when you need a compact total-pixel figure. Use PPI only when pixels are being mapped to a physical size. Use DPI for the printer's dot output, not as a synonym for the image's stored detail.
When a result sounds impressive, return to the source grid. The pixel dimensions tell you what the file actually contains.