Skip to calculator

Inches to Pixels in Software

Convert inches to pixels by multiplying the measurement in inches by the required pixels per inch (PPI). One inch equals 300 px at 300 PPI, or 96 px at 96 PPI. When converting inches to pixels in software, use the resolution required for your output—not an assumed universal default.

Inches to pixels calculator

DPI
Result

1,200 × 1,800 px

4 × 6 in at 300 DPI

Need ratio lock, more units or a visual preview? Open the full converter

How to convert your dimensions

  1. Identify the width or height you need in inches.
  2. Choose the PPI required for that output. For print, check the printer’s image-resolution specification.
  3. Calculate the pixel count using the inch measurement and PPI.
  4. Repeat for the other dimension, using the same PPI.

For an existing image, preserve its proportions. If your required width and height have a different aspect ratio, crop the image or add space around it rather than stretching it.

Formula and examples

Pixels = Inches × PPI

  • Pixels (px): the number of image pixels along one dimension.
  • Inches (in): the intended physical length of that dimension.
  • PPI: the number of image pixels per inch at that size.

The calculation applies separately to width and height.

A 4 × 6-inch image at 300 PPI

Width: 4 × 300 = 1,200 px

Height: 6 × 300 = 1,800 px

The target image dimensions are 1,200 × 1,800 px, assuming no additional bleed or border.

An 8 × 10-inch image at 150 PPI

Width: 8 × 150 = 1,200 px

Height: 10 × 150 = 1,500 px

The result is 1,200 × 1,500 px. This example uses 150 PPI as a specified requirement, not as a recommendation for every print job.

A fractional measurement

For a width of 2.125 inches at 300 PPI:

2.125 × 300 = 637.5 px

The mathematical result is exact, but a raster image needs a whole-number width. Rounded to the nearest pixel, use 638 px. At 300 PPI, that corresponds to approximately 2.127 inches.

Round at the end of the calculation. If a production specification sets a minimum pixel count, round up when necessary to meet it.

Quick conversion table

These values are exact for the stated PPI. The columns are calculation examples, not software defaults.

Inches to pixels at 96, 150 and 300 PPI
Length (inches)At 96 PPI (px)At 150 PPI (px)At 300 PPI (px)
196150300
2192300600
43846001,200
65769001,800
87681,2002,400

Apply the result in your software

Photoshop: distinguish resizing from resampling

Compare your target pixel dimensions with the existing image dimensions before making a change.

With resampling disabled, changing PPI keeps the pixel count unchanged and changes the intended print size. With resampling enabled, changing size or resolution can add or remove pixels. Keep width and height proportional when resizing. Adobe explains these relationships in its resizing and resampling guide.

Increasing PPI alone does not create additional image detail. Enlarging through resampling adds calculated pixels; it does not recover detail missing from the original.

Illustrator: check the raster export resolution

Vector artwork does not have a single fixed image pixel count. When you export it to a raster format such as PNG or JPEG, the artwork’s physical size and export resolution determine the output dimensions.

For example, a 4-inch-wide export area at 300 PPI needs a width of 1,200 px. Check the exported file’s dimensions, especially if the export includes extra bounds or padding. Illustrator’s available settings depend on the export format.

Figma: account for export scale

For a raster asset, calculate the required output pixels first, then account for the export scale. A 600-pixel-wide frame exported at 2× produces an image 1,200 pixels wide. Avoid applying a multiplier again if your frame already uses the target output dimensions. See Figma’s export formats and settings.

For a 4-inch-wide image intended for 300 PPI printing, the target is 1,200 px wide, regardless of the frame-and-scale combination used to produce it.

Avoid common conversion mistakes

PPI and DPI describe different things

PPI measures image pixels per inch; DPI generally measures printer dots per inch. If a print specification uses “DPI” for an image, confirm whether it means the required image PPI. Do not automatically use a printer’s hardware dot resolution as the converter input.

CSS pixels are logical units

CSS defines 1 inch as 96 CSS pixels. That does not mean every image should use 96 PPI, or that an element measuring one CSS inch will measure one physical inch on every screen. High-density displays can use multiple device pixels for one CSS pixel. See the W3C explanation of CSS units.

Check the final output, not just the document size

When preparing an image for Canva, Procreate, Paint, InDesign, Word, PowerPoint, or Google Slides, distinguish the image’s pixel dimensions from its placed size. Verify the final image dimensions and intended print size rather than assuming an application name determines the conversion.

Frequently Asked Questions

EXPERT GUIDANCE

Short answers to the questions people ask most on this topic.

Use the resolution required by your output workflow. For print, ask the print provider. For a screen asset specified in pixels, use those pixel dimensions directly; an inch conversion may be unnecessary.

An app may fit the image to a page, display it at a particular zoom level, or use resolution metadata to determine its placed size. Its apparent size alone does not tell you whether its pixel dimensions changed.

Yes. If cell A2 contains inches and B2 contains PPI, use: =A2*B2 To round a positive measurement to the nearest whole pixel, use: =ROUND(A2*B2,0) This calculates a pixel dimension; it does not resize an image or set a spreadsheet column’s width.