Camera Resolution Calculator
Calculate megapixels, pixel size, angular resolution, and storage size from sensor dimensions and pixel count.
Enter sensor dimensions and pixel count above.
Formulas Used
Megapixels: MP = (Widthpx × Heightpx) / 1,000,000
Pixel Size: pixel_size (µm) = (Sensor_dimension_mm / Pixel_count) × 1000
Angular Resolution: θ = pixel_size_mm / focal_length_mm → arcsec = θ × (180/π) × 3600
Field of View: FOV = 2 × arctan(sensor_dimension / (2 × focal_length))
Uncompressed File Size: Size (bytes) = Widthpx × Heightpx × channels × bit_depth / 8
Print Size: print_inches = pixel_count / DPI
Sensor Diagonal: d = √(width_mm² + height_mm²) (Pythagorean theorem)
Assumptions & References
- File size is calculated for uncompressed raw data; JPEG compression typically achieves 10:1 to 20:1 ratio, RAW ~3:1 to 5:1.
- Angular resolution assumes a perfect diffraction-free lens; real-world optics are limited by the Rayleigh criterion: θ = 1.22 λ/D.
- Field of view uses the rectilinear (non-fisheye) lens model: FOV = 2×arctan(d / 2f).
- Pixel density (px/mm²) assumes 100% fill factor with no gaps between pixels.
- Print quality: 300 DPI is standard photographic quality; 150 DPI is acceptable for large-format viewing at distance.
- Sensor diagonal follows the Pythagorean theorem on the physical sensor dimensions.
- References: ISO 12232 (sensor sensitivity), CIPA standards, Zemax optical design conventions.