CalcWorldHub
Computer science · CalcWorldHub

Print Size from Pixel Dimensions and DPI

To estimate a raster image's physical print size, divide each pixel dimension by the selected pixels per inch (PPI). A 6,000 × 4,000 pixel image assigned 300 PPI prints at 20 × 13.33 inches before cropping. This calculator performs that sizing conversion; it does not judge sharpness, resample the image, or set a printer's microscopic ink-dot pattern.

Open calculator
A digital image grid is mapped onto a measured print sheet using a pixels-per-inch scale.

Share this article

Pixel width and height divided by pixels per inch produce print width and height.
Pixel count divided by PPI gives the nominal print dimension.

Pixels, PPI, and physical dimensions

Pixel width and height describe how many samples make up a raster image. Pixels per inch specifies how densely those samples are assigned across a physical print. With width W pixels, height H pixels, and resolution R pixels per inch, print width is W/R inches and print height is H/R inches. To convert inches to centimetres, multiply by 2.54.

The calculator accepts integer pixel dimensions of at least one pixel and a positive PPI value. It returns width and height in both inches and centimetres. The calculation does not alter image data; it gives the size implied by pixel counts and density. The calculator displays inches to four decimal places and centimetres to three.

Resolution changes size when pixels stay fixed

If the pixel dimensions stay fixed and the assigned PPI rises, the calculated print becomes smaller. If PPI falls, the same pixel grid is spread over a larger area. For instance, 6,000 pixels divided by 300 PPI gives 20 inches, while divided by 150 PPI it gives 40 inches. Neither operation adds or removes pixels by itself.

An image editor's resampling option changes the situation. Resampling creates or discards pixel samples to reach new pixel dimensions; changing resolution metadata without resampling changes nominal physical size while retaining the same pixel count. The calculator has no resampling control, so it reports only the direct ratio from entered pixels and PPI.

Convert pixels to physical print dimensions

Read the pixel width and height from the original or final raster file, not from a scaled preview in a web page. Enter the intended PPI value from the print specification or workflow. Do not enter an image's screen CSS size or a printer driver setting unless it is explicitly expressed as pixels per inch for the image.

Check the horizontal and vertical dimensions separately. The aspect ratio is preserved because both are divided by the same PPI. If a requested print has a different ratio, the image must be cropped, padded, or distorted elsewhere; this calculator does not choose which adjustment to make.

Worked examples

Large image at a common print density

Inputs: Width = 6,000 px; height = 4,000 px; resolution = 300 PPI

Calculation: 6,000/300 = 20 in; 4,000/300 = 13.3333 in; multiply by 2.54 for centimetres

Print size ≈ 20.0000 × 13.3333 in (50.800 × 33.867 cm as displayed).

Smaller export at half the PPI

Inputs: Width = 3,000 px; height = 2,000 px; resolution = 150 PPI

Calculation: 3,000/150 = 20 in; 2,000/150 = 13.3333 in

Print size ≈ 20.0000 × 13.3333 in and 50.800 × 33.867 cm, the same nominal dimensions as example one.

A larger pixel grid at higher PPI and a smaller grid at lower PPI map to the same print rectangle.
Different pixel counts can yield the same nominal size when PPI changes proportionally.

Worked examples at two pixel densities

Example one uses 6,000 × 4,000 pixels at 300 PPI. Width = 6,000/300 = 20 inches; height = 4,000/300 = 13.3333 inches. In centimetres, those are 20 × 2.54 = 50.8 cm and 13.3333 × 2.54 ≈ 33.87 cm. The ratio remains 3:2, matching the pixel dimensions.

Example two uses a 3,000 × 2,000 pixel export at 150 PPI. Width = 3,000/150 = 20 inches and height = 2,000/150 = 13.3333 inches, so its nominal print size matches example one. The pixel count was halved in both dimensions as well as PPI, preserving the ratio of pixels to physical size in this comparison.

Now keep the 6,000 × 4,000 pixel file but set 240 PPI: the nominal size becomes 25 × 16.667 inches. The image is larger, but whether it is acceptable depends on viewing distance, detail, and print process. The numerical conversion answers size only; it cannot determine a pass/fail quality threshold.

Use the number in a print workflow

Before ordering a print, compare the calculated dimensions with the printer's trim area and any required bleed. If the paper or product includes a border, the full file size may differ from the visible image size. Confirm whether the service interprets resolution metadata, requests exact dimensions, crops to fill, or fits the whole image with blank margins.

Compare the output aspect ratio with the frame. A 3:2 image cannot fill a 4:3 frame without cropping, padding, or distortion; choose that tradeoff in your layout tool. The calculator does not perform it.

Limits and common input errors

Do not confuse PPI with pixels per centimetre. If a specification is in pixels per centimetre, convert it by multiplying by 2.54 before entering PPI. Do not swap width and height unless rotating the image is intended. A mistaken unit or orientation may produce a valid calculation with the wrong physical interpretation.

The result is a nominal continuous size and may not align with a printer's supported paper dimensions or finishing tolerances. It ignores cropping, bleed, resampling, interpolation, non-square pixels, and device-specific rasterization. Those choices belong to the image editor and print provider.

Sources and further reading

Share this article

Browse all articles · Calculator: Pixel dimensions to print size calculator