Excel worksheet helper

Pixels to MM in Excel

Calculate the physical size of pixel-based images or worksheet elements, then copy the matching Excel formula into your workbook. The default is 96 DPI.

Default density 96 DPI
Designed for Excel images & page layout
Output Worksheet physical size

Live conversion

Enter dimensions

Ready
Quick DPI
Workflow presets

Converted size

Width
Height
Diagonal
Aspect ratio

Formula mm = pixels × 25.4 ÷ DPI

Enter valid dimensions to see the calculation.

Excel formula =A2*25.4/B2 A2 = pixels, B2 = DPI

Calculations stay in your browser. No dimensions are uploaded.

Three-step workflow

How to use this calculator

01

Place values in cells

Put pixels in A2 and DPI in B2, or enter the same values in this calculator.

02

Apply the formula

Use =A2*25.4/B2 to return millimeters from a pixel value and DPI.

03

Check Page Layout

Use Excel's Page Layout view when you need ruler units and print-oriented physical measurements.

Practical guide

Pixels, points, and millimeters behave differently in Excel

Excel's Normal view does not express every dimension in millimeters: row heights are shown in points and column widths use a character-based unit. That means a pixel-to-mm result should not be pasted directly into the standard Column Width box.

For physical layout, switch to Page Layout view and select millimeters as the ruler unit. For a worksheet calculation, keep pixels and DPI in separate cells so the formula remains auditable when values change.

Official reference: Microsoft: change column width and row height ↗

Common questions

Excel FAQ

What Excel formula converts pixels to millimeters?

Use =A2*25.4/B2 when A2 contains pixels and B2 contains DPI.

Can I set Excel column width directly in millimeters?

Use Page Layout view for physical ruler units. In Normal view, column width is character-based rather than a fixed millimeter value.

Why are row heights shown in points?

Excel's Normal view uses points for row height. One point is 1/72 inch, while pixel conversion still depends on DPI.

Which DPI should I use for an image in Excel?

Use the image's effective DPI for printing. For screen-oriented estimates, 96 DPI is a common default.

Specialized tools

More pixel-to-mm tools

Continue with a calculator tailored to another design, print, or office workflow.