Skip to content
Dimensions9 min read

Image dimensions, resolution, and DPI for web and print

Dimensions describe the pixel count. PPI describes pixel density in print. DPI usually describes the printer's physical dots. For the web, pixel dimensions and displayed size matter first.

Updated August 30, 2026

Three concepts

  • Pixels: the image's actual width and height.
  • PPI: pixels distributed across one printed inch.
  • DPI: physical printer dots, not web-image dimensions.
  • Resampling: adding or removing pixels during resizing.

Pixel dimensions for screens

A 1600 x 900 image contains that pixel grid regardless of the DPI value in its metadata. On the web, the browser displays it at a CSS size determined by layout.

For an 800 CSS-pixel slot, an 800-pixel source may be sufficient on a standard display. A 1600-pixel version can look sharper on a 2x display, at the cost of more transfer bytes.

Sources: [2]

PPI and DPI for print

PPI connects pixel count to physical size. A 3000-pixel image printed at 300 ppi spans 10 inches on that side. Printing it smaller increases density without creating pixels.

Adobe presents 300 ppi as a common reference for high-quality prints viewed closely, while noting that large formats viewed from a distance may use less. DPI concerns the output device.

Sources: [1]

Calculate required pixels

Multiply physical size in inches by target ppi. To convert centimeters to inches, divide by 2.54.

Example: a 15 cm wide print at 300 ppi needs about 1772 pixels. This is a planning target; paper, printer, viewing distance, and content also affect the result.

Examples at 300 ppi
Printed widthCalculationApproximate pixels
10 cm10 / 2.54 x 3001181 px
15 cm15 / 2.54 x 3001772 px
20 cm20 / 2.54 x 3002362 px
30 cm30 / 2.54 x 3003543 px

Resize without distortion

Aspect ratio links width and height. If you set width only, the converter calculates matching height. Disabling that link and forcing incompatible values stretches or squashes the image.

Downsampling removes pixels and is generally predictable. Upsampling makes an algorithm estimate new pixels: the grid grows, but no real detail is recovered.

Sources: [1]

Choose a target for each destination

For web and email, start from the largest displayed width and add a denser variant only when sharpness justifies it. For print, start from physical size and the density required by the provider.

Some Canvas-created outputs carry a default resolution value in metadata. That does not change their pixel count. Verify print size in the destination software when it is contractual.

  • Web: CSS dimensions and responsive variants
  • Email: reasonable dimensions and limited bytes
  • Social platforms: check current platform specifications
  • Print: physical size, ppi, and requested profile
  • Archive: retain original pixels

Sources: [3]

Set useful dimensions

Enter a width or height, keep aspect ratio enabled, and export a copy suited to its destination.

Resize an image

Specialized tool: Crop and resize

Resolution questions

Sources and references

  1. [1]Resolution specs for printing images - Adobe Photoshop
  2. [2]Serve responsive images - web.dev
  3. [3]HTMLCanvasElement: toBlob() method - MDN Web Docs