Points in Focus Photography

Home / Tools / Megapixels to Image Resolution Calculator

Megapixels to Image Resolution Calculator

Nothing complicated, I just keep needing to figure out x, y resolutions in pixels for an image given in megapixels so I threw together a quick tool.

Takes the resolution of the image in megapixels (e.g. 24 is 24 megapixels, 0.6 is 600,000 pixels), and the aspect ratio either in “n:m” notation (e.g. 3:2) or as a decimal number (e.g. 1.5). Returns the x and y sizes in pixels for that image rounded to a pixel.


Hi, I'm Jason, the guy behind this site, and I hope you found this article useful. If you did, then maybe you'd be willing to do something to help me.

I think everybody likes to know they're doing something well. If this article was interesting or useful to you, why not smash the like button below and share it?


If you really found this article useful, perhaps you'd consider helping me keep this site online. One easy way to do that is to use one of the affiliate links below. You get to buy yourself something you already wanted, and I get a tiny commission because you used my link. Best of all, it doesn't cost you any more than it normally would. We both win!



This is so helpful! Thanks!

    Jason Franke | admin

    Glad you found it useful.

Tobias Ekman

Thanks for the calculator. The calculation using the “n:m” notation when “m” is 10 or larger doesn’t work. “m” gets truncated to one character.
16 Mpixel 16:10 or 16:100 calculates to 16000 x 1000 which is the 16:1 ratio

    Jason Franke | admin

    Hi Tobias,

    Thank’s for finding that bug. It should be fixed now.

Christopher Johnson

Thanks! Appreciate you putting this out there! Was trying to figure out how big the 192GP image of China really was. 584K image that printed at 200dpi would print to a football field. Very cool!

Leave a Reply

Basic Rules:
  • All comments are moderated.
  • Abusive, inflamatory, and/or "troll" posts will not be published.
  • Extremely long comments (>1000 words) may be blocked by the spam filters automatically.
  • If your comment doesn't show up, it may have been eaten by the spam filters; sorry about that.
  • See the Terms of Use/Privacy Policy for more details.

Follow me on twitter for updates on when new comments and articles are posted.

Email Notice Details: By checking the above checkbox, you are agreeing to recieve one email at the email address provided with this comment, for the sole purpose of notifing you that the article author has been reseponded to your comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Our cookie and privacy policy. Dismiss