๐ Inches to Pixels Converter (DPI/PPI Based)
By Shihab Mia ยท Updated 2026-07-31
Result
1 inch = 96 pixels at 96 DPI
Type in Inches or Pixels, or change the DPI, and both fields recalculate instantly.
To convert inches to pixels, multiply the number of inches by the resolution in DPI (dots per inch), using the formula pixels = inches x DPI. At the standard web resolution of 96 DPI, 1 inch equals 96 pixels, so a 2 inch wide image is 192 pixels wide. The inches to pixels converter above does this instantly in both directions, letting you switch between the 96 DPI web default and print resolutions like 150 or 300 DPI, or enter any custom DPI your project needs.
What is the Inches to Pixels Converter?
Inches and pixels are not directly comparable units on their own. An inch is a fixed physical length, but a pixel is just a single dot in a digital image or on a screen, and it has no fixed physical size. The only way to convert between them is through a resolution figure, expressed as DPI (dots per inch) for print or PPI (pixels per inch) for screens. Once you know the resolution, the conversion is simple multiplication or division: pixels = inches x DPI, and inches = pixels / DPI.
The web has settled on 96 DPI as its reference resolution. This comes from the CSS specification, which defines one CSS pixel as exactly 1/96th of an inch for the purpose of calculating physical measurements like margins printed from a browser. It does not mean every monitor actually displays 96 real pixels per inch (most modern screens have a much higher physical pixel density), but 96 DPI is the conversion baseline that browsers, most design tools, and web developers use whenever an "inch to pixel" figure is needed for on-screen work.
Print work uses different, and usually higher, resolutions because paper is viewed much closer than a screen and needs more detail per inch to look sharp. 300 DPI is the standard target for high-quality photo printing and professional documents, since it is the resolution most commercial printers and print-on-demand services request for crisp results. 150 DPI is a common middle ground for items viewed a little further away, such as posters or signage, where full 300 DPI would create an unnecessarily large file. 72 DPI is a legacy figure from early Apple displays and older desktop publishing software; it still shows up in old templates and file specifications, but it is not the resolution of any current screen or printer, it is simply a historical convention some tools still default to.
DPI and PPI are often used interchangeably, but they technically describe different things. PPI (pixels per inch) measures the density of pixels in a digital image or on a screen. DPI (dots per inch) originally referred to the physical ink dots a printer lays down, which is not always a 1:1 match with image pixels since some printers blend multiple dots to represent one pixel. For the purpose of converting inches to pixels, treating DPI and PPI as equivalent is standard practice and is how virtually every design tool, camera spec sheet and print shop quotes the figure, so this converter uses them interchangeably too.
Modern high-density screens add another layer of confusion. A Retina or HiDPI display might have a true physical density of 326 PPI (iPhone) or around 220 to 260 PPI (many laptop and tablet screens), far above the 96 DPI web reference. These screens do not change the CSS pixel math; instead they render each CSS pixel using a device pixel ratio (commonly 2x or 3x) of real hardware pixels, so a 96 DPI web calculation still gives the correct on-screen size in inches even though the panel itself is much denser. Because there is no single universal DPI, the practical approach is to always convert using the DPI that matches your actual output: a web banner should use 96 DPI, a print flyer should typically use 300 DPI, and a large-format sign might reasonably use 150 DPI or lower. This converter lets you set any DPI value, including custom figures for niche cases like specific printer settings or camera sensor specifications, so the pixel or inch value you get always matches the resolution that actually applies to your project.
When to use it
- Setting the correct pixel width and height for a print-ready flyer, business card or poster at 300 DPI.
- Converting a physical size in inches (e.g. an 8.5 x 11 inch page) into the pixel dimensions needed for a web mockup at 96 DPI.
- Checking whether an image has enough pixels to print at a target size without appearing blurry or pixelated.
- Translating an old 72 DPI design spec or template into the pixel values that match a modern resolution.
- Working out the exact pixel dimensions for a passport, visa or ID photo before uploading it to an official portal.
- Sizing a photo print order (4x6, 5x7, 8x10) correctly before sending files to a print lab or photo kiosk.
How to use the Inches to Pixels Converter
- Choose the DPI (or PPI) that matches your output: 96 for web/screen, 300 for high-quality print, 150 for mid-range print, or enter a custom value.
- Type a value into the Inches box to see the equivalent number of pixels at that DPI.
- Or type a value into the Pixels box to see the equivalent size in inches instead.
- Change the DPI at any time and both fields recalculate automatically using whichever value you entered last.
Formula & method
Worked examples
Find the pixel width of a 4 inch wide web banner at the standard 96 DPI.
- Identify the formula: pixels = inches x DPI.
- Plug in the values: pixels = 4 x 96.
- Multiply: 4 x 96 = 384.
Result: A 4 inch banner is 384 pixels wide at 96 DPI.
Find the print size in inches of a 1200 pixel wide photo at 300 DPI.
- Identify the formula: inches = pixels / DPI.
- Plug in the values: inches = 1200 / 300.
- Divide: 1200 / 300 = 4.
Result: A 1200 pixel wide photo prints at 4 inches wide at 300 DPI.
Find the pixel dimensions needed for a US passport photo, which must be 2 x 2 inches at 300 DPI.
- Identify the formula: pixels = inches x DPI, applied to both width and height.
- Width: 2 x 300 = 600 pixels.
- Height: 2 x 300 = 600 pixels.
Result: A US passport photo needs to be 600 x 600 pixels at 300 DPI.
Common inch to pixel conversions by DPI
| Inches | 72 DPI | 96 DPI (web) | 150 DPI | 300 DPI (print) |
|---|---|---|---|---|
| 1 | 72 | 96 | 150 | 300 |
| 2 | 144 | 192 | 300 | 600 |
| 4 | 288 | 384 | 600 | 1200 |
| 8.5 | 612 | 816 | 1275 | 2550 |
| 11 | 792 | 1056 | 1650 | 3300 |
Typical DPI/PPI targets by use case
| Use case | Typical DPI/PPI | Why |
|---|---|---|
| Web images, CSS layout | 96 | The CSS specification defines 1 pixel as 1/96 inch |
| Standard document/photo printing | 300 | Sharp detail at normal reading/viewing distance |
| Large posters, banners, signage | 150 (or lower) | Viewed from further away, so less detail per inch is needed |
| Older desktop publishing files | 72 | Legacy resolution from early Apple displays, still used in some old templates |
| Retina/HiDPI phone and laptop screens | 220 to 460 (physical) | High pixel density for sharp text and images, handled via device pixel scaling |
Common photo and document print sizes in pixels
| Print size | At 96 DPI (screen preview) | At 300 DPI (print quality) |
|---|---|---|
| Passport photo (2 x 2 in) | 192 x 192 | 600 x 600 |
| 4 x 6 in photo | 384 x 576 | 1200 x 1800 |
| 5 x 7 in photo | 480 x 672 | 1500 x 2100 |
| 8 x 10 in photo | 768 x 960 | 2400 x 3000 |
| US Letter (8.5 x 11 in) | 816 x 1056 | 2550 x 3300 |
| A4 (8.27 x 11.69 in) | 794 x 1123 | 2481 x 3508 |
Common mistakes to avoid
- Assuming there is one universal DPI for all conversions. There is no single correct DPI. The right value depends entirely on the output: 96 for web/screen work, 300 for high-quality print, and other values for specific printers or displays. Always set the DPI to match where the image or design will actually be used.
- Confusing a monitor's real pixel density with the 96 DPI web standard. Modern screens often have a genuine pixel density well above 96 pixels per inch, but 96 DPI is still the reference value browsers and CSS use to define a "pixel" for layout and print calculations. High-density screens handle the difference internally through scaling, not by changing this reference figure.
- Using 72 DPI for a modern print job. 72 DPI is a legacy figure from early desktop publishing and does not match any current printer's expected resolution. Using it for a print project will produce a file with far fewer pixels than needed, resulting in a blurry or pixelated printed result.
- Forgetting that image quality also depends on the source resolution. This converter tells you the pixel dimensions a given inch size requires at a given DPI, but it cannot add detail to an image that was not captured at that resolution. Stretching a low-resolution photo to fit a larger pixel count will not make it print sharp.
- Trusting an image file's embedded DPI metadata over its actual pixel dimensions. Many image files carry a DPI tag in their metadata (often 72 or 96 by default) that has nothing to do with print quality. What determines how sharp a print looks is the actual pixel count relative to the physical print size, not the metadata tag. Changing the metadata DPI in an editor without resampling does not add or remove any real pixels.
- Mixing up width and height when converting rectangular sizes. For non-square sizes like 4 x 6 inches or a Letter page, the width and height need to be converted separately using the same DPI. Applying the width's pixel value to the height (or vice versa) produces a stretched or distorted result.
Glossary
- DPI (dots per inch)
- The number of printed dots packed into one inch of output, used mainly for print resolution.
- PPI (pixels per inch)
- The number of pixels packed into one inch of a digital image or screen, used mainly for on-screen resolution.
- Pixel
- The smallest single unit of a digital image or display, with no fixed physical size on its own.
- CSS pixel
- The reference pixel defined by the CSS specification as exactly 1/96 of an inch, the basis for the 96 DPI web standard.
- Resolution
- The density of pixels or dots packed into a given physical area, usually expressed as DPI or PPI.
- Print-ready
- An image with enough pixels for its intended physical print size at the target DPI (usually 300) to look sharp.
- Retina / HiDPI display
- A screen with a physical pixel density well above 96 PPI, which renders each CSS pixel using multiple real hardware pixels for sharper text and images.
- Device pixel ratio
- The ratio between physical screen pixels and CSS pixels on a display, commonly 2x or 3x on high-density phones, tablets and laptops.
Frequently asked questions
How many pixels are in an inch?
It depends on the resolution. At the standard 96 DPI web resolution, 1 inch equals 96 pixels. At 300 DPI, used for high-quality print, 1 inch equals 300 pixels. There is no single fixed answer without a stated DPI.
How do I convert inches to pixels?
Multiply the number of inches by the DPI (or PPI) you are working with, using the formula pixels = inches x DPI. For example, 3 inches at 96 DPI is 3 x 96 = 288 pixels.
What DPI should I use for web images?
96 DPI is the standard reference resolution for the web, since the CSS specification defines one pixel as 1/96 of an inch. Use 96 DPI when converting inches to pixels for websites, apps, or on-screen layouts.
What DPI should I use for printing?
300 DPI is the standard target for sharp, professional-quality printing such as photos, flyers, and documents. Lower values like 150 DPI can be acceptable for large posters or signage viewed from a distance.
How do I convert pixels back to inches?
Divide the pixel value by the DPI, using the formula inches = pixels / DPI. For example, 600 pixels at 300 DPI is 600 / 300 = 2 inches.
Why does the same image look a different size in inches depending on the DPI?
Because the DPI value determines how many pixels represent one physical inch. The same pixel count printed at 300 DPI produces a smaller physical size than the same file printed at 150 DPI, since more pixels are packed into each inch at the higher DPI.
How many pixels does a passport photo need to be?
A standard US passport photo is 2 x 2 inches, which is 600 x 600 pixels at the required 300 DPI. Other countries use different physical sizes (such as 35 x 45 mm for many Schengen and UK photos), so always check the exact millimeter or inch requirement before converting.
How many pixels is a 4x6 photo?
A 4 x 6 inch photo is 1200 x 1800 pixels at the standard print resolution of 300 DPI, or 384 x 576 pixels if you only need a 96 DPI screen preview.
Is DPI the same as PPI?
Not technically. PPI (pixels per inch) measures pixel density in a digital image or screen, while DPI (dots per inch) originally referred to physical ink dots from a printer. In everyday use, and in this converter, the two terms are treated as equivalent because that is how design software, camera specs and print shops commonly use them.
Does changing an image's DPI in Photoshop or another editor make it sharper?
Only if resampling is turned on, which adds or removes actual pixels. Changing just the DPI metadata field without resampling does not alter the pixel dimensions or add any real detail, it only changes what physical print size the file claims to be.