Tools

Home
Image ResizerImage CompressorCrop ImageWatermark
JPG to PNGPNG to WebPImage to Base64
Merge PDFCompress PDF

Resize in Centimeters

Resize any image to exact centimeter dimensions at your chosen DPI

Your files never leave your browser
Calculated size: 591 x 591 px (5cm x 5cm at 300 DPI)
Drop your image here
JPG, PNG, or WebP — Max 50MB — 100% Private
Resizing...
Original dimensions--
Target (cm)--
DPI--
New dimensions (px)--
File size--

Set your width and height in centimeters, choose a DPI, and drop in any JPG, PNG, or WebP — the tool converts cm to pixels automatically and resizes your image to the exact print dimensions you need. No manual math, no Photoshop required. And everything runs in your browser. Nothing gets uploaded.

How It Works

Set cm + DPI
→
Auto-calculate pixels
→
Resize & download

The formula is straightforward: pixels = cm × DPI ÷ 2.54. So 10 cm at 300 DPI becomes 1181 pixels. The tool runs this calculation live as you type, then uses the HTML5 Canvas to redraw your image at the exact pixel dimensions. Aspect ratio locking is on by default, which means changing one dimension adjusts the other automatically.

Examples

Passport Photo (3.5 × 4.5 cm)

Most countries require a specific cm size for visa and passport photos. Here’s the conversion at print quality.

INPUT
Width: 3.5 cm Height: 4.5 cm DPI: 300
OUTPUT
413 × 531 pixels Print-ready JPG

A4 Poster at 150 DPI

Printing a flyer at home? 150 DPI is fine for something viewed at arm’s length. Keeps the file manageable too.

INPUT
Width: 21 cm Height: 29.7 cm DPI: 150
OUTPUT
1240 × 1754 pixels ~2.1 megapixels

Product Photo for Online Store (8 × 8 cm square)

E-commerce platforms often want square images. Unlock aspect ratio, set both dimensions to 8 cm, and you’re set. At 72 DPI it’s lightweight enough for fast page loads — at 300 DPI it works for a printed catalog too.

INPUT
Width: 8 cm Height: 8 cm DPI: 72 (web) or 300 (print)
OUTPUT
227 × 227 px (72 DPI) 945 × 945 px (300 DPI)

Who Uses This

📸 Photographers

Preparing print-sized exports for clients who order in cm — wedding albums, portrait prints, framed photos.

📄 Office Workers

Resizing ID photos, scanned signatures, or logos to exact cm specs for forms and official documents.

🎨 Designers

Quick cm-to-pixel conversion when a print shop sends specs in centimeters and you need pixel-perfect assets.

🎓 Students

Formatting thesis images, lab report figures, or application photos to university-required cm dimensions.

Common Mistakes

Using 72 DPI for print

72 DPI is a screen resolution. Print it and you’ll see fuzzy edges and visible pixels. For anything going to paper, use 200 DPI minimum — 300 DPI if quality matters.

Upscaling a tiny image to large cm dimensions

A 200×200 pixel photo can’t magically become a sharp 20×30 cm print. The tool will resize it, but you’re stretching very little data across a lot of space. Start with the highest resolution source you have.

Forgetting to unlock aspect ratio for non-standard sizes

Aspect ratio lock is on by default. If your target size has different proportions than the original (say, turning a landscape shot into a square), unlock it first. Otherwise one dimension won’t update when you change the other.

Technical Details

Frequently Asked Questions

How do I convert cm to pixels for printing?

Multiply the centimeters by the DPI, then divide by 2.54. So 10 cm at 300 DPI = 10 × 300 ÷ 2.54 = 1181 pixels. This tool does that math for you — just enter cm and DPI and you’ll see the pixel count instantly.

What DPI should I use for photo printing?

300 DPI is the standard for photo prints, ID cards, and anything held in your hands. For large posters viewed from a distance, 150 DPI works fine and keeps file sizes smaller. Screen-only images? 72 DPI is plenty.

What size is a passport photo in cm?

Most countries use 3.5 × 4.5 cm. The US is an exception at 5.1 × 5.1 cm (2 × 2 inches). Set the appropriate cm values here with 300 DPI and you’ll get the right pixel count for a sharp print.

Does resizing reduce image quality?

Downsizing almost never causes visible quality loss — you’re discarding extra pixels. Upsizing is the problem. If you’re making the image larger than the original, you are inventing pixels that weren’t there. The bigger the upscale, the blurrier the result.

Is this tool free and safe to use?

Yes on both counts. It is free with no signup required. Your image is processed entirely in your browser — it never gets uploaded anywhere. Close the tab and the data is gone. Works offline too, once the page has loaded.

Share: