Convert millimeters to pixels at any DPI
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.
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.
| Millimeters | 72 DPI | 96 DPI | 150 DPI | 300 DPI | 600 DPI |
|---|---|---|---|---|---|
| 1 mm | 3 px | 4 px | 6 px | 12 px | 24 px |
| 5 mm | 14 px | 19 px | 30 px | 59 px | 118 px |
| 10 mm | 28 px | 38 px | 59 px | 118 px | 236 px |
| 15 mm | 43 px | 57 px | 89 px | 177 px | 354 px |
| 20 mm | 57 px | 76 px | 118 px | 236 px | 472 px |
| 25 mm | 71 px | 94 px | 148 px | 295 px | 591 px |
| 30 mm | 85 px | 113 px | 177 px | 354 px | 709 px |
| 35 mm | 99 px | 132 px | 207 px | 413 px | 827 px |
| 40 mm | 113 px | 151 px | 236 px | 472 px | 945 px |
| 45 mm | 128 px | 170 px | 266 px | 531 px | 1,063 px |
| 50 mm | 142 px | 189 px | 295 px | 591 px | 1,181 px |
| 51 mm | 145 px | 193 px | 301 px | 602 px | 1,205 px |
| 54 mm | 153 px | 204 px | 319 px | 638 px | 1,276 px |
| 55 mm | 156 px | 208 px | 325 px | 650 px | 1,299 px |
| 60 mm | 170 px | 227 px | 354 px | 709 px | 1,417 px |
| 70 mm | 198 px | 265 px | 413 px | 827 px | 1,654 px |
| 85 mm | 241 px | 321 px | 502 px | 1,004 px | 2,008 px |
| 90 mm | 255 px | 340 px | 531 px | 1,063 px | 2,126 px |
| 99 mm | 281 px | 374 px | 585 px | 1,169 px | 2,339 px |
| 100 mm | 283 px | 378 px | 591 px | 1,181 px | 2,362 px |
| 105 mm | 298 px | 397 px | 620 px | 1,240 px | 2,480 px |
| 148 mm | 420 px | 559 px | 874 px | 1,748 px | 3,496 px |
| 150 mm | 425 px | 567 px | 886 px | 1,772 px | 3,543 px |
| 200 mm | 567 px | 756 px | 1,181 px | 2,362 px | 4,724 px |
| 210 mm | 595 px | 794 px | 1,240 px | 2,480 px | 4,961 px |
| 250 mm | 709 px | 945 px | 1,476 px | 2,953 px | 5,906 px |
| 297 mm | 842 px | 1,123 px | 1,754 px | 3,508 px | 7,016 px |
| 300 mm | 850 px | 1,134 px | 1,772 px | 3,543 px | 7,087 px |
| 420 mm | 1,191 px | 1,587 px | 2,480 px | 4,961 px | 9,921 px |
| 500 mm | 1,417 px | 1,890 px | 2,953 px | 5,906 px | 11,811 px |
| 594 mm | 1,684 px | 2,245 px | 3,508 px | 7,016 px | 14,031 px |
| 700 mm | 1,984 px | 2,646 px | 4,134 px | 8,268 px | 16,535 px |
| 841 mm | 2,384 px | 3,179 px | 4,967 px | 9,933 px | 19,866 px |
| 1,000 mm | 2,835 px | 3,780 px | 5,906 px | 11,811 px | 23,622 px |
All values are rounded to the nearest whole number, following the formula px = mm × DPI ÷ 25.4.
The most popular print formats and their pixel dimensions
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.
| Format | W × H (mm) | W × H (150 DPI) | W × H (300 DPI) |
|---|---|---|---|
| Business cards & ID | |||
| Polish business card | 90 × 50 mm | 531 × 295 px | 1,063 × 591 px |
| European business card | 85 × 55 mm | 502 × 325 px | 1,004 × 650 px |
| Payment / SIM card (ISO ID-1) | 85.60 × 53.98 mm | 506 × 319 px | 1,011 × 638 px |
| Flyers & print | |||
| DL flyer | 99 × 210 mm | 585 × 1,240 px | 1,169 × 2,480 px |
| Postcard / A6 | 105 × 148 mm | 620 × 874 px | 1,240 × 1,748 px |
| ISO A-series paper | |||
| A5 | 148 × 210 mm | 874 × 1,240 px | 1,748 × 2,480 px |
| A4 | 210 × 297 mm | 1,240 × 1,754 px | 2,480 × 3,508 px |
| A3 | 297 × 420 mm | 1,754 × 2,480 px | 3,508 × 4,961 px |
| A2 | 420 × 594 mm | 2,480 × 3,508 px | 4,961 × 7,016 px |
| A1 | 594 × 841 mm | 3,508 × 4,967 px | 7,016 × 9,933 px |
| A0 | 841 × 1,189 mm | 4,967 × 7,022 px | 9,933 × 14,043 px |
| Documents & large format | |||
| EU passport / ID photo | 35 × 45 mm | 207 × 266 px | 413 × 531 px |
| B1 poster | 707 × 1,000 mm | 4,175 × 5,906 px | 8,350 × 11,811 px |
| Roll-up banner | 850 × 2,000 mm | 5,020 × 11,811 px | 10,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
| Property | Millimeter (mm) | Pixel (px) |
|---|---|---|
| Unit type | Physical, tangible | Digital, screen-based |
| Depends on device | Always the same | Depends on DPI or PPI |
| Print 300 DPI | 1 mm = 11.81 px | 1 px = 0.085 mm |
| Screen 96 DPI | 1 mm = 3.78 px | 1 px = 0.265 mm |
| Industry standard | Print, packaging, CAD | Screens, web design, UI |
How do you convert millimeters to pixels in popular apps?
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.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.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.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.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.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.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.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.CSS, SVG, and web code
In CSS, themmunit is converted with the fixed formula1mm = 96px ÷ 25.4 ≈ 3.78pxand does not change based on the device. The same applies to SVG files, where dimensions can be set directly in millimeters in thewidth/heightattribute — the browser converts them to pixels with the same constant. In practice, web interfaces usepx,rem, orem, andmmis reserved for print stylesheets (@media print) or vector files headed for further editing in design apps.
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.
| App | Default unit | Where to change the unit | Stores DPI in the file |
|---|---|---|---|
| InDesign | Millimeters | Edit › Preferences › Units & Increments | Yes |
| Illustrator | Chosen when the document is created | Edit › Preferences › Units | Yes, for embedded images |
| CorelDRAW | Millimeters | Property bar, unit list | Yes |
| Photoshop | Pixels | Image › Image Size | Yes, the Resolution field |
| Affinity (from version 3) | Chosen when the document is created | File › Document Setup | Yes, the DPI field |
| Inkscape | Millimeters | File › Document Properties | Yes |
| Canva | Pixels | Resize panel, unit list | Resolution comes from the print PDF export |
| Figma | Pixels at a fixed 96 DPI | The app has no unit switch | Resolution comes from the export scale |
| CSS and SVG | Pixels at a fixed 96 DPI | The mm unit is written directly in the code | The 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?
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.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.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.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
- CSS Values and Units Module Level 3 — W3C
- ISO/IEC 7810 — Wikipedia
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.

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.