Print Size ↔ Pixel Calculator

Type a physical size and a DPI to get the pixels a print needs; type pixels and a DPI to get the size the print will be. Both directions update as you type.

Print Size ↔ Pixel Calculator

Printed size → pixels

Pixels = inches × DPI. A millimetre size is divided by 25.4 first, which is why 210 × 297 mm at 300 DPI is 2480 × 3508 px.

Pixels → printed size

Inches = pixels ÷ DPI. This is the size a lab prints when it honours the file's resolution tag.

Three steps — nothing to install

  1. Pick a direction

    Printed size to pixels for “what resolution do I need?”, pixels to printed size for “how big will this print?”.

  2. Enter the numbers

    Millimetres, centimetres or inches, and the DPI the lab asked for.

  3. Read the answer

    The result updates live and includes the megapixel count, so you can tell whether your source has enough detail.

The only formula you need

Pixels = inches × DPI. Convert millimetres by dividing by 25.4, centimetres by dividing by 2.54. A 4 × 6 inch print at 300 DPI is therefore 1200 × 1800 pixels, and an A4 page (8.27 × 11.69 in) is 2480 × 3508.

Running it backwards: inches = pixels ÷ DPI. A 3000-pixel-wide file at 300 DPI is 10 inches wide; at 150 DPI it is 20.

Where 300 DPI comes from

300 pixels per inch is the print-industry rule of thumb for an image viewed at arm's length. A poster seen from a metre away is fine at 150 DPI; a photo book is not. Phone screens are around 400–500 ppi, which is why the same image looks sharp on a phone and soft on paper.

The megapixel figure in the result is the real constraint: 2480 × 3508 is 8.7 megapixels, so a 5-megapixel photo cannot fill an A4 page at 300 DPI without being enlarged.

Why the DPI tag still matters

A lab that prints by pixel dimensions ignores the tag. One that lays files out by their stated resolution does not: a 1200 × 1800 file tagged 72 DPI can be placed at 16 × 25 inches and look terrible. That is what the DPI changer is for.

This page is pure arithmetic and never sees a file, so nothing is uploaded. Use the resizers when you want the file produced at the size you just calculated.

Frequently asked questions

How many pixels is a 4×6 print at 300 DPI?1200 × 1800. Multiply 4 and 6 inches by 300.
What DPI should I use for printing?300 for photos viewed in the hand, 150 for posters and large prints, 600 only when the source has the detail.
How big can I print a 12 MP photo?About 4000 × 3000 pixels, which is 13.3 × 10 inches at 300 DPI, or 26 × 20 inches at 150 DPI.
Does changing DPI change the pixels?No. It changes the size the same pixels are printed at. Use a resizer to change the pixels.
Is anything uploaded?No — the calculator runs entirely in the page.