The print question
Digital images have a size in pixels, and paper has a size in centimeters or inches. The link between them is the pixel density, how many pixels are laid down per inch of the printed image. This page takes a pixel count and a density in pixels per inch and returns the printed length in centimeters. The defaults, 3,000 pixels at 300 pixels per inch, give 25.4 centimeters, which is exactly 10 inches. Use the page to check whether a photo has enough pixels for the print you have in mind, to size an image for a frame, or to understand why a picture that looks fine on a screen can look soft on a large print.
Pixels, inches and the 2.54 factor
Centimeters equals 2.54 times pixels divided by ppi. The division gives the length in inches, 3,000 divided by 300 is 10 inches, and the factor converts to centimeters. The factor is exact, because the international inch is defined as 25.4 millimeters, which is 2.54 centimeters, an agreement made in 1959 by the English-speaking national standards laboratories and now fixed in the SI conversion tables published by NIST. Other examples: 6,000 pixels at 300 ppi are 20 inches, or 50.8 centimeters. 2,400 pixels at 300 ppi are 8 inches, or 20.32 centimeters. 1,800 pixels at 150 ppi are 12 inches, or 30.48 centimeters. Applying the page to both width and height gives the print size of the whole image.
What pixel density means
Pixels per inch, abbreviated ppi, is a property of how an image is reproduced at a physical size. It is not stored in the pixels themselves. A file with 3,000 by 2,000 pixels can be printed at 300 ppi to give 10 by 6.67 inches, or at 150 ppi to give 20 by 13.33 inches. Nothing in the pixels changes, only how widely they are spread. Image files often carry a resolution tag, such as 72 or 300, but this tag is only a suggestion for software, and you can change it without altering the pixel data. What matters for quality is the density you finally print at and how far the viewer stands from the print.
PPI and DPI
People use ppi and dpi interchangeably, but they are different things. Pixels per inch describes image data. Dots per inch describes how a printer places ink dots on paper. An inkjet printer may lay down 1,200 or more dots per inch, using several dots to build one image pixel with its color and tone. This is why a 300 ppi image can print well on a printer rated at much higher dpi. The page deals with image pixels only, so enter the ppi of the image, not the dpi of the printer. When a print shop asks for 300 dpi files, they mean an image that has 300 pixels for each inch of the final print size.
How many pixels do you need
Rearranging the formula gives pixels equal to centimeters times ppi divided by 2.54. For an A4 sheet, 21 by 29.7 centimeters, printing at 300 ppi needs about 2,480 by 3,508 pixels, which is close to 8.7 megapixels. A 10 by 15 centimeter print at 300 ppi needs about 1,181 by 1,772 pixels. A poster of 50 by 70 centimeters at 150 ppi needs about 2,953 by 4,134 pixels. Compare your image dimensions with these. If you have fewer, either print smaller, accept a lower density, or resample the image, which adds pixels by interpolation but cannot create new detail. The page tells you the print length that each density gives.
Typical densities for different uses
There is no single correct density. Photo prints viewed up close are often made at 240 to 300 ppi. Magazines and fine art prints commonly use 300 ppi or more. Posters and banners are viewed from a distance and look fine at lower densities, such as 100 to 150 ppi, and billboards use much lower still. Screens are different: a laptop display might have about 110 to 220 ppi, and phones have several hundred. A web image at 72 or 96 ppi is a historical convention and means nothing for the actual display. Use the page with the density that matches your viewing distance and the demands of your printer or print shop. If in doubt, ask what the print provider recommends.
A worked example with an uneven density
A photo is 3,000 pixels wide, and you want to know its width at 240 ppi. Dividing 3,000 by 240 gives 12.5 inches, and multiplying by 2.54 gives 31.75 centimeters. At 300 ppi the same image is 25.4 centimeters wide, and at 200 ppi it is 38.1 centimeters. The lower the density, the larger the print, and the less sharp it appears up close. If a frame has an opening of 30 centimeters, you can find the density that fits by rearranging: ppi equals 2.54 times pixels divided by centimeters, which is 2.54 times 3,000 divided by 30, or 254 ppi. That is above 240, so the image has enough pixels for the frame with some room.
Screens and the 96 ppi myth
Software sometimes reports an image size in centimeters based on a default resolution such as 72 or 96 ppi. A 1,920 pixel wide image at 96 ppi is 20 inches, or 50.8 centimeters, wide, a number produced by the assumption, with no real screen behind it. A real monitor has its own pixel density, which depends on its size and resolution. The page can tell you the physical length for any density you give it, including a screen density, so it works for sizing images on displays if you know the screen ppi. For printing, ignore the default and set the density you need.
Cropping, aspect ratio and resampling
Cropping removes pixels and reduces the printed size at a given density. A 3,000 by 2,000 pixel photo cropped to 2,400 by 1,600 prints 20.32 by 13.55 centimeters at 300 ppi. Aspect ratio matters too: a 3:2 photo does not fit a 4:5 frame without cropping or borders. The page assumes no resampling, so the pixels in the file are the pixels printed. Upscaling in software adds pixels without adding real detail, and some AI-based tools can create plausible detail, but the result is a guess. For the best results, shoot or scan at a size that gives enough native pixels for the print you intend.
What the length figure does not decide
This page performs a single conversion in one dimension. It does not choose a density, judge image quality, account for bleed, margins, paper size or printer capabilities, or convert color. It does not assess whether an image is sharp, only how large it is at a given density. Results must be finite, and the pixel density must be positive. Print shops may require extra margin for bleed, often a few millimeters on each side, which adds to the pixel count you need. For critical work, make a test print at the intended size and check it from the real viewing distance.
Millimeters, inches and other print sizes
Print sizes appear in several units. The page returns centimeters, which you can multiply by 10 for millimeters, so 25.4 centimeters is 254 millimeters. To return to inches, divide centimeters by 2.54. Standard photo print sizes are defined in inches: 4 by 6 inches is 10.16 by 15.24 centimeters, 5 by 7 inches is 12.7 by 17.78 centimeters and 8 by 10 inches is 20.32 by 25.4 centimeters. A4 paper, from the ISO 216 standard, measures 210 by 297 millimeters, and A3 is 297 by 420. The 3,000 pixels at 300 ppi from the default is the width of a 10 inch print, and exactly 25.4 centimeters. Use whichever unit your printer or frame maker states, and convert before comparing sizes.
Checking a camera file for a print order
Camera resolution is quoted in megapixels, and the pixel dimensions follow from the sensor. A 24 megapixel camera with a 3:2 sensor produces roughly 6,000 by 4,000 pixels. At 300 ppi, the width is 20 inches, or 50.8 centimeters, and the height is 13.33 inches, or 33.87 centimeters. At 200 ppi the same file reaches 76.2 by 50.8 centimeters. So a modern camera file can print at poster sizes at moderate density. After cropping, recompute from the new pixel dimensions. Phone photos of 4,000 by 3,000 pixels give 33.87 by 25.4 centimeters at 300 ppi. If you plan to order a large print, check the minimum pixel size the print service asks for before you upload.
Viewing distance and why lower density can look fine
The eye resolves detail only up to a limit that depends on distance. A common rule of thumb is that a person with normal vision resolves about one arcminute, which at a normal reading distance of 35 centimeters corresponds to roughly 250 ppi. At larger distances the same detail needs fewer pixels per inch. A poster viewed from two meters can look sharp at 100 ppi or even less. This is why billboards use very low densities. The relationship is only approximate, and it varies with the image content, the paper and the viewer. If your image has fewer pixels than you want, consider whether the print will be examined up close or seen from afar before deciding to resample or reduce the size.
Scanning and converting old prints
Scanners work in the opposite direction. A scan is set by a resolution in ppi and the physical size of the original, and the pixel count follows: pixels equal inches times ppi. A 4 by 6 inch print scanned at 600 ppi gives 2,400 by 3,600 pixels, which can later be printed at 300 ppi at 8 by 12 inches, or 20.32 by 30.48 centimeters, twice the original size. That doubling is the reason people scan small prints and slides at high resolution. Beyond a point, extra scan resolution only records grain and paper texture. A common choice for photographs is 600 ppi for prints, and higher for small film frames, which have to be enlarged. This page reverses the relationship, telling you how large the scan will print at a chosen density.