Convert pixels to physical inches using pixels per inch (PPI), or switch directions to calculate how many pixels are needed for a given size in inches.
Last updated: August 2026 | By Workshelve Team
Default: 96 PPI. Use 96 for CSS absolute-unit conversion, or replace it with the intended image, print, or display density for physical-size calculations.
Pixels are a digital count; inches are a physical length. Pixels per inch (PPI) is the scale that connects them.
Divide pixels by PPI to get inches. Multiply inches by PPI to calculate the pixel count needed at that resolution.
CSS defines 1in as 96 CSS px for absolute-unit conversion. That does not mean every display or image physically contains 96 hardware pixels per inch.
In this calculator, a pixel is one element of a digital image dimension. An image that is 1920 pixels wide contains 1920 image pixels across that dimension, but that number alone does not tell you how many physical inches wide the image should be.
Physical size appears only after you choose a pixel density. If the same 1920-pixel dimension is used at 96 PPI, it corresponds to 20 inches. At 300 PPI, it corresponds to 6.4 inches. The stored pixel count is unchanged; the assumed physical scale is different.
This is why “one pixel equals a fixed number of inches” is not generally true for digital images or hardware displays. The 96 px-per-inch relationship used by CSS is a defined unit relationship for CSS layout, not a universal measurement of physical display pixels.
Example: 1080 pixels at 96 PPI is 1080 ÷ 96 = 11.25 inches.
Example: an 8-inch dimension at 300 PPI needs 8 × 300 = 2400 pixels.
Useful for CSS absolute-unit conversion and any image calculation where 96 PPI is intentionally chosen.
If an image is sized at 300 pixels per inch, every physical inch corresponds to 300 image pixels.
To convert actual hardware pixels to physical inches, use that display's physical pixel density rather than assuming 96.
The answer changes with PPI, which is why the calculator asks for resolution instead of returning one universal physical size.
Both results are mathematically correct because they describe the same pixel count at different physical scales.
PPI describes pixels per inch and is the relevant scale for this converter. When working with a raster image, it tells you how densely image pixels are assigned to a physical length.
DPI means dots per inch and is traditionally associated with printer output. A printer can use multiple ink or toner dots to reproduce one image pixel, so DPI and PPI should not be treated as universally identical measurements even though the terms are sometimes used loosely.
For a physical display, the appropriate density is the display's actual hardware pixel density if your goal is a real-world measurement. For CSS layout, use the CSS unit relationship instead: 1 CSS inch equals 96 CSS pixels.
Divide the pixel count by the PPI. For example, 1200 pixels at 300 PPI is 1200 ÷ 300 = 4 inches.
At 96 PPI, 1080 pixels is 11.25 inches. At 300 PPI, it is 3.6 inches. A PPI value is required because pixels do not have one universal physical size.
It equals the chosen PPI. At 300 PPI, one inch corresponds to 300 image pixels. In CSS absolute-unit conversion, one CSS inch equals 96 CSS pixels.
96 is useful because CSS defines 1in as 96 CSS px. It is a convenient starting value, not a claim that every image, printer, or physical display has a density of 96 PPI.
No. PPI describes pixels per inch; DPI traditionally describes printer dots per inch. They can be discussed together in print workflows but are not inherently the same measurement.
Not in this calculator. It changes the physical-size calculation for the existing pixel count. Resampling is the separate process that actually changes image pixel dimensions.
Multiply 8 inches by 300 PPI. You need 2400 pixels along that dimension.
Yes for unit calculations. Fractional CSS pixel lengths and calculated values can be meaningful, but stored raster image dimensions are ordinarily whole pixel counts.
Yes. Convert each dimension separately using the same intended PPI. For example, 2400 × 3000 pixels at 300 PPI corresponds to 8 × 10 inches.
Related Tools
Convert RGB color values into HEX codes.
Convert roman numerals values.
Convert between kilobytes and megabytes.
Convert letters to numbers.
Convert between megabytes and gigabytes.
Convert between megabits and gigabits per second.