Convert millimeters to pixels at any DPI

Content last reviewed:

Enter a value in millimeters, set the DPI resolution, and read the result in pixels. Check how many pixels a given value in millimeters corresponds to, e.g. the dimensions of a business card, flyer, poster, or A4 sheet. The converter helps you pick the right file resolution before sending it to a print shop.

mm
px
to
ADVERTISEMENT

Why convert millimeters to pixels?

The millimeter is the most precise physical unit used in print, packaging design, and engineering — print shops specify business card, flyer, and bleed dimensions in millimeters. The pixel, on the other hand, describes a single point on a screen or in an image file. To convert one to the other, you need to know the DPI resolution: the number of pixels packed into one inch of material.

This conversion is used most often by designers preparing files for a print shop, packaging designers checking label dimensions, and anyone working in Illustrator, InDesign, or CorelDRAW, who works in millimeters but has to deliver a file with an exact pixel count. The converter saves you from doing the math by hand and remembering the formula.

Further down this page you will find an extensive reference table for popular millimeter values, ready-made dimensions for business cards, flyers, and A0–A7 paper sizes, and short guides on switching millimeters to pixels in Illustrator, InDesign, CorelDRAW, Photoshop, Figma, Canva, Inkscape, and Affinity, closing with a comparison table of those apps.

How does mm to px conversion work? Formula and example

The whole conversion comes down to one formula, based on the fixed relationship between an inch and a millimeter: one inch is exactly 25.4 mm. So you just multiply the number of millimeters by your chosen DPI resolution and divide by 25.4.

The full formula is: pixels = millimeters × DPI ÷ 25.4. The converter performs this calculation instantly, so you never have to do the math or hunt for a calculator.

Example: say you want to know how many pixels a 90 mm wide business card has at a print resolution of 300 DPI. Plugging the values into the formula gives 90 × 300 ÷ 25.4, which is exactly 1,063 pixels. The same card displayed on a 96 DPI screen would only take up 340 pixels, because fewer points fit per inch. The figure of 96 pixels per inch is written into the CSS standard, so on screen the result is the same whatever the monitor.[1]

Do you have a finished file and want its size on paper? That direction belongs to the pixels to millimeters converter.

American print shops quote sizes in inches, and one inch is 2.54 cm, so a Letter sheet of 8.5 × 11 inches comes to 2,550 × 3,300 pixels at 300 DPI. That calculation is handled by the inches to pixels converter.

How many pixels do different millimeter values produce at different DPI?

The table below shows how the same dimensions in millimeters translate to pixels at the five most commonly used resolutions. A few values match real formats exactly: 35 mm at 300 DPI is the short edge of a passport photo, 90 mm is the width of a standard business card, and 210 mm is the width of an A4 sheet.

Millimeters72 DPI96 DPI150 DPI300 DPI600 DPI
1 mm3 px4 px6 px12 px24 px
5 mm14 px19 px30 px59 px118 px
10 mm28 px38 px59 px118 px236 px
15 mm43 px57 px89 px177 px354 px
20 mm57 px76 px118 px236 px472 px
25 mm71 px94 px148 px295 px591 px
30 mm85 px113 px177 px354 px709 px
35 mm99 px132 px207 px413 px827 px
40 mm113 px151 px236 px472 px945 px
45 mm128 px170 px266 px531 px1,063 px
50 mm142 px189 px295 px591 px1,181 px
51 mm145 px193 px301 px602 px1,205 px
54 mm153 px204 px319 px638 px1,276 px
55 mm156 px208 px325 px650 px1,299 px
60 mm170 px227 px354 px709 px1,417 px
70 mm198 px265 px413 px827 px1,654 px
85 mm241 px321 px502 px1,004 px2,008 px
90 mm255 px340 px531 px1,063 px2,126 px
99 mm281 px374 px585 px1,169 px2,339 px
100 mm283 px378 px591 px1,181 px2,362 px
105 mm298 px397 px620 px1,240 px2,480 px
148 mm420 px559 px874 px1,748 px3,496 px
150 mm425 px567 px886 px1,772 px3,543 px
200 mm567 px756 px1,181 px2,362 px4,724 px
210 mm595 px794 px1,240 px2,480 px4,961 px
250 mm709 px945 px1,476 px2,953 px5,906 px
297 mm842 px1,123 px1,754 px3,508 px7,016 px
300 mm850 px1,134 px1,772 px3,543 px7,087 px
420 mm1,191 px1,587 px2,480 px4,961 px9,921 px
500 mm1,417 px1,890 px2,953 px5,906 px11,811 px
594 mm1,684 px2,245 px3,508 px7,016 px14,031 px
700 mm1,984 px2,646 px4,134 px8,268 px16,535 px
841 mm2,384 px3,179 px4,967 px9,933 px19,866 px
1,000 mm2,835 px3,780 px5,906 px11,811 px23,622 px

All values are rounded to the nearest whole number, following the formula px = mm × DPI ÷ 25.4.

ADVERTISEMENT

If instead of a single millimeter value you need the dimensions of a finished format (for example a business card, a DL flyer, or an A4 sheet), the table below lists the values at the two most commonly used resolutions. Dimensions are always given as width × height.

FormatW × H (mm)W × H (150 DPI)W × H (300 DPI)
Business cards & ID
Polish business card90 × 50 mm531 × 295 px1,063 × 591 px
European business card85 × 55 mm502 × 325 px1,004 × 650 px
Payment / SIM card (ISO ID-1)85.60 × 53.98 mm506 × 319 px1,011 × 638 px
Flyers & print
DL flyer99 × 210 mm585 × 1,240 px1,169 × 2,480 px
Postcard / A6105 × 148 mm620 × 874 px1,240 × 1,748 px
ISO A-series paper
A5148 × 210 mm874 × 1,240 px1,748 × 2,480 px
A4210 × 297 mm1,240 × 1,754 px2,480 × 3,508 px
A3297 × 420 mm1,754 × 2,480 px3,508 × 4,961 px
A2420 × 594 mm2,480 × 3,508 px4,961 × 7,016 px
A1594 × 841 mm3,508 × 4,967 px7,016 × 9,933 px
A0841 × 1,189 mm4,967 × 7,022 px9,933 × 14,043 px
Documents & large format
EU passport / ID photo35 × 45 mm207 × 266 px413 × 531 px
B1 poster707 × 1,000 mm4,175 × 5,906 px8,350 × 11,811 px
Roll-up banner850 × 2,000 mm5,020 × 11,811 px10,039 × 23,622 px

A payment card in the ISO ID-1 standard has an official size of 85.60 × 53.98 mm — a more precise figure than the common 85 × 55 mm rounding used for European business cards.[2] Anything larger than a B0 sheet, which is 1,000 × 1,414 mm, has its sides given in meters — a roll-up banner is usually 0.85 × 2 m — and the pixel count then comes from the meters to pixels converter.

Comparison of millimeter and pixel units

PropertyMillimeter (mm)Pixel (px)
Unit typePhysical, tangibleDigital, screen-based
Depends on deviceAlways the sameDepends on DPI or PPI
Print 300 DPI1 mm = 11.81 px1 px = 0.085 mm
Screen 96 DPI1 mm = 3.78 px1 px = 0.265 mm
Industry standardPrint, packaging, CADScreens, web design, UI
  1. Illustrator

    Adobe Illustrator works in whatever unit you set when creating the document. Change it under Edit › Preferences › Units, picking Millimeters for print materials. The pixel result depends on the artboard resolution set at the start of the project — if the file is headed to a print shop, set it to 300 DPI. If you are working on a flyer in mm but need pixel dimensions for an on-screen preview, the easiest way is to copy the dimension from our converter and type it into the Transform panel.
  2. InDesign

    Adobe InDesign is the standard tool for laying out multi-page publications and works in millimeters by default. Change the unit under Edit › Preferences › Units & Increments. When exporting a PDF for print, the program automatically converts the page dimensions to pixels based on the set resolution — 300 DPI by default for offset printing. Remember to add bleed (usually 3 mm), which you set directly in the export dialog.
  3. CorelDRAW

    CorelDRAW is the standard tool in many print shops and ad agencies. Change the document unit on the property bar at the top of the screen by picking millimeters from the dropdown next to the ruler icon. Set the export resolution in the Export dialog (Ctrl+E) when saving to JPG, PNG, or TIFF — that same dialog shows how many pixels the resulting file will have at the chosen DPI.
  4. Photoshop

    In Adobe Photoshop, set the canvas dimensions in the Image › Image Size dialog. Choose Millimeters from the unit dropdown, enter the physical dimension, and set the target DPI in the Resolution field — Photoshop converts the value to pixels automatically. Uncheck Resample if you only want to change how the dimensions are displayed without affecting the actual pixel count.
  5. Figma

    Figma works exclusively in pixels at a fixed 96 DPI, so there is no option to switch the unit to millimeters. To design something destined for print, first convert the physical dimension to pixels in our converter at your target DPI (usually 300), and only then enter that value when creating a new frame.
  6. Canva

    In Canva, click Create a design › Custom size and pick the mm unit to enter a physical dimension — Canva converts it to pixels automatically on export. If the file is going to a print shop, enable the print PDF format plus bleed and crop marks in the download options. Canva exports print files at 300 DPI by default.
  7. Inkscape

    Inkscape saves drawings as SVG, a format that works in millimeters natively. Set the page size under File › Document Properties (Shift + Ctrl + D). There are two separate unit fields there: one for the page size and one for display, which drives the rulers and the default drawing unit. When exporting to PNG, enter the target DPI in the File › Export dialog and Inkscape converts millimeters to pixels for you.
  8. Affinity

    Since version 3, released in October 2025, Affinity is a single app, and the former Designer, Photo, and Publisher run inside it as studios: vector, pixel, and layout. Open the document size together with the DPI field through File › Document Setup, whichever studio you are in. Pick millimeters from the unit list, type the physical size, and set 300 DPI if the artwork is going to print. Affinity stores both values inside the file, so opening it on another machine shows the same physical size.
  9. CSS, SVG, and web code

    In CSS, the mm unit is converted with the fixed formula 1mm = 96px ÷ 25.4 ≈ 3.78px and does not change based on the device. The same applies to SVG files, where dimensions can be set directly in millimeters in the width/height attribute — the browser converts them to pixels with the same constant. In practice, web interfaces use px, rem, or em, and mm is reserved for print stylesheets (@media print) or vector files headed for further editing in design apps.
ADVERTISEMENT

Which unit does each of these apps work in?

This table shortens the search when you are handed a size in millimeters but work in an app that counts in pixels. The last column says whether the app stores the resolution inside the file, which decides whether the physical size survives a move to another machine.

AppDefault unitWhere to change the unitStores DPI in the file
InDesignMillimetersEdit › Preferences › Units & IncrementsYes
IllustratorChosen when the document is createdEdit › Preferences › UnitsYes, for embedded images
CorelDRAWMillimetersProperty bar, unit listYes
PhotoshopPixelsImage › Image SizeYes, the Resolution field
Affinity (from version 3)Chosen when the document is createdFile › Document SetupYes, the DPI field
InkscapeMillimetersFile › Document PropertiesYes
CanvaPixelsResize panel, unit listResolution comes from the print PDF export
FigmaPixels at a fixed 96 DPIThe app has no unit switchResolution comes from the export scale
CSS and SVGPixels at a fixed 96 DPIThe mm unit is written directly in the codeThe browser uses the fixed 96 px per inch

The apps with millimeters as the default unit are layout and vector tools, the ones where a project carries a paper size from the start. Photoshop, Canva, and Figma begin with the pixel, so you give them the physical size through the resolution.

What is converting millimeters to pixels good for?

  1. Preparing files for a print shop

    You can check that a DL flyer (99 × 210 mm) for digital print at 300 DPI is exactly 1,169 × 2,480 px, and that a 90 × 50 mm business card is 1,063 × 591 px. The converter helps you avoid a print shop rejecting your file for insufficient resolution.
  2. Calculating bleed

    Most print shops require a 3 mm bleed on every edge. At 300 DPI, that is an extra 35 px per side — enter the sum of the dimension and twice the bleed into the converter to immediately get the target pixel count.
  3. Packaging and label design

    A jar label 120 mm wide at 300 DPI is 1,417 px. The converter helps you quickly check label, sticker, and packaging dimensions before sending files to an offset or digital print shop.
  4. ID photos

    A UK, Irish or EU passport photo is 35 × 45 mm, which is exactly 413 × 531 px at 300 DPI, while the US asks for a square 2 × 2 in, or 600 × 600 px. Both formats sit side by side in the centimeters to pixels converter. You can use the same approach to check pixel dimensions for biometric photos required for other official documents.

Convert other units to Pixels

Convert Millimeters to other units

Explore other unit converters

Sources

  1. CSS Values and Units Module Level 3W3C
  2. ISO/IEC 7810Wikipedia

Every figure in the tables was computed from the unit definitions and checked arithmetically before publication. Historical values and the names of local units come from the sources listed above.

Content last reviewed: · written and checked by the Arteon team

Frequently asked questions about mm to px conversion

Is 1 pixel the same as 1 millimeter?

At the standard 96 DPI screen one millimeter is about 3.78 pixels, and at 300 DPI print resolution it is 11.81 pixels. Both numbers follow from the resolution, because a pixel describes a point of an image and a millimeter a length on paper. The one-to-one match appears at exactly 25.4 DPI, since an inch holds 25.4 millimeters — a resolution nobody prints or designs at.

How many pixels is 1 millimeter?

It depends entirely on the resolution you set. At the standard 96 DPI screen resolution, one millimeter is about 3.78 pixels, and at the 300 DPI used for print, 11.81 pixels. To convert any number of millimeters to pixels, multiply it by the DPI and divide by 25.4.

What is the formula for converting mm to px?

The formula comes from a fixed relationship: one inch is exactly 25.4 mm. The full formula is pixels = millimeters × DPI ÷ 25.4. It also works in reverse: millimeters = pixels × 25.4 ÷ DPI. You only need two values — the dimension and the target resolution — to instantly calculate the third.

How do I convert millimeters to pixels?

The simplest way is to type the dimension in millimeters into the converter field and pick the DPI you need — the result appears instantly. If you would rather calculate it by hand, use the formula: pixels = millimeters × DPI ÷ 25.4. For 20 mm at 96 DPI, you get 20 × 96 ÷ 25.4, or about 76 pixels.

How many pixels is 20 mm?

Twenty millimeters on a 96 DPI screen is about 76 pixels. At 300 DPI print resolution, the same value grows to 236 pixels, and at 600 DPI used for high-quality photo printing it reaches 472 pixels.

How many pixels is 100 millimeters?

One hundred millimeters (10 cm) at 96 DPI is about 378 pixels. At 300 DPI print resolution, the same 100 mm is exactly 1,181 pixels — a value worth remembering, since it is the short edge of a classic 10×15 cm photo print.

What is px in millimeters and what does it measure?

A pixel (px) is a digital unit, not a physical length measurement — it has no fixed millimeter equivalent until you set a DPI or PPI resolution. In practice, 1 pixel at 96 DPI (screen standard) is about 0.265 mm, while at 300 DPI (print standard) it is only 0.085 mm.

What pixel dimensions does a business card have?

A Polish business card at 90 × 50 mm is 1,063 × 591 px at 300 DPI. A European business card at 85 × 55 mm is 1,004 × 650 px at the same resolution. After adding the standard 3 mm bleed on every edge, the dimensions grow to 96 × 56 mm, or about 1,134 × 661 px.

What is bleed and how many pixels do I add?

Bleed is extra margin, usually 3–5 mm, around your design that gets trimmed off after printing. It prevents white edges if the cutting machine is slightly off. At 300 DPI, the standard 3 mm bleed is an extra 35 pixels per side — that is how much bigger your file should be than the final trimmed format.

How many pixels does an A4 sheet have in millimeters?

An A4 sheet is 210 × 297 mm, which is exactly 2,480 × 3,508 pixels at 300 DPI. At 150 DPI, the same dimensions are 1,240 × 1,754 pixels, and at a screen resolution of 96 DPI just 794 × 1,123 pixels.

What DPI should I use for printing flyers and business cards?

300 DPI is the standard for both offset and digital printing — most print shops require this value. For large formats like A1 or A0 posters, 150 DPI is often enough, since they are viewed from a greater distance. Large-format banners and billboards are sometimes printed at just 30–72 DPI.

How do I set mm to px in Illustrator or InDesign?

In Adobe Illustrator, go to Edit › Preferences › Units and choose Millimeters — the unit changes across all panels and rulers immediately. InDesign works similarly and uses millimeters by default. In both programs, the resulting pixel count depends on the resolution set when exporting the file, usually 300 DPI for print. You will find detailed guides for Illustrator, InDesign, CorelDRAW, Photoshop, Figma, and Canva in the section above.

What is the difference between DPI and PPI?

DPI (dots per inch) is the number of ink dots per inch of material and is a printer specification. PPI (pixels per inch) is the number of pixels per inch of screen and describes a monitor or display. In everyday use, designers use both terms interchangeably, but technically DPI applies to print and PPI to screens.

How do I convert millimeters to pixels in CSS or SVG?

In CSS stylesheets the mm unit is converted with a fixed formula: 1mm = 96px ÷ 25.4 ≈ 3.78px, regardless of the device. The same constant applies in SVG files, where dimensions can be written directly in millimeters. In practice, web interfaces use px, rem or em units, while mm is reserved for print stylesheets (@media print).

What is the exact size of a payment card in pixels?

The ISO ID-1 standard, which applies to payment cards, ID cards, and driving licences, is exactly 85.60 × 53.98 mm.[2] At 300 DPI, that comes out to 1,011 × 638 pixels. This is a more precise figure than the common 85 × 55 mm rounding sometimes used for European business cards.

How many millimeters is 40 pixels?

Forty pixels on a 96 DPI screen is about 10.58 mm, just over 1 cm. At 300 DPI print resolution, the same number of pixels only takes up 3.39 mm. The higher the DPI, the less physical space a given number of pixels occupies.

Can I convert pixels back to millimeters?

Yes, our converter works in both directions. Type the number of pixels into the right field, or use the Reverse button to flip the conversion direction — the result in millimeters appears instantly. The formula for this direction is millimeters = pixels × 25.4 ÷ DPI.

mm to px converter – Arteon

Help us improve this converter

Missing a value in the tables, found a calculation error, or have a feature suggestion? Send us a message — we read every message personally and reply within 24 hours.