Pixels to cm
This converter turns pixels to cm. You need the resolution in dpi, pixels per inch: a photo 3000 pixels wide is exactly 25.4 cm wide at 300 dpi, but 79.4 cm at 96 dpi, the value used for screens.
Example: What do you want to calculate: Pixels to cm, mm and inches · Pixels 3,000 px · Resolution 300 dpi → Result: 3,000 px = 25.4 cm at 300 dpi. Source: W3C – CSS Values and Units: absolute lengths (1 in = 2.54 cm = 96 px). Updated: .
How it is calculated
Pixels to cm – how the conversion works
A pixel has no fixed size. Only the resolution says how many pixels fit into one inch (2.54 cm). So cm = pixels ÷ dpi × 2.54 and the other way round pixels = cm ÷ 2.54 × dpi. Example: 3000 px at 300 dpi is 10 inches, which is 25.4 cm.
Which resolution to use
- 300 dpi: the usual choice for photo prints and brochures that are viewed up close.
- 150 dpi: often enough for posters that are seen from further away.
- 96 dpi: the reference of the CSS pixel unit (1 inch = 96 px).
- 72 dpi: an old default from the early days of digital image editing.
Print size of an image
In the print size mode you see how large an image with given pixel dimensions can be printed, and which ISO paper sizes from A6 to A2 it covers at the chosen resolution. An image of 4000 × 3000 px gives 33.9 × 25.4 cm at 300 dpi and is enough for A4.
Limits
The dpi value stored in an image file is only a note and changes no pixels. Print sharpness also depends on the subject, the printer and the viewing distance, so the quality levels are rules of thumb. On screens the device scaling matters, not the dpi field.
Frequently asked questions
How do you convert pixels to cm?
Divide the pixels by the resolution in dpi and multiply by 2.54. 1000 pixels at 300 dpi is 8.47 cm.
How big is one pixel in cm?
It depends on the resolution: at 96 dpi a pixel is about 0.0265 cm, at 300 dpi about 0.0085 cm.
How many pixels do I need for printing?
For 300 dpi divide the length in cm by 2.54 and multiply by 300. For A4 (21 × 29.7 cm) that is 2480 × 3508 pixels.
How many dpi are good for printed photos?
About 300 dpi for close viewing. Large posters often work with 150 dpi or less.
How do I convert pixels to cm in Excel?
Use =A1/B1*2.54 with pixels in A1 and dpi in B1. This calculator also shows mm, inches and a table for other dpi values.
Sources and legal basis
- W3C – CSS Values and Units: absolute lengths (1 in = 2.54 cm = 96 px)
- Wikipedia – Dots per inch: resolution, print resolution, conversion to inches
- Wikipedia – ISO 216: paper sizes A6 to A2 in millimetres
As of: · Editorial policy
Related tools
- Social Media Image Sizes 2026Image sizes for Instagram, Facebook, YouTube, LinkedIn, X, Pinterest and Threads – official specs only, each with source. Copy dimensions, calculate height.
- Resize imagesResize images online by pixels or percent, keep the aspect ratio or crop to fit, with presets for Instagram and YouTube. Up to 20 images, no upload.
- Aspect Ratio CalculatorCalculate the aspect ratio from width and height (1920 × 1080 = 16:9), find the missing side, decimal value, nearest standard ratio and CSS aspect-ratio.
- What is my screen resolution?Instantly see your screen resolution, physical pixels, browser viewport, devicePixelRatio, aspect ratio and CSS breakpoint. Live, right in your browser.
- Inches to cm converterConvert inches to cm and cm to inches: 1 in = 2.54 cm. Includes fractions to 1/16″, feet and inches for height, and TV or monitor width and height.
- Free online photo editorPhoto editor in your browser: crop, resize, rotate, adjust brightness, contrast and saturation, add filters and text, undo, then save as JPG, PNG or WebP.
- QR Code Generator – free and permanentQR code generator for links, Wi-Fi, contacts (vCard), email, SMS or phone – add colors and a logo, download PNG or SVG. Never expires, no tracking, no sign-up.
- TV viewing distance calculatorTV viewing distance calculator: the ideal seating distance for 4K, 1080p and 8K screens from the ITU factors – or the TV size that fits your couch distance.
- Remove Audio from VideoRemove audio from video in seconds: pick an MP4, MOV (iPhone) or WebM, delete the sound track and save a silent video – no re-encoding, no upload, free.