Blog
Unit converters

Inch to pixel converter

Choose a conversion direction, enter a value, and specify the resolution in dots per inch (DPI) — the converter translates inches to pixels or pixels to inches. The result depends on the chosen DPI, so make sure to set it correctly for your specific task (screen, print, scan).

Your data never leaves this device

Result

Result
Resolution used, DPI

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Inches → pixels formula pixels = inches × DPI
Pixels → inches formula inches = pixels / DPI
96 DPI the standard resolution for Windows and the CSS pixel
300 DPI the typical resolution for high-quality print

When it misleads you

How it is calculated

To convert inches to pixels, the entered value in inches is multiplied by the selected DPI resolution.

To convert pixels to inches, the entered value in pixels is divided by the selected DPI resolution.

DPI is taken from the selected preset (72, 96, 150, 300) or entered manually when "custom value" is chosen.

The result and the DPI value used update instantly whenever any parameter changes.

Questions and answers

What DPI should I use for web design?

Generally 96 DPI — the standard for CSS pixels in most browsers; Retina display UI elements have a higher physical pixel density, but the logical CSS pixel remains tied to 96 DPI.

What DPI is needed for high-quality printing?

300 DPI is generally considered the standard for professional printing; for draft or less demanding printing, 150 DPI is often sufficient.

Why does the result change for the same pixel value when I change the DPI?

Because the number of pixels per inch is exactly what determines the physical size in inches for a given pixel count — the higher the DPI, the smaller the physical size for the same number of pixels.

Is my data sent anywhere?

No, the whole calculation runs in your browser.

Related tools

All tools