Pixels to Inches Converter

Convert px to inches, or inches to px, at any DPI. Works in centimetres and millimetres too, for a single length or a width × height, and tells you how big a photo will print.

  1. 1Enter a size
  2. 2Pick the DPI
  3. 3Read the result

1Size

Changing the unit converts what's in the boxes. Changing the DPI keeps the numbers you typed and recalculates the rest.

2Resolution (DPI / PPI)

300 for photo prints you hold in your hand, 150 for posters seen from a few feet away, 96 for CSS and web layouts, 72 is an old screen default. Type any value for your printer or screen.

3Result

–

UnitWidthHeight

Pixels are rounded to the nearest whole pixel (the exact value is shown when it isn't whole). Inches and centimetres are rounded to 3 decimals, millimetres to 2.

+Or load an image to read its pixel size

Common print sizes in pixels

Pixel width × height for each size, worked out by this page from the paper's real dimensions. Portrait orientation; swap the numbers for landscape. Pick a row to load it into the converter. On a phone, swipe the table sideways for 150 and 72 DPI. For photo lab print sizes with their sources, and a cropper, see the photo size chart.

Size300 DPI150 DPI72 DPI

How to convert px to inches and inches to px

A pixel only gets a physical size once you pick how many go into each inch, the DPI (or PPI). Then the maths is one step:

pixels = inches × DPI
inches = pixels ÷ DPI

  • A 4 × 6 in photo at 300 DPI needs 1200 × 1800 px.
  • An image 3000 px wide prints 10 in wide at 300 DPI, or 20 in at 150 DPI.
  • For centimetres, divide by 2.54 first (1 in = 2.54 cm exactly). For millimetres, divide by 25.4.

Pixel sizes in inches

Common image sizes in inches at 300 DPI (print) and 96 (CSS), worked out with inches = pixels ÷ DPI and rounded to two decimals.

PixelsAt 300 DPIAt 96 DPI
1080 × 10803.6 × 3.6 in11.25 × 11.25 in
1200 × 18004 × 6 in12.5 × 18.75 in
1920 × 10806.4 × 3.6 in20 × 11.25 in
3000 × 200010 × 6.67 in31.25 × 20.83 in
3840 × 216012.8 × 7.2 in40 × 22.5 in
4000 × 300013.33 × 10 in41.67 × 31.25 in

Millimetres to pixels (mm to px) and px to mm

Choose Millimetres under I'm entering to convert mm to px: the results table gives the size in pixels, inches and centimetres at your DPI. Enter pixels and the mm row gives px to mm. The maths: pixels = mm ÷ 25.4 × DPI, and mm = pixels ÷ DPI × 25.4.

  • 100 mm is 1181 px at 300 DPI and 378 px at 96 DPI.
  • 1000 px is 84.67 mm at 300 DPI and 264.58 mm at 96 DPI.

DPI, PPI and how many pixels are in an inch

On the web an inch is exactly 96 pixels: CSS defines 1in = 2.54cm = 96px (W3C CSS Values and Units Level 4, §6.2). That CSS pixel is a "reference pixel": on screens a CSS inch is 96 CSS pixels but rarely a ruler inch, since a phone may draw each CSS pixel with 2 or 3 device pixels. For print, the spec recommends tying the units to physical size, so a CSS inch prints as a real inch.

In print an inch holds as many pixels as the DPI you print at. Strictly, PPI is how many of the image's pixels go into each printed inch (the Resolution field, which Adobe's Photoshop help describes as pixels per inch; read 13 November 2026), and DPI is how many dots a printer lays down. Apps and print shops usually say "300 DPI" for a 300 PPI image, and this converter treats them the same.

Worked example: a 3000 × 2400 px photo at 300 PPI prints at 10 × 8 in. An inkjet set to 1200 DPI draws each of its pixels with up to a 4 × 4 group of ink dots (1200 ÷ 300 = 4). A higher printer DPI makes the dots finer; it doesn't add pixels. Likewise the DPI number stored in a file is only a label: the same 3000 px is 10 in at 300 DPI or 20 in at 150 DPI, and changing it doesn't make the picture sharper. To print bigger at the same DPI you need more pixels.

Which DPI to use

  • 300 DPI: the usual target for photos, flyers and anything read at arm's length.
  • 150 to 200 DPI: often enough for posters and banners seen from a few feet away.
  • 600 DPI: scans of line art, text and fine detail. US Letter at 600 DPI is 5100 × 6600 px.
  • 96: CSS pixels in web design. 72: an old Mac screen standard that many apps still write as a default.
  • Your printer or print shop may ask for something specific. Use their number in the custom box.

Metric paper doesn't land on whole pixels: A4 (210 × 297 mm in the W3C's CSS Paged Media page sizes, read 27 October 2026) is exactly 2480.31 × 3507.87 at 300 DPI, which the table above rounds to 2480 × 3508.

Your picture is read by this page only and never uploaded. Everything you type stays in this page. No cookies unless you accept: what we count.

Created by Saad Danish.

Report a problem or suggest a feature

More free tools