Example: 24 MP at 3:2
A 3:2 landscape image has a decimal ratio of 1.5. For a 24 MP target, the calculation produces exactly 6000×4000 pixels:
6,000 × 4,000 = 24,000,000 pixels = 24 MP
Changing only the ratio changes both dimensions even though the total megapixel target remains the same.
Convert resolution to megapixels
For the reverse calculation, multiply pixel width by pixel height and divide by one million. A 3840×2160 4K UHD frame contains 8,294,400 pixels, which equals 8.2944 MP.
megapixels = width × height ÷ 1,000,000
Switch to “Resolution → MP” above to calculate the exact value for any dimensions.