Pixel & Unit Converters
A free set of pixel converters for designers, print buyers, and developers — convert inches, centimeters, millimeters, feet, and typographic points to and from pixels at any resolution. Because a pixel only has a physical size once you fix a DPI, every tool below includes a resolution selector (96 DPI for screens, 300 DPI for print). Pick a converter to get started; each one is bidirectional, includes a reference table, and runs entirely in your browser with nothing uploaded.
Why pixels and physical units need a DPI
A pixel is a unit of digital image data, not a fixed physical length. An inch, a centimeter, or a point is a fixed physical length. To move between the two you need one extra number: the resolution, measured in DPI (dots per inch) or the near-synonym PPI (pixels per inch). Resolution tells you how many pixels are packed into each inch, and that is what turns a physical measurement into a pixel count.
The universal formula is simply pixels = inches × DPI, with centimeters and millimeters first converted to inches (1 inch = 2.54 cm = 25.4 mm). On the web, the CSS reference resolution is 96 DPI, so 1 inch maps to 96 pixels. For print you almost always work at 300 DPI, where 1 inch maps to 300 pixels — which is why a print file has far more pixels than a screen graphic of the same physical size.
Choose a converter
Every tool below is bidirectional (convert either direction), includes a live reference table, and lets you switch between 72, 96, 150, and 300 DPI. They all run client-side, so your numbers never leave your device.
| Converter | What it does | At 96 DPI |
|---|---|---|
| Inches to Pixels | Inches ↔ pixels | 1 in = 96 px |
| CM to Pixels | Centimeters ↔ pixels | 1 cm = 37.8 px |
| Pixels to CM | Pixels ↔ centimeters | 1 px = 0.0265 cm |
| MM to Pixels | Millimeters ↔ pixels | 1 mm = 3.78 px |
| Pixels to MM | Pixels ↔ millimeters | 1 px = 0.265 mm |
| Feet to Pixels | Feet ↔ pixels (large format) | 1 ft = 1152 px |
| Print Size to Pixels | Width × height → pixel size | 2D calculator |
| Points to Inches | Typographic points ↔ inches | 72 pt = 1 in |
Which DPI should I use?
Match the resolution to where the work will live. Use 96 DPI for anything that stays on a screen — websites, social posts, presentations, and UI mockups. Use 300 DPI for anything headed to a printer at normal viewing distance — photos, flyers, business cards, and brochures. Large-format work such as banners and billboards is often built at 72–150 DPI because it is viewed from far away, which keeps file sizes manageable without a visible loss of quality. The one exception is points to inches: because both are fixed physical units, that conversion never needs a DPI.
Frequently asked questions
How many pixels are in an inch?
At the web standard of 96 DPI, one inch is 96 pixels. At 300 DPI, which is typical for print, one inch is 300 pixels. The count depends entirely on the resolution you choose.
How do I convert a physical size to pixels?
Multiply the size in inches by the DPI. For centimeters, divide by 2.54 first; for millimeters, divide by 25.4 first. For example, 5 cm at 300 DPI is 5 ÷ 2.54 × 300 ≈ 591 pixels. The tools above do this instantly.
What is the difference between DPI and PPI?
In everyday design work they are used interchangeably. PPI (pixels per inch) technically describes a digital image or screen, while DPI (dots per inch) describes a printer’s output, but the conversion math is identical, so either label works for these tools.
Why does the pixel value change when I change the DPI?
Because a pixel has no fixed physical size on its own. Higher DPI packs more pixels into each inch, so the same physical measurement produces a larger pixel count. That is why print files (300 DPI) are much larger in pixels than screen graphics (96 DPI) of the same real-world size.
Are these converters free and private?
Yes. Every converter is completely free with no signup, and all calculations run locally in your browser using JavaScript. Nothing you type is uploaded or stored on a server.
Which converter should I use for printing a photo?
Use the Print Size to Pixels calculator: enter the physical width and height and set the DPI to 300. It returns the exact pixel dimensions your image needs to print sharply at that size.
Which units can the converters handle?
Each converter in the grid above, except Print Size to Pixels, has From and To menus with seven units: pixels, inches, centimeters, millimeters, feet, points and picas. So any of those pages can handle any pair, not only the one in its name. When neither side is pixels, the DPI does not change the result, and the converter shows “not needed for this pair”. Print Size to Pixels takes centimeters, millimeters or inches.
Can I use a DPI other than 72, 96, 150 or 300?
Yes. In the converters above, tap a preset button for 72, 96, 150, 300 or 600 DPI, or type any other value, such as 120 or 240, in the Resolution (DPI) box. The result and the formula line update as you type. The single converters start at 96 DPI, and Print Size to Pixels starts at 300 DPI. If you clear the box, they calculate at 96 DPI.
How do I convert pixels to inches?
Divide the pixel count by the DPI: inches = pixels ÷ DPI. At 96 DPI, 1920 pixels is 20 inches; at 300 DPI, the same 1920 pixels is 6.4 inches. Use Pixels to Inches, or press Swap in Inches to Pixels to turn the direction around. In the converters above, pixel results are shown to two decimal places and other units to four, with trailing zeros removed.
How many pixels is A4 at 300 DPI?
A4 (21 × 29.7 cm) is 2480 × 3508 pixels at 300 DPI and 794 × 1123 pixels at 96 DPI. In Print Size to Pixels, the A4, A5, A3, US Letter, 4×6, 5×7, 8×10 and Business card buttons fill in the width and height for you. Pick a DPI and the result shows the size in whole pixels, plus the total pixel count in megapixels.
How do I check if my image is big enough to print?
In Print Size to Pixels, set the print size, then enter your image’s width and height in pixels under “Already have an image?”. The tool divides each side’s pixels by its print length and uses the lower result as the effective DPI. It rates 300 DPI or more as Excellent, 200 or more as Good, 150 or more as Acceptable, and anything lower as Low. For example, 1800 × 1200 pixels at 6 × 4 inches is 300 DPI.
Can I copy or share a conversion?
Yes. In the single converters above, Copy result copies the converted value with its unit, such as “96 px”. In Print Size to Pixels, Copy pixel size copies the width and height, such as “2480 x 3508 px”. In the single converters, the page address also updates with your value, units and DPI as you type, so sharing that link opens the same conversion.
Related design tools & guides
- Image Resizer & Cropper — resize to exact pixel dimensions.
- Image Converter — convert between image formats in your browser.
- Aspect Ratio Calculator — keep proportions correct while resizing.
- All design tools — browse the full set of free, client-side utilities.