How to use: Image size and DPI calculator
- Choose to start from pixels or from a print size.
- Enter the resolution in DPI (300 is usual for print).
- Read the print size or the pixels needed, megapixels and uncompressed size.
What it accepts and what you get
- Input
- Pixels or centimetres/inches and a resolution.
- Output
- Pixels, megapixels, size in cm and inches and uncompressed size.
- Where your data is processed
- Your data is processed in your browser and is not sent to our servers.
Limitations and notes
- The uncompressed size is the image in memory; a real JPG or PNG is much smaller.
Frequently asked questions
How many pixels do I need to print a photo?
Start from a print size, set the resolution in DPI (300 is typical) and read the pixels needed and the megapixels.
Is the uncompressed size what my file will weigh?
No: it is the size of the image in memory. A real JPG or PNG takes up far less.
How many pixels are 10x15 cm?
At 300 DPI, 10×15 cm is about 1181×1772 pixels. At another resolution the result changes: enter the size in cm and the DPI and the calculator gives you the pixels.
How many pixels are 13x18, 20x30 cm or an A4 at 300 DPI?
At 300 DPI: 13×18 cm is about 1535×2126 pixels, 20×30 cm about 2362×3543 and an A4 (21×29.7 cm) about 2480×3508.
When to use it
- When you are going to print a photo and want to know how many pixels it needs.
- To know what print size an image supports.
Examples
- A 10 × 15 cm photo
- At 300 dpi you need about 1,181 × 1,772 pixels.
- From pixels
- Enter the pixels and resolution to see the size in cm and inches.
Common mistakes
- Confusing the uncompressed size with the file's: a real JPG or PNG weighs much less.
- Using a resolution different from the printer's: 300 dpi is usual, but ask.

