Converting pixels to centimetres in Microsoft Paint requires the DPI formula — divide pixels by the DPI to get inches, then multiply by 2.54 to get centimetres — because Paint only ever shows pixel values and never centimetres directly in any of its dialog boxes.
This is the most common point of confusion for people working in MS Paint. Unlike Photoshop, GIMP, or even Paint.net, the Windows version of Paint exposes canvas size purely in pixels and percentages. There is no centimetre input box, no millimetre toggle, and no DPI selector inside the Resize dialog. So when someone searches for "how to convert pixel to cm in paint," the honest answer is that Paint itself does not do that conversion — you have to do the maths yourself before you set the canvas size, or before you crop to a known physical width.
The good news is the maths is short, the international inch (1 inch = exactly 2.54 cm, fixed by international agreement in 1959) gives you the conversion constant for free, and the DPI value is the only variable you need to pin down. Once you have those, the same formula works for any image, any DPI, and any direction — px to cm, cm to px, px to mm, mm to px.

Why Paint Shows Pixels and Not Centimetres
Paint is a raster editor that works in a fixed grid of coloured points. Pixels are the only meaningful unit inside the program, so its Resize and Image Properties dialogs expose width and height in pixels. There is no layer to scale, no document-unit setting, and no physical-size metadata stored alongside the canvas. When you click Home → Resize, the numbers you see are always in pixels (or as percentages, which are just a pixel ratio). This is why a search for "convert pixel to cm in paint" never returns a one-click solution inside Paint itself — Paint is, by design, a screen-oriented pixel editor that assumes the user already knows the physical size they are targeting. To get centimetres on a Paint canvas you have to compute the pixel count yourself, type that pixel count into the Resize box, and trust your DPI assumption when the file is later displayed or printed.
The Formula: Pixels ÷ DPI × 2.54 = Centimetres
The conversion is two short steps routed through inches. First, divide the pixel count by the DPI to get inches: inches = pixels ÷ DPI. Second, multiply the inches by 2.54 to get centimetres: cm = inches × 2.54. For millimetres you multiply by 25.4 instead. The 2.54 constant is the 1959 international inch, the same fixed value used in every spreadsheet, calculator, and CAD program in the world. The only variable is the DPI, and DPI stands for dots per inch — the number of pixels (or dots, for a printer) that fit into one physical inch of the final output.
Worked example: 96 pixels at 96 DPI → 96 ÷ 96 = 1 inch → 1 × 2.54 = 2.54 cm. So a 96 × 96 pixel region of your canvas is exactly 2.54 × 2.54 cm on paper at that DPI. Going the other way, 1 cm at 96 DPI works out to 96 ÷ 2.54, which is about 37.8 pixels — which is why a dedicated converter is handy when you need a value that is not a round inch. To go from a physical length back to pixels (the direction Paint actually needs), convert cm to inches by dividing by 2.54, then multiply by the DPI: pixels = cm ÷ 2.54 × DPI.
How to Convert Pixels to CM for Use in Paint
Here is the safe workflow when you need to set a Paint canvas to a specific centimetre size, or to read the centimetre size of an existing Paint canvas:
- Decide whether the canvas is for screen or for print. If it will be viewed on a monitor, use 96 DPI (the CSS reference pixel that every browser assumes). If it will be printed, use 300 DPI for high-quality output.
- Convert the centimetre size to inches first: inches = cm ÷ 2.54.
- Multiply the inches by the DPI to get the pixel size: pixels = inches × DPI.
- Open Paint, click Home → Resize, switch the units to Pixels, clear the "Maintain aspect ratio" box if you want exact dimensions, and type the pixel width and height from step 3.
- Verify by opening a browser preview or by reading the file's pixel dimensions back from File → Properties.
You can skip steps 2 and 3 by using the Pixels to CM Converter, where you type the centimetre size, pick 96 or 300 DPI, and read the pixel count straight away to paste into Paint's Resize box.
Common DPI Values and When to Use Them
The four DPI values below cover almost every situation a Paint user will run into. The presets exist in the converter because they are the ones that actually appear in real design and print work, not arbitrary round numbers.
| DPI | Best for | Why this value |
|---|---|---|
| 72 | Legacy web graphics, older macOS images | Default in early desktop publishing software; still appears in some exported PNG metadata |
| 96 | Modern screens, web design, on-screen images | Matches the CSS reference pixel (1 px = 1/96 inch), so 96 DPI is the standard assumption in every browser |
| 150 | Draft-quality print, large-format posters seen from a distance | A compromise between file size and print sharpness |
| 300 | Photos, ID photos, professional print work | The industry standard for sharp photo printing on paper and card |
The presets you should care about are 96 for screen work and 300 for print work. The 72 and 150 presets are useful when you have to match a legacy file's metadata or when you are printing something large where perfect sharpness isn't required.
Worked Example: A 10 × 15 cm Photo at 300 DPI
Suppose you need to create a 10 × 15 cm photo in Paint for printing at 300 DPI. Here is the full arithmetic, written out so you can follow every step:
- Width: 10 cm ÷ 2.54 = 3.937 inches. 3.937 × 300 = 1181.1 pixels, so type 1181 into the Resize box.
- Height: 15 cm ÷ 2.54 = 5.906 inches. 5.906 × 300 = 1771.7 pixels, so type 1772 into the Resize box.
Total pixel canvas: 1181 × 1772. At 300 DPI that prints exactly 10 × 15 cm on photo paper with enough pixel density for sharp output. The same 10 × 15 cm canvas at 96 DPI would only be 378 × 567 pixels — perfectly visible on screen but far too low-resolution to print without obvious pixelation. The relationship is strictly proportional: doubling the DPI doubles the pixel count for the same physical size.
Where This Comes Up in Real Work
Three situations drive most "convert pixel to cm in paint" searches. Passport and ID photos are specified in physical centimetres (3.5 cm wide is a common format). At 300 DPI that needs about 413 pixels of width, and Paint is the only editor some people have installed on their Windows machine. Flyers, posters, and printable artwork often start with a "make it A4" or "make it 10 × 15" instruction — Paint cannot guess that target for you, so you have to do the DPI conversion first and type the pixel result into the Resize dialog. The third case is the web-to-print hand-off, where a designer has produced a PNG at 96 DPI for screen review and the print shop needs the canvas resized to the real centimetre size at 300 DPI before the file goes to the printer. In all three cases the route is the same: pick the target DPI (usually 300), do the cm-to-pixels math, then type the result into Paint.
DPI and PPI — Do They Matter Differently?
A short clarification, since the acronyms get used interchangeably and that matters for accuracy. DPI stands for "dots per inch" and is the term used for printers — the number of ink dots a printer lays down per inch of paper. PPI stands for "pixels per inch" and is the term for screens — the number of physical pixels a display shows per inch. They are technically different concepts, but for the purpose of converting a pixel measurement into a physical length they are numerically identical, so the Pixels to CM Converter uses a single DPI field and treats DPI and PPI as the same number. If your printer driver asks for "DPI" and your image editor asks for "PPI," type the same integer into both — they are the same unit in this conversion context.
Common Mistakes When Converting Pixels to CM in Paint
Four pitfalls come up over and over when people try to convert pixel dimensions to centimetres inside Paint. First, treating 72 DPI as the modern default: it is a legacy value from 1980s Mac print tools, and current web and screen work uses 96 DPI. Second, forgetting that resizing in Paint only changes pixel count, not print size — a 1000 × 1000 pixel image is 1000 ÷ DPI inches wide on paper, so change the DPI assumption and the physical size changes with it even though the file stays identical. Third, mixing up "resize by percentage" with "resize by pixels" in the Resize dialog; percentage is a relative scale of the current canvas, and only the pixel boxes let you target an absolute size. Fourth, assuming the on-screen ruler in Paint represents true physical cm — Paint's ruler is driven by the same 96 DPI assumption the rest of the app uses, so on a high-DPI monitor the ruler will not match a real ruler laid against the screen.