Lens Compression Calculator — Perspective Compression
Visualise how perspective compression changes the apparent relationship between subject and background at different distances.
How We Calculate This
Perspective compression depends entirely on where the camera stands, not on the lens. The calculator works it out from the distances and sizes you enter:
Angular Size
Angular size = 2 × arctan(height ÷ (2 × distance))
This gives the angle each object subtends at the camera. We measure the subject and the background along the same axis (both heights or both widths), then take the ratio.
Apparent Background Size
Apparent size = (background angular size ÷ subject angular size) × 100%
A value above 100% means the background looms larger than the subject — the hallmark of strong compression. Compression gets stronger as the camera moves farther from the subject: the gap between subject and background then becomes proportionally smaller (a smaller background-to-subject distance ratio), so both render at a more similar size and the background appears to crowd in behind the subject.
Distance Ratio
Ratio = background distance ÷ subject distance
This describes the geometry only. Counter-intuitively, a smaller ratio (camera far back) gives stronger compression, while a large ratio (camera close, subject just in front of a distant background) gives a wide-angle look with the background pushed away.
Frequently Asked Questions
Related Calculators
Crop Factor Calculator
Convert focal lengths between different sensor sizes using crop factor. Compare APS-C, Micro Four Thirds and full-frame equivalent fields of view. Free calculator.
Equivalent Focal Length Calculator
Find the full-frame equivalent focal length for any sensor size. Compare lenses across different camera systems with instant results. Free online calculator.
Field of View Calculator
Calculate horizontal, vertical and diagonal field of view for any lens and sensor combination. Plan shots and coverage before you shoot. Free calculator.
Magnification Calculator
Calculate optical magnification from focal length and subject distance. Determine image size on sensor for macro and close-up photography. Free online calculator.
Minimum Focus Distance Calculator
Find the working distance and maximum magnification at your lens minimum focus distance. Plan macro and close-up shots with precision. Free calculator.
Last updated: February 2026
All calculations are estimates based on standard optical and photographic formulas. Results may vary with specific equipment.