PhotoCalcs
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
Lens compression (more accurately, perspective compression) makes the background appear larger and closer to the subject. It is caused by camera-to-subject distance, not focal length. When you use a telephoto lens, you stand further away — this distance creates the compression effect. Cropping a wide-angle shot from the same position gives identical compression.
No — distance does. Focal length only determines magnification (how much of the scene you capture). Two photos taken from the same distance with different focal lengths show identical perspective when the wider one is cropped. The compression changes only when you move the camera.
Use compression to make backgrounds appear closer (telephoto from far away) — great for bringing mountains behind a subject. Use wide-angle close up to exaggerate distance and depth. Portrait photographers use moderate compression (85-135mm on FF) for flattering facial proportions.
When you photograph a face up close with a wide-angle lens, the nose is much closer to the camera than the ears. This distance difference is exaggerated, making the nose appear larger. At telephoto distances, the nose-to-ear distance is tiny relative to camera-to-subject distance, so proportions look natural.
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.
Was this calculator helpful?
Last updated: February 2026
All calculations are estimates based on standard optical and photographic formulas. Results may vary with specific equipment.