Resolve a pixel width and height from a megapixel count and aspect ratio.
With the aspect ratio fixing the width-to-height relationship, the square root of megapixels divided by that ratio recovers the pixel dimensions. Cameras advertise megapixels, but pixels per side decide sensor crops, lens coverage and how large the file prints at a given DPI.
Megapixel Dimensions
Height = sqrt(MP x 1,000,000 / ratio); width = height x ratio
Height = sqrt(MP x 1,000,000 / ratio); width = height x ratio With the aspect ratio fixing the width-to-height relationship, the square root of megapixels divided by that ratio recovers the pixel dimensions.
Cameras advertise megapixels, but pixels per side decide sensor crops, lens coverage and how large the file prints at a given DPI.
This calculator takes 2 inputs: Megapixels, Aspect ratio. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.