Resize image in cm or inches (convert to pixels)
Web and social platforms use pixels. To resize by cm/inches, convert to pixels using DPI, then resize.
Conversion formulas
- pixels = inches × DPI
- inches = pixels ÷ DPI
- cm to inches: cm ÷ 2.54
- mm to inches: mm ÷ 25.4
Common DPI values
- 72–96 DPI for screens
- 300 DPI for print
DPI only matters for print size, not screen display.
3 steps (using this tool)
- Convert cm/inches to pixels using DPI.
- Enter the pixel size in the resizer.
- Export JPG/PNG locally.
Example
10 cm at 300 DPI → 10 ÷ 2.54 × 300 ≈ 1181 px.
Popular pixel presets
FAQ
How do I convert cm or inches to pixels?
Pixels = inches × DPI. For cm, convert to inches first (cm ÷ 2.54).
Quick tip: Use 300 DPI for print, 72–96 DPI for screens.
Common mistake: Skipping DPI—your print size will be wrong.
Does DPI change the image?
DPI doesn’t change pixels; it changes the physical print size.
Quick tip: For web/social, use pixels and ignore DPI.
Common mistake: Expecting DPI to improve quality—only more pixels do.
Can I resize by mm?
Yes. Convert mm to inches (mm ÷ 25.4), then to pixels using DPI.
Quick tip: Enter the final pixel size in the resizer.
Common mistake: Entering mm directly without conversion—wrong pixel size.
Do you upload my images?
No. Processing happens locally in your browser. Your files are not uploaded.
What size should I use?
Use the recommended size.
Which export format should I use?
JPG for photos, PNG for text/logos or transparency, WebP for smaller files (if supported).
Crop vs Pad — what is the difference?
Crop fills the target size (may cut edges). Pad fits the whole image and adds background/space.
How do I protect text and logos?
Keep important content centered and avoid placing critical text at the edges.
Can I batch resize?
Yes. Use the Batch Resizer to apply the same size to many images.