Lens Focal Length Calculator
Estimate the lens focal length (mm) and 35mm equivalent you need from your subject distance, real size, and sensor width.
Input
Estimate the lens focal length needed to fill the frame width with your subject, based on the subject distance, its real size, and your sensor (film) width.
Result
Focal length needed (to fill the frame width)
64mm
35mm equivalentapprox. 64 mm
Focal length (actual)
64 mm
35mm equivalent
64 mm
Horizontal angle of view
31.6 °
Calculation details
| Sensor (film) | 35mm full frame (36mm) |
| Actual focal length | 63.5 mm |
| 35mm equivalent focal length | 63.5 mm |
| Horizontal angle of view | 31.6 ° |
| Magnification (approx.) | approx. 1 : 46.2 |
How it works
- The focal length f is estimated as 'sensor width × subject distance ÷ subject real size'. This is a thin-lens approximation derived from the image similarity ratio W / H = f / s, giving the focal length needed to fit the subject across the full frame width.
- The 35mm equivalent focal length is found by multiplying the actual focal length by the crop factor of the chosen sensor (its angle-of-view ratio relative to full frame). Full frame is 1×, APS-C is about 1.5×, and Micro Four Thirds is 2×.
- The horizontal angle of view is calculated as '2 × arctan(sensor width ÷ 2f)'. The shorter the focal length, the wider the angle; the longer it is, the narrower (more telephoto) the view.
- Enter the distance in meters and the subject size in centimeters. The sensor width is based on the long-side (horizontal) dimension.
- Because this assumes a thin lens, it does not account for real lens design, distortion, or minimum focusing distance. Use it as a rough guide when choosing a lens.
- Results are rounded to the nearest whole millimeter. In practice, pick the closest standard lens value (24mm, 35mm, 50mm, etc.) for easier use.
Related calculators
Flash Shooting Distance
HobbyCalculate the ideal shooting distance to your subject from a flash unit's guide number, aperture and ISO.
Open calculator →Flash Aperture Calculator
HobbyCalculate the correct f-stop for flash photography from guide number, distance, and ISO. Instantly see the nearest standard f-stop and the correct distance for each aperture.
Open calculator →Camera Angle of View Calculator
HobbyEnter a lens focal length and image sensor size to instantly calculate how wide a scene the camera captures: the horizontal, vertical, and diagonal angle of view. Includes presets for full frame, APS-C, Micro Four Thirds and more (plus custom sensor sizes) and shows the 35mm equivalent focal length too.
Open calculator →Depth of Field Calculator
HobbyFrom focal length, f-stop, subject distance, and circle of confusion, calculate the front, rear, and total in-focus range plus the hyperfocal distance.
Open calculator →