Pixel to Inch Converter | Convert Pixels to Inches
Convert pixels to inches with this free calculator. It applies the formula inches = pixels divided by DPI and lists common DPI values for screens and printing.
Pixel to Inch Converter
Conversion Formula:
About This Converter
This tool converts pixel measurements to inches based on the specified DPI (dots per inch) value. The conversion uses the formula: inches = pixels ÷ DPI.
Common DPI values:
- 72-96 DPI: Standard screen resolution
- 300 DPI: Standard print resolution
- 600+ DPI: High-resolution printing
Documentation
Pixel to Inch Converter
A pixel to inch converter turns a pixel measurement into a physical size in inches. It does this using the resolution of the screen or printer, measured in DPI (dots per inch). Enter a number of pixels and a DPI value to see the equivalent length in inches.
What is a pixel, and what is DPI?
A pixel is the smallest unit of a digital image, a single square of color. It has no fixed physical size on its own. DPI stands for dots per inch. It tells you how many pixels are packed into one inch of a screen or a printed page. A higher DPI means more pixels fit into the same inch, so each pixel is smaller.
How to calculate pixels to inches
The formula is:
inches = pixels ÷ DPI
Divide the pixel count by the DPI value to get the length in inches. To go the other way, multiply inches by DPI to get pixels.
Example
A photo is 3000 pixels wide. It will be printed at 300 DPI.
3000 ÷ 300 = 10
The printed photo will be 10 inches wide.
Another example
An image is 1920 pixels wide. The calculator's default DPI is 96.
1920 ÷ 96 = 20
The image measures 20 inches wide at 96 DPI.
The calculator shows more decimal places for small results and fewer for large ones. Results under 0.01 inch show six decimals, under 0.1 inch four, under 10 inches three, and 10 inches or more two. For example, 100 pixels at 96 DPI shows as 1.042 inches.
Common DPI values
DPI is not the same everywhere. It depends on the screen or printer.
- 96 DPI: the CSS standard used by web browsers defines 1 CSS pixel as 1/96 of an inch. This is the calculator's default.
- 72 DPI: a common setting for web images. It is too low for print.
- 300 DPI: the usual minimum for print. Oregon's state print shop advises that print images should be at least 300 dpi at the final print size.
Quick reference table
Pixel to inch conversions at common DPI values, rounded to two decimal places. The calculator shows three decimals for results under 10 inches, such as 3.125 for 300 pixels at 96 DPI.
| Pixels | 72 DPI | 96 DPI | 150 DPI | 300 DPI |
|---|---|---|---|---|
| 300 px | 4.17" | 3.13" | 2.00" | 1.00" |
| 600 px | 8.33" | 6.25" | 4.00" | 2.00" |
| 1000 px | 13.89" | 10.42" | 6.67" | 3.33" |
| 1500 px | 20.83" | 15.63" | 10.00" | 5.00" |
| 2000 px | 27.78" | 20.83" | 13.33" | 6.67" |
| 3000 px | 41.67" | 31.25" | 20.00" | 10.00" |
Why the conversion matters
A digital file is measured in pixels. A printed page is measured in inches. Without a DPI value, a pixel count alone cannot say how big something will appear once printed. The same 1000-pixel-wide image is about 10.4 inches wide at 96 DPI but only about 3.3 inches wide at 300 DPI. Designers convert pixels to inches to check that a web image will print at the right size, and to work out how many pixels a print job needs.
For example, a standard 3.5 × 2 inch business card printed at 300 DPI needs an image that is 1050 × 600 pixels. A letter-size 8.5 × 11 inch flyer at 300 DPI needs 2550 × 3300 pixels.
Input limits
The pixel field has a minimum of 0. The DPI field has a minimum of 1, so the formula never divides by zero. A value below a field's minimum shows a message and is clamped to that minimum before the calculation. For example, a DPI of 0.5 is treated as 1. Both fields accept decimals, such as 72.5 DPI. If a field is empty, no result is shown.
Frequently asked questions
What is the formula for converting pixels to inches? Inches equal pixels divided by DPI: inches = pixels ÷ DPI.
What DPI should I use for web images? Browsers size images in CSS pixels, defined at 96 per inch, so the pixel count matters on screen. Web images are commonly saved at 72 DPI.
What DPI should I use for printing? Use at least 300 DPI at the final print size for photos and documents.
How do I convert inches back to pixels? Multiply the inch value by the DPI: pixels = inches × DPI. For example, 2 inches at 150 DPI equals 300 pixels.
What is the difference between DPI and PPI? DPI (dots per inch) was originally a printing term. PPI (pixels per inch) describes digital screen density. In everyday use, and in this calculator, the two are treated the same way: a count of pixels per inch of length.
How do I convert pixels to centimeters? First convert pixels to inches, then multiply by 2.54. One inch is exactly 25.4 mm, or 2.54 centimeters. For example, 300 pixels at 96 DPI is 3.125 inches, which is about 7.94 centimeters.
References
- W3C. CSS Values and Units Module Level 4. W3C specification — 1px = 1/96th of 1in; the reference pixel is based on 96 dpi.
- Oregon Department of Administrative Services, Publishing & Distribution. Saving graphics and images for printing. Oregon DAS print tips (PDF) — print images at least 300 dpi at the final size; web images commonly saved at 72 dpi.
- National Institute of Standards and Technology. SI Units – Length. NIST length units — the inch is exactly 25.4 mm.