Skip to content

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

Last updated: February 2026

All calculations are estimates based on standard optical and photographic formulas. Results may vary with specific equipment.