Precision unit studio

CM to Pixel Converter — Instant, Bidirectional, Print-Ready

Convert centimetres to pixels and pixels to centimetres at any DPI. Type in either field and the other updates in real time — with a live proportional preview, quick presets for print and screen, and a smart assistant that explains every number.

300DPI default
2-wayCM ↔ PX
6Quick presets
0 KBUploaded

Converter Studio

live · on-device

01 · Direction

CM → PX

02 · Values

—

03 · Result

1181
px
px = cm × DPI ÷ 2.54
Copied to clipboard!

04 · History

    No conversions yet — recent results will appear here.

    Live preview

    10 cm at 300 DPI
    10 cm
    Physical: 10 cm Digital: 1181 px DPI: 300
    AI

    Conversion Assistant

    explains DPI, print, and web

    online
    Hi — I can help with DPI choices, print sizing, and the conversion formula. Tap a suggestion or type a question below.
    CM → PX: px = cm × DPI ÷ 2.54
    PX → CM: cm = px × 2.54 ÷ DPI
    constant: 2.54 cm = 1 inch
    Advertisement
    Convert with confidence

    CM to Pixel Converter: Convert Centimeters to Pixels and Back

    Turn centimeters into pixels, or pixels into centimeters, at any DPI. Everything runs in your browser — no uploads, no sign-up, no limits.

    Quick answer

    Use the CM to Pixel Converter above to turn centimeters into pixels, or pixels into centimeters, at any DPI. The formula is px = cm ÷ 2.54 × DPI

    At 96 DPI, 1 cm is 37.8 px. At 300 DPI, it is 118.11 px.

    Step by step

    How to use the CM to Pixel Converter

    1. 1

      Choose your direction

      Type centimeters to get pixels, or type pixels to get centimeters.

    2. 2

      Pick a DPI

      Choose 72, 96, 150, 300 or 600, or enter a custom value. Use 96 for screens and 300 for print.

    3. 3

      Read the result

      The result updates as you type, or tap a quick button for 1, 2, 5 or 10 cm.

    4. 4

      Review your history

      The last 10 conversions are listed, and you can download them as a TXT file for your records.

    If you enter a negative or invalid number, the tool shows a clear error instead of a wrong answer.
    The math

    CM to PX formula

    Centimeters become pixels in two steps: convert to inches by dividing by 2.54, then multiply by DPI.

    CM to pixels: px = cm ÷ 2.54 × DPI

    01 Worked examples

    Example 1  ·  5 cm at 96 DPI  =  5 ÷ 2.54 = 1.9685 in, × 96 = 188.98 px
    Example 2  ·  10 cm at 300 DPI  =  3.937 in × 300 = 1181.10 px
    Example 3  ·  3.5 cm at 300 DPI  =  1.378 in × 300 = 413.39 px

    Every CM to Pixel Converter uses this same arithmetic, so a difference between tools almost always comes from the DPI each one assumes.

    Reverse direction

    PX to CM formula

    To go the other way, multiply by 2.54 and divide by DPI.

    Pixels to cm: cm = px × 2.54 ÷ DPI

    01 Worked examples

    Example 1  ·  1080 px at 96 DPI  =  1080 × 2.54 ÷ 96 = 28.58 cm
    Example 2  ·  1080 px at 300 DPI  =  2743.2 ÷ 300 = 9.14 cm
    Example 3  ·  500 px at 150 DPI  =  1270 ÷ 150 = 8.47 cm

    Whether you call it pixels to cm or px to centimeters, the rule is the same. The same image can be about 29 cm wide on screen and 9 cm wide in print. The pixels never changed. Only the DPI did.

    Reference

    How many pixels are in a cm?

    The number of pixels in a cm depends entirely on DPI. If you have ever searched for centimeters in pixels and received five different answers, this is why:

    Pixels per centimeter at common DPI values
    DPI Pixels in 1 cm Typical use
    7228.35Point-based work (Word, PDF)
    9637.80Web and CSS
    15059.06Draft prints, large posters
    300118.11Standard print quality
    600236.22Fine line art, small detailed prints
    Understanding DPI

    DPI to px: why the answer changes

    DPI means dots per inch. A pixel has no fixed physical size, so how many centimeters it covers depends on how tightly pixels are packed. Going from 300 DPI to pixels is simple: every inch holds 300 pixels, so 1 cm holds 118.11. At 96 DPI the same centimeter holds only 37.8.

    Strictly speaking, DPI describes printer dots and PPI describes pixels per inch on a screen or in an image. In practice most tools use the terms interchangeably, and the math is identical.

    • 96 DPI is the CSS reference: 96 px equals one inch.
    • 72 DPI matches points. One point is 1/72 inch, about 0.0353 cm, which is useful if you need to convert pt to cm.
    • 150 DPI suits large posters viewed from a distance.
    • 300 DPI is the standard for photos, flyers and ID photos.
    • 600 DPI is for fine line art and small detailed prints, and it makes files much larger.

    This CM to Pixel Converter asks for a DPI because there is no honest answer without one. Choose the DPI of wherever the image will end up.

    Reference

    CM to pixels reference table

    You don't need to open the CM to Pixel Converter for common values. Here are the most requested, in pixels:

    Centimeters converted to pixels at common DPI values
    cm 72 DPI 96 DPI 150 DPI 300 DPI 600 DPI
    128.3537.8059.06118.11236.22
    256.6975.59118.11236.22472.44
    3.599.21132.28206.69413.39826.77
    4.5127.56170.08265.75531.501062.99
    5141.73188.98295.28590.551181.10
    10283.46377.95590.551181.102362.20
    15425.20566.93885.831771.653543.31
    20566.93755.911181.102362.204724.41
    Everyday sizes

    Common sizes in cm and pixels

    These sizes were calculated with the CM to Pixel Converter at 96 and 300 DPI:

    Common physical sizes in centimeters and their pixel equivalents
    Item Size (cm) At 96 DPI At 300 DPI
    Passport-style photo3.5 × 4.5132 × 170413 × 531
    Small ID photo2.5 × 3.594 × 132295 × 413
    Small banner5 × 2189 × 76591 × 236
    Photo print10 × 15378 × 5671181 × 1772
    Wide banner20 × 10756 × 3782362 × 1181
    A4 page21 × 29.7794 × 11232480 × 3508

    Passport and visa requirements differ by country and change over time. Check the issuing authority's current rules before submitting.

    Reverse reference

    Pixel size reference table (in centimeters)

    Here is the reverse: what common pixel lengths measure in centimeters. It's the same formula, run backwards by the CM to Pixel Converter:

    Common pixel values converted to centimeters at common DPI values
    Pixels 72 DPI 96 DPI 150 DPI 300 DPI 600 DPI
    100.3530.2650.1690.0850.042
    1003.532.651.690.850.42
    50017.6413.238.474.232.12
    100035.2826.4616.938.474.23
    192067.7350.8032.5116.268.13

    All values in cm.

    Image sizes

    Popular image sizes in centimeters

    Some sizes start in pixels, so here are three run through the CM to Pixel Converter backwards:

    Popular pixel image sizes converted to centimeters
    Image size At 96 DPI At 300 DPI
    1080 × 1350 px (4:5 portrait)28.58 × 35.72 cm9.14 × 11.43 cm
    1024 × 1536 px (2:3 portrait)27.09 × 40.64 cm8.67 × 13.00 cm
    1920 × 1080 px (Full HD)50.80 × 28.58 cm16.26 × 9.14 cm
    First step of the formula

    Step one of the formula: cm to inches

    Because the formula begins by dividing by 2.54, it helps to know common lengths in inches. For example, 9.5 cm to inches is 3.74 in. The CM to Pixel Converter does this step for you, but here are common values:

    Common centimeter lengths in inches
    cm Inches
    2.10.83
    3.51.38
    4.51.77
    8.53.35
    9.53.74
    10.84.25
    12.85.04
    13.85.43
    15.86.22
    34.513.58

    For any other value, divide by 2.54. To go from inches to cm, multiply by 2.54: 4.5 in is 11.43 cm, and 8 × 8 in is 20.32 × 20.32 cm. Also remember that 1 cm is 10 mm.

    Big format

    Large prints: why DPI matters

    Run 150 × 100 cm through the CM to Pixel Converter at two settings and the gap is huge. At 300 DPI you need 17,717 × 11,811 px, about 209 million pixels. At 100 DPI you need 5,906 × 3,937 px, about 23 million. Large-format printers often accept lower DPI because people view big prints from farther away, so ask your print shop what they need before you build the file.

    Avoid these

    Common mistakes when using a CM to Pixel Converter

    Trusting the result without checking DPI

    A CM to Pixel Converter is only as right as the DPI you give it.

    Mixing up cm and mm

    10 mm is 1 cm, so a unit slip makes the answer ten times off.

    Rounding too early

    Convert first, then round once at the end.

    Confusing pixels with print size

    Changing a file's DPI tag doesn't change its pixels; resizing does.

    Enlarging a small image

    If you need 2480 px but only have 800, the print will look soft.

    Next step

    From numbers to a real image

    A CM to Pixel Converter gives you the target pixel dimensions. To apply them to a photo, use our Resize Image in CM tool, which resizes to the exact width and height you enter.

    Your data

    Privacy

    The CM to Pixel Converter calculates in your browser, and your conversion history stays on your device.
    Questions

    Frequently asked questions

    How many pixels is 1 cm?
    It depends on DPI: 37.8 px at 96 DPI and 118.11 px at 300 DPI.
    How do I convert centimeters into pixels?
    Divide the centimeters by 2.54, then multiply by your DPI.
    How do I convert pixels into centimeters?
    Multiply the pixels by 2.54, then divide by your DPI.
    How big is 4.5 cm?
    It's about 1.77 inches, which is also the height of a standard 35 × 45 mm passport-style photo.
    What size is a passport photo in pixels?
    A 3.5 × 4.5 cm photo is 413 × 531 px at 300 DPI. Always confirm the requirements with the issuing authority.
    What is 1024x1536?
    It's a 2:3 portrait image size, common in AI image generators. It measures 8.67 × 13.00 cm at 300 DPI.
    Is the CM to Pixel Converter accurate?
    Yes. The CM to Pixel Converter applies the standard formula, px = cm ÷ 2.54 × DPI, so results are exact for the DPI you choose.
    Why does another CM to Pixel Converter give a different answer?
    It's almost certainly assuming a different DPI, such as 72 instead of 96. Match the DPI to your destination and compare again.
    What DPI should I use?
    Use 96 for web and CSS, 300 for most print, and 150 for large posters.

    Key takeaways

    • A CM to Pixel Converter needs both a length and a DPI, because pixels have no fixed physical size.
    • The formulas: px = cm ÷ 2.54 × DPI and cm = px × 2.54 ÷ DPI.
    • Use 96 DPI for screens and 300 DPI for print.

    Try the CM to Pixel Converter with your own numbers

    Scroll up and enter any centimeter or pixel value. Choose a DPI, read the result instantly, and download your history — free, private, and no signup required.

    100% free Works on any device Nothing uploaded History + TXT export
    Advertisement

    🛠️ Related Tools

    Check out our other useful image tools: