Calculator Hub

Technology & Computing

Image Aspect Ratio, DPI & Megapixel Calculator

Calculate an image's aspect ratio, total megapixels, and physical print size at a given DPI.

Your inputs

Change any value to update the result instantly.

Technology & Computing

Megapixels

12

Aspect ratio

4 :3

Print width

13.3333 in

Print height

10 in

Higher DPI shrinks the physical print size for the same pixel dimensions but increases sharpness.

Formula and working

Megapixels = (width px × height px) ÷ 1,000,000; Print size (in) = pixels ÷ DPI

  1. 1

    Collect the inputs

    Image width (pixels) = 4,000; Image height (pixels) = 3,000; Print resolution (DPI) = 300

  2. 2

    Apply the formula

    Megapixels = (width px × height px) ÷ 1,000,000; Print size (in) = pixels ÷ DPI

  3. 3

    Result

    Megapixels = 12

Frequently asked questions

Important limitation

This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.

Report a mistake or request an improvement

Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.

Related calculators

Back to Calculator Hub