Rectangle Pixel Dimensions from Print Size and DPI Calculator

Rectangle Pixel Dimensions from Print Size and DPI Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

Wpx=Width (in)×DPIHpx=Height (in)×DPIMegapixels=Wpx×Hpx1,000,000\begin{gathered} W_{px} = \text{Width (in)} \times \text{DPI} \qquad H_{px} = \text{Height (in)} \times \text{DPI} \\[1.5em] \text{Megapixels} = \frac{W_{px} \times H_{px}}{1{,}000{,}000} \end{gathered}
Usage stats

Advertisement

Results

Pixel Dimensions
1,800 × 1,200
pixels (width × height)
Width 1,800 px
Height 1,200 px
Total pixels 2,160,000 px
Megapixels 2.16 MP

Report an error on this page

What this calculator does

This tool converts a rectangular print size, measured in inches, into the pixel dimensions an image file must have to print at a chosen resolution. Resolution is expressed in DPI (dots per inch), often used interchangeably with PPI (pixels per inch) for digital images. Knowing the required pixel size before you print, crop, or export helps you avoid blurry, pixelated results.

How to use it

Enter the width and height of your intended print in inches, then enter the target DPI. Common print resolutions are 300 DPI for high-quality photo prints, 150 DPI for posters viewed at a distance, and 72 DPI for older screen graphics. The calculator returns the exact pixel width and height, the total pixel count, and the equivalent in megapixels.

The formula explained

The math is direct multiplication. Each inch of print contains DPI pixels, so the horizontal pixel count is the print width in inches multiplied by DPI, and the vertical count is the print height multiplied by DPI. Total pixels is the product of the two, and dividing by 1,000,000 gives megapixels — useful for checking whether a camera or image source has enough resolution.

$$\begin{gathered} W_{px} = \text{Width (in)} \times \text{DPI} \qquad H_{px} = \text{Height (in)} \times \text{DPI} \\[1.5em] \text{Megapixels} = \frac{W_{px} \times H_{px}}{1{,}000{,}000} \end{gathered}$$
Advertisement
Diagram converting print width and height in inches times DPI into pixel dimensions
Each side of the print is multiplied by the DPI to get the pixel width and height.

Worked example

Suppose you want a 6 in × 4 in photo at 300 DPI. Width pixels = \(6 \times 300 = 1800\). Height pixels = \(4 \times 300 = 1200\). Total = \(1800 \times 1200 = 2{,}160{,}000\) pixels, or about 2.16 megapixels. So a 2.2 MP image is the minimum needed for a sharp 6×4 print.

Common Print Sizes and Required Pixel Dimensions

The pixel dimensions below are calculated exactly as inches × DPI, with megapixels = (width px × height px) ÷ 1,000,000. Sizes are given as width × height in inches; swap them for landscape orientation.

Print size (in) Pixels at 150 DPI Megapixels at 150 DPI Pixels at 300 DPI Megapixels at 300 DPI
4 × 6 600 × 900 0.54 1200 × 1800 2.16
5 × 7 750 × 1050 0.79 1500 × 2100 3.15
8 × 10 1200 × 1500 1.80 2400 × 3000 7.20
11 × 14 1650 × 2100 3.47 3300 × 4200 13.86
16 × 20 2400 × 3000 7.20 4800 × 6000 28.80
24 × 36 3600 × 5400 19.44 7200 × 10800 77.76

Example: an 8 × 10 in print at 300 DPI needs \(8 \times 300 = 2400\) px wide and \(10 \times 300 = 3000\) px tall, so \(2400 \times 3000 = 7{,}200{,}000\) pixels, or 7.20 megapixels. Values such as 0.7875 and 3.465 MP are rounded to two decimals in the table.

Advertisement

Recommended DPI by Print Type

These are common industry rules of thumb, not fixed standards. The DPI you actually need depends on viewing distance, the printing method, the paper, and how critical the viewer is. The farther away an image is viewed, the lower the DPI it needs.

Use Typical DPI
Screens and web images 72–96
Large posters and banners viewed at a distance 150
Acceptable everyday prints 200–240
Photo prints and magazines 300
Fine line art and detailed text graphics 600

Example: a 16 × 20 in poster at 150 DPI needs \(16 \times 150 = 2400\) by \(20 \times 150 = 3000\) px, while the same print at 300 DPI needs 4800 × 6000 px, four times as many pixels. Choosing a DPI suited to the viewing distance can save a lot of file size without a visible loss in quality.

If your image has fewer pixels than the result, you can lower the DPI (accepting a softer print) or upscale it, which cannot add real detail. Check with your print provider, as they often publish their own recommended resolution.

FAQ

What DPI should I use? 300 DPI is the standard for sharp photo prints. For large posters viewed from several feet away, 150 DPI is usually fine.

Is DPI the same as PPI? For sizing digital images they are treated the same here: both describe how many pixels map to each printed inch.

What if my image has fewer pixels than the result? The print will be upscaled and may look soft. Either reduce the print size, lower the target DPI, or use a higher-resolution source.

Last updated:

Most popular in Geometry

View all Geometry calculators