Print Size and DPI Calculator
Read a photo's pixel size, then see its print size at any dpi and the pixels a target print size needs. Exact arithmetic, no upload.
What this page does
Answers two questions about one image: how large it prints at a given dpi, and how many pixels a print size you name would need at that same dpi. It is arithmetic on the decoded pixel dimensions, not an estimate.
How to use it
Choose a file, set the options and press Render. Example: a 6000 × 4000 photo at 300 dpi becomes 20 × 13.33 inches, or 508 × 338.7 mm, with 300 ppi.
How it works
Print size is pixels divided by dpi, converted to millimetres with the international inch. The required-pixel count is inches times dpi, rounded up, and the effective ppi is the pixel width divided by the print width you asked for. Every figure is printed with the dpi it used.
What it refuses
A dpi below 1 or above 2400, a print size of zero when one is requested, a zero-size image, or a picture over the cap is refused by name.
Where it runs
The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device. It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank.
Answers two questions about one image: how large it prints at a given dpi, and how many pixels a print size you name would need at that same dpi. It is arithmetic on the decoded pixel dimensions, not an estimate.
Print size is pixels divided by dpi, converted to millimetres with the international inch. The required-pixel count is inches times dpi, rounded up, and the effective ppi is the pixel width divided by the print width you asked for. Every figure is printed with the dpi it used. The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.
Worked example: a 6000 × 4000 photo at 300 dpi becomes 20 × 13.33 inches, or 508 × 338.7 mm, with 300 ppi.
How to use the print size and dpi calculator
Choose an image file, set the options, and press Render. The result appears below the form.
Example: a 6000 × 4000 photo at 300 dpi becomes 20 × 13.33 inches, or 508 × 338.7 mm, with 300 ppi.
The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.
- Print resolution (dpi) — 1 to 2400
- Target print width (in, 0 = skip) — 0 to 200
- Target print height (in, 0 = skip) — 0 to 200
What the canvas draws
Answers two questions about one image: how large it prints at a given dpi, and how many pixels a print size you name would need at that same dpi. It is arithmetic on the decoded pixel dimensions, not an estimate.
Print size is pixels divided by dpi, converted to millimetres with the international inch. The required-pixel count is inches times dpi, rounded up, and the effective ppi is the pixel width divided by the print width you asked for. Every figure is printed with the dpi it used.
- Every option is declared by this page, so an unknown choice or an out-of-range number is refused by name before any pixel is drawn.
- The preview and the download are the same canvas: what you see is the file you get.
What it refuses, and what it leaves out
A dpi below 1 or above 2400, a print size of zero when one is requested, a zero-size image, or a picture over the cap is refused by name.
It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank.
- Not the right page for: cropping to a passport document size, which is the passport photo page
- Not the right page for: resampling the image, which is the resize page
What to Expect
Best for
- checking whether a photo is big enough for a print
- converting a pixel size into inches and millimetres
- finding the pixels a poster needs
Not ideal for
- cropping to a passport document size, which is the passport photo page
- resampling the image, which is the resize page
What this tool keeps
- The exact pixel dimensions it read
- The dpi basis of every figure
- A note when the target size exceeds the pixels you have
What may need cleanup
- Choosing a viewing-distance dpi: 300 for a hand-held print, 150 for a poster seen from a metre
- Upscaling elsewhere if the required pixels are far above the source
Common errors
- A dpi of 0 is refused rather than dividing by zero
- One target side left at 0 is ignored; fill both to get both figures
- A print larger than the pixels allow is reported with the shortfall, not refused
Example use cases
- Checking a phone photo before ordering a print
- Sizing an image for a 24 × 36 inch poster
Sample input
a 6000 × 4000 photo at 300 dpi
Sample output
20 × 13.33 inches, or 508 × 338.7 mm, with 300 ppi
Who this is for
- Photographers sending files to a printer
- Designers specifying a print size
Frequently asked questions
Does my image get uploaded anywhere?
The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.
What is the maximum image size?
It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank. The limit exists because a browser tab has to hold the decoded bitmap in memory.
What happens if the file cannot be decoded?
The page refuses it by name — unsupported type, decode failure, zero pixels, or above the pixel cap — and shows the measured size rather than drawing a blank canvas. The file you chose stays selected so you can correct one option and try again.
Does a higher dpi make my photo sharper?
No. Dpi only changes the print size the same pixels are spread over. A 6000-pixel-wide photo at 300 dpi prints 20 inches wide; at 150 dpi it prints 40 inches wide with half the pixel density.
What dpi should I use?
300 dpi is the usual hand-held print standard, 150 dpi is common for posters viewed from a distance, and 72 dpi is a screen convention rather than a print target. The page prints the ppi your file actually achieves at the size you name.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.