Skip to content
Calculator Tools
Image & Photo Calculators

Image Resolution Calculator

Megapixels, aspect ratio and print size for any image dimensions.

Enter values

Results update as you type.

Result

Megapixels

12 MP

Total pixels
12,000,000
Aspect ratio
4 : 3
Ratio as a decimal
1.3333
Print size at this DPI
13.33 × 10 inches
Print size in cm
33.9 × 25.4 cm
Orientation
Landscape

Print size by resolution

DPIInchesCentimetres
7255.56 × 41.67141.1 × 105.8
15026.67 × 2067.7 × 50.8
20020 × 1550.8 × 38.1
30013.33 × 1033.9 × 25.4
6006.67 × 516.9 × 12.7

About the Image Resolution Calculator

An image’s pixel dimensions decide three things at once: how many megapixels it holds, what shape it is, and how large it can be printed before the pixels become visible. This calculator works all three out and shows the aspect ratio in its simplest whole-number form.

Also known as: image size calculator, megapixel calculator, photo resolution, pixel dimensions, aspect ratio calculator.

How to use this calculator

  1. Enter width, height, print resolution.
  2. The result updates instantly as you type — press Calculate (or Enter) at any time.
  3. Review the breakdown shown under the main result.
  4. Use Copy result or Share to save the answer or send a link with your inputs.

Formula

megapixels = width × height ÷ 1,000,000

Worked example

Using the values pre-filled in the calculator above:

  • Width = 4,000 px
  • Height = 3,000 px
  • Print resolution = 300 DPI

the calculator returns:

  • Megapixels: 12 MP
  • Total pixels: 12,000,000
  • Aspect ratio: 4 : 3
  • Ratio as a decimal: 1.3333

Frequently asked questions

How many megapixels do I need for a print?

For a good 12 × 8 inch print at 300 DPI you need about 8.6 MP. Large prints viewed from a distance need far fewer.

What is a 3:2 aspect ratio?

The classic 35mm frame shape, which is why it prints perfectly to 6 × 4 inches.