Knowing exactly where to stand turns guesswork into a setup. This calculator works out the camera-to-subject distance you need to frame a subject of known size at a chosen tightness, for any lens and sensor — and tells you the angle of view and total field captured at that point.
How it works
The calculation rests on the thin-lens magnification relation. To frame a
subject of height S so that it fills a fraction f of the frame, the field of
view at the subject must be:
field height (FOV) = S ÷ f
The lens projects that field onto the sensor of height h, and for a subject at
distance D with focal length F the geometry gives:
D = F × (FOV ÷ h)
So for a 1.7 m subject filling 90% of the frame height on a full-frame sensor
(h = 24 mm) with an 85 mm lens:
FOV = 1.7 ÷ 0.90= 1.889 m = 1889 mmD = 85 × (1889 ÷ 24)≈ 6.69 m
Angle of view
The angle of view is independent of the subject and depends only on the lens and sensor:
angle = 2 × arctan( sensor dimension ÷ (2 × focal length) )
Computed separately for sensor width, height and diagonal. The diagonal figure is the one lens makers print on the box.
Notes and tips
- Crop sensors frame tighter. The same 50mm on APS-C needs you to step back further than on full frame to keep the same composition.
- Watch perspective, not just framing. Standing further back with a longer lens compresses features — flattering for portraits; standing close with a wide lens exaggerates them.
- Real distances are slightly longer than the thin-lens figure at close range because the lens has physical length, but the model is accurate for typical portrait and product distances.
All calculations run locally in your browser.