# Pixels to Inches Converter

> 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.

Source: https://rankcert.com/tools/pixels-to-inches
Free, no signup. Updated: 2026-09-24

## 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 |

## 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.

## Related tools

- [Barcode Generator](https://rankcert.com/tools/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](https://rankcert.com/tools/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](https://rankcert.com/tools/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](https://rankcert.com/tools/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.
- [Code 39 Barcode Generator](https://rankcert.com/tools/code-39-barcode-generator): Generate a Code 39 barcode from uppercase letters, digits and a handful of symbols, and download it as a PNG. Free, no signup, runs in your browser.
- [ITF-14 Barcode Generator](https://rankcert.com/tools/itf-14-barcode-generator): Generate an ITF-14 carton barcode from a 13 or 14 digit GTIN and download it as a PNG. Free, no signup, and the check digit is handled for you.