Pixels to inches in Excel and Google Sheets

Formulas to convert pixels to inches and back in a spreadsheet, plus how Excel and Google Sheets measure column widths and row heights.

Guides By Convert Inches to Pixels Team

Pixels to inches in Excel and Google Sheets

Spreadsheets are handy for converting a whole list of sizes at once. The formulas are the same in Excel and Google Sheets; what differs is how each app measures its own rows and columns.

Conversion formulas

Put your values in column A and the DPI in cell B1 (96 for screens, 300 for print).

To getFormula
Inches from pixels=A2/$B$1
Pixels from inches=A2*$B$1
Centimetres from pixels=CONVERT(A2/$B$1,"in","cm")
Pixels from centimetres=CONVERT(A2,"cm","in")*$B$1
Whole pixels=ROUND(A2*$B$1,0)

CONVERT works in both apps. Fill the formula down the column to convert the whole list.

How Google Sheets measures columns and rows

Google Sheets sizes columns and rows in pixels. Right-click a column header, choose Resize column and type a width in pixels. The defaults are a 100 px column and a 21 px row.

At 96 pixels per inch, a default column is about 1.04 inches wide. Use =100/96 style formulas to plan a printed layout.

How Excel measures columns and rows

Excel is less direct:

  • Column width is measured in characters of the default font. The standard 8.43 is 64 pixels at 100% zoom.
  • Row height is measured in points, 1/72 of an inch. The usual 15 pt row is 20 pixels.

To work in inches instead, switch to View › Page Layout. Rulers appear and column widths and row heights are shown in inches. Change the ruler unit under File › Options › Advanced › Display › Ruler units.

Skip the spreadsheet for one-off values

For a single size, the pixels to inches converter is quicker, and the inches to pixels converter has a batch tab that exports a list as CSV for your spreadsheet.

← Blog