Skip to content
Calculator Tools

Tech & Media · 10 calculators

Image & Photo Calculators

Image aspect ratios, resolution, DPI and PPI, print sizes, pixels to inches, resizing, megapixels and file size.

Key image & photo formulas

Aspect RatioW : H = (W ÷ GCD) : (H ÷ GCD) · H = W × b ÷ a
Image Resolutionmegapixels = width × height ÷ 1,000,000
DPIDPI = pixels ÷ inches
PPIPPI = √(width² + height²) ÷ diagonal in inches
Print Sizeprint inches = pixels ÷ DPI
Pixels to Inches Converterinches = pixels ÷ DPI
Inches to Pixels Converterpixels = inches × DPI
Image Resizenew height = new width ÷ original aspect ratio
Megapixelmegapixels = width × height ÷ 1,000,000
Image File Sizesize ≈ pixels × bits per pixel ÷ 8, scaled by the compression quality

Image & Photo questions

What are the common aspect ratios?

16:9 for HD video and most monitors, 4:3 for older TVs and iPads, 21:9 for ultrawide displays, 1:1 for square social posts, 9:16 for vertical video and 3:2 for many camera sensors.

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.