Pixels to Inches Converter
Convert pixels to inches and centimetres, or inches back to pixels, at 72, 96, 150, 300 or any custom DPI.
Inches equal pixels divided by DPI. At 96 DPI, the CSS and Windows default, 96 pixels is one inch. At 300 DPI, the print standard, you need 300 pixels for every inch, so a 1920-pixel image prints 6.4 inches wide. Enter a DPI and a value here to convert either way.
Runs entirely in your browser · no signup · nothing is uploaded · updated 2026-09-24
Pixels have no physical size until you pick a density. CSS and Windows use 96, print uses 300.
How to use it
- 1.Pick a DPI - 96 for screens and CSS, 300 for print.
- 2.Type a pixel value to get inches and centimetres.
- 3.Or type inches to get the pixel count you need.
Pixels per inch at common DPI
Formula: inches = pixels / DPI, and pixels = inches x DPI.
| DPI | Used for | 1 inch | 8.5 x 11 in page |
|---|---|---|---|
| 72 | Old Mac screens, some web exports | 72 px | 612 x 792 px |
| 96 | CSS, Windows, most browsers | 96 px | 816 x 1056 px |
| 150 | Draft print, large posters | 150 px | 1275 x 1650 px |
| 300 | Photo and magazine print | 300 px | 2550 x 3300 px |
| 600 | Line art and text scans | 600 px | 5100 x 6600 px |
Frequently asked questions
How many pixels is an inch?
It depends on the DPI. It is 96 pixels in CSS and on Windows, 72 in some older Mac software, and 300 for print. A pixel has no physical size until a density is chosen.
How do I convert pixels to inches?
Divide the pixel count by the DPI. 1200 pixels at 300 DPI is 4 inches; the same 1200 pixels at 96 DPI is 12.5 inches.
What DPI should I use for print?
300 DPI for photos and anything viewed up close. 150 is fine for posters seen from a distance. Below that, prints start to look soft.
Is DPI the same as PPI?
Strictly, PPI is pixels per inch in a digital image and DPI is ink dots per inch on a printer. In practice the terms are used interchangeably for this calculation.
Why is a CSS inch not a real inch on my screen?
CSS fixes an inch at 96 CSS pixels, and devices scale CSS pixels to fit their actual density. So 1in in CSS is only roughly an inch on a real display.
How many pixels is A4 at 300 DPI?
A4 is 8.27 x 11.69 inches, which is 2480 x 3508 pixels at 300 DPI.
Tools that pair with this one
Barcode Generator
Generate Code 128, EAN-13, UPC-A, Code 39, ITF-14, MSI and Pharmacode barcodes and download them as PNG. Runs entirely in your browser.
Code 128 Barcode Generator
Generate a Code 128 barcode from any text or number and download it as a PNG. Full ASCII, automatic subset switching, no signup and nothing uploaded.
EAN-13 Barcode Generator
Generate a valid EAN-13 retail barcode, with the check digit calculated for you, and download it as a print-ready PNG. Free, no signup, nothing uploaded.
UPC Barcode Generator
Generate a 12-digit UPC-A retail barcode with the check digit calculated automatically, and download it as a print-ready PNG. Free and entirely in your browser.
Built something?
RankCert is a weekly launch board where products rank on domain control we verify ourselves - not upvotes. Listing is free and the link is dofollow whether or not you display our badge.