Home / Images & Photos / DPI / Pixel Calculator
🖨️ DPI / Pixel Calculator
DPI / Pixel Calculator – get instant, free results right on your device.
Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy
What is DPI / Pixel Calculator?
How many pixels an image needs for printing depends on the print size and the DPI (dots per inch) value. Low resolution causes a blurry print.
This tool calculates the required pixel size by entering the width and height in centimeters and the DPI value. Since one inch is 2.54 cm, pixels = cm / 2.54 × DPI. For example, a 10×15 cm photo requires about 1181×1772 pixels at 300 DPI.
300 DPI is a common target for photo printing; large posters are viewed from a distance, so they can be printed at a lower DPI.
Pixels needed for common print sizes: 10 × 15 cm (300 DPI) = 1,181 × 1,772 px; 13 × 18 cm (300 DPI) = 1,535 × 2,126 px; 21 × 29.7 cm (300 DPI) = 2,480 × 3,508 px; 50 × 70 cm (300 DPI) = 5,906 × 8,268 px; 50 × 70 cm (150 DPI) = 2,953 × 4,134 px; 50 × 70 cm (72 DPI) = 1,417 × 1,984 px. Formula: pixels = centimeters ÷ 2.54 × DPI.
To convert pixels to centimeters: centimeters = pixels ÷ DPI × 2.54. For example, 1000 pixels: 8.5 cm (300 DPI), 16.9 cm (150 DPI), 26.5 cm (96 DPI), 35.3 cm (72 DPI). 2000 pixels: 16.9 cm (300 DPI), 33.9 cm (150 DPI), 52.9 cm (96 DPI), 70.6 cm (72 DPI).
How to use
Fill in these fields: Width, Height, DPI. Then press the button; the result appears on the same page and your data never leaves your device.
Formula
10×15 cm, 300 DPI → 1181×1772 px
Example
10×15 cm, 300 DPI → 1181×1772 px
Worked examples and tips
Example 1: You want to print a 10×15 cm photo in good quality. When you enter a width of 10, a height of 15, and 300 DPI, the tool shows that you need 1,181 × 1,772 pixels. If your photo is smaller than this, it may look soft or blurry in print.
Example 2: You are preparing an A4-size document or poster, that is, 21 × 29.7 cm. The required size for 300 DPI is 2,480 × 3,508 pixels. This value is handy when setting the page size in a design program.
Example 3: You will print a small 5 × 6 cm label at 600 DPI; the result is 1,181 × 1,417 pixels. For a large banner, 90 × 50 cm at 150 DPI requires 5,315 × 2,953 pixels; large prints are viewed from a distance, so they can get by with a lower DPI.
Tips and common mistakes: Do not confuse DPI with pixel size; DPI indicates density in print, while on screen only the pixel count matters. Enlarging a small image does not add detail, it only increases the pixel count. It is best to find out the DPI value recommended by the print shop you will use and enter that. Do not enter inches instead of centimeters; the tool expects centimeters.
When to use it: Use it to determine the required resolution for photo prints, posters, business cards, and print-ready design files.
Frequently asked questions
DPI / Pixel Calculator – how to use it?
Fill in the fields and press the button; the result appears instantly. Example: 10×15 cm, 300 DPI → 1181×1772 px
DPI / Pixel Calculator – is it free, and is my data stored?
Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.
Related guide
- How to Reduce Image Size: JPG, PNG and WEBP Compression – How to reduce image size: pixel and quality math, steps for form size limits, print DPI values and JPG, PNG and WEBP differences.
- How Many Pixels Is A4? Paper Sizes and DPI Pixel Table – How many pixels is A4? Pixel sizes of A0–A6 paper at 72, 96, 150 and 300 DPI, plus 10x15 and 13x18 photo sizes, the formula and common mistakes.
Embed this calculator on your site
Copy the code below and paste it into your website, blog or email template. The calculator is free and runs on your site.