Skip to content

Pixels, centimetres, inches and DPI explained

How physical dimensions become pixel dimensions, and why DPI is not a substitute for an official pixel rule.

Pixels describe the digital canvas

A pixel requirement describes the exact width and height of the uploaded bitmap. It is independent of the screen used to view the image. If the portal gives pixels, enter those values directly and do not infer a different printed size unless the instructions require a conversion. Pixel dimensions remain associated with the raster image, while page dimensions refer to a PDF or print layout.

Centimetres and inches describe physical size

Centimetres and inches describe a physical dimension. To convert a physical size to pixels, an explicit resolution such as DPI or PPI is needed. There is no universal conversion from centimetres alone to pixels. The same 3 centimetre width has a different pixel value at different resolutions, and a screen measurement is not automatically a print output measurement.

DPI and PPI terminology

DPI is commonly used for print devices, while PPI describes pixel density on a display. Application forms often use both terms loosely. A metadata DPI value may not change the number of pixels stored in the image. Before treating metadata as decisive, check whether the portal says it requires a specific canvas in pixels or a physical print size.

Illustrative example: centimetres to pixels

This is pure arithmetic and does not establish a real application requirement. To convert 3 centimetres to inches, divide by 2.54: 3 ÷ 2.54 = 1.181 inches, rounded to three decimal places. At 300 DPI, multiply 1.181 × 300 = 354.3, then round to 354 pixels. At 200 DPI, the result is 1.181 × 200 = 236.2, rounded to 236 pixels. A different DPI changes the number while the physical width stays 3 centimetres.

Illustrative example: inches to pixels

Another arithmetic example shows the same rule. A 2-inch width at 300 DPI equals 2 × 300 = 600 pixels. A 2-inch height at 300 DPI equals 600 pixels. The first step is to confirm that DPI is an official requirement. If the portal specifies only 600 pixels, entering 2 inches and selecting a DPI does not prove that the portal will inspect the metadata in the same way.

PDF points and page sizes

PDF pages use points internally, with 72 points per inch. A PDF resizer changes the page canvas, while an image resizer changes the bitmap inside a file. Changing one does not automatically satisfy the other. Check whether the portal asks for a page size, an image pixel size or both. A4 and Letter are standards with fixed physical dimensions, but their pixel rendering depends on output resolution.

Avoiding rounding errors

Conversions should retain enough precision until the final pixel value is calculated, then the result should be rounded consistently. Do not repeatedly round intermediate values. A stated 3.5 by 4.5 centimetre target is not evidence that every application uses those exact dimensions. Only a verified official source can establish a requirement. The manual unit fields in FormsFit are tools for conversion, not a source of regulatory facts.

Check the result, not just the input

After conversion, inspect the output dimensions and visible content. A fit operation may add white padding; a crop may remove part of the subject; stretching can distort it. Keep the original file and use the official instructions as the final authority.

Working with mixed units

A form may give physical dimensions in centimetres and a technical upload field in pixels. Keep both values and identify which instruction is controlling. Convert physical dimensions only when a DPI or PPI value is stated or otherwise officially confirmed. Do not enter pixels and centimetres simultaneously as independent requirements unless the portal asks for both. Record the conversion used, so it can be checked if the notice changes.

DPI metadata versus actual output

Some image editors change an embedded resolution field without changing the stored width and height. This may be useful for print preparation but does not create an accurate pixel canvas. FormsFit calculates a raster size from the selected unit and resolution, and then applies it to the output. If the portal verifies only pixel dimensions, check the downloaded image dimensions in a file property tool rather than trusting the metadata alone.

A documented check sequence

To verify a conversion, keep three values together: the physical or unit-based input, the calculated pixel output and the actual dimensions stored in the downloaded file. Compare the result with the official source. If a screen display or print preview shows a different size, it may be applying a different DPI or scaling setting. That difference is a display issue until the stored bitmap or PDF page proves otherwise.

Related tools: Image Resizer, PDF Compressor, and Image to PDF.