How to Calculate DPI From Pixels

When you see a photograph or other image on your computer monitor, you are looking at a rectangle constructed of pixels. A pixel, short for "picture element," is a tiny colored square that your computer mixes with other pixels to create images. DPI refers to the number of pixels per inch in an image. Learning to calculate DPI at various pixel resolutions can help you produce better images when you enlarge or print them.

...
You don't need a calculator to calulate DPI.

Step

Press the "Windows" key and "E" together to open Windows Explorer. Navigate to any image file and right-click the file.

Step

Select "View Properties" to open the "Properties" pop-up window. Click the "Details" tab. You will see values for the image's width and height in pixels. For example, the following values may appear in the window:

Step

Width: 440 pixels Height: 254 pixels

Step

Write down those values. These are the image's pixel dimensions. Click "Close" to close the "Properties" window.and return to Windows Explorer.

Step

Right-click the image file. Select "Open With" and then select "Internet Explorer." The image will open in Internet Explorer.

Step

Locate a ruler and measure the image's width and height in inches.

Step

Divide the pixel width that you wrote down by the width in images that you measured to get the image's horizontal DPI. For instance, if the pixel width is 1524 pixels and the width in inches is six, you have this equation:

Step

Horizontal_DPI = 1524 / 6.

Step

Solving for Horizontal_DPI, you get 254 dpi for the image's horizontal resolution.

Step

Divide the image's pixel height by its height in images to determine its vertical DPI.