· 5 min read
How to Pick a Focal Length for a Framing
Heshan Fernando
Co-founder & COO
You need a head-and-shoulders portrait and the room is four metres deep. Which lens?
Two questions are hiding in that one. Which focal length frames the subject from four metres, and which focal length gives the perspective you want — and they have different answers.
The framing calculation
Focal length, subject size, distance and sensor dimension are related by similar triangles:
focal length = (sensor dimension × distance) ÷ subject size
Framing a 0.6 m wide head-and-shoulders on a full frame sensor’s 36 mm width at 4 m gives 240 mm. Fill the frame vertically instead, using the 24 mm dimension, and it is 160 mm.
Two things follow from the formula.
Sensor dimension is an input. The same framing on a smaller sensor needs a shorter focal length, which is what crop factor describes.
Orientation matters. A sensor is not square, so the focal length depends on whether you are filling the frame horizontally or vertically. Most framing calculations are done on the dimension the subject fills.
Distance sets perspective, not focal length
This is the part the calculation cannot tell you, and it is what “portrait lens” actually means.
Perspective — how facial features relate in apparent size and depth — is determined entirely by camera-to-subject distance. Focal length determines how much of the scene is captured from that distance.
Photograph a face from 0.8 m and the nose is noticeably closer to the camera than the ears, so it renders larger. That is the effect people describe as wide-angle distortion, and it is caused by proximity rather than by the lens.
Photograph the same face from 3 m and the relative distances are nearly equal, so features render in more natural proportion. Any focal length that frames correctly from 3 m produces that look.
| Distance | Perspective |
|---|---|
| 0.8 m | Features exaggerated — close-up look |
| 1.5 m | Slight compression |
| 2.5-3.5 m | Natural, flattering |
| 6 m+ | Noticeably compressed |
That is why 85 mm to 135 mm are called portrait lenses on full frame. Not because of anything the glass does, but because those focal lengths frame a head at the distances that flatter faces.
Choose distance first
The practical implication reverses the usual order.
Decide the distance based on the perspective you want and what the space allows.
Then calculate the focal length that frames correctly from there.
Choosing the lens first and moving until the framing works means the perspective is whatever the room happened to give you, which on a portrait is the thing people notice most.
In a room too small for the distance you want, the honest answer is that the perspective will be compromised — and knowing that in advance is better than discovering it in the images.
Check the minimum focus distance
A constraint that invalidates the calculation entirely when it applies.
Every lens has a closest distance at which it can focus. Calculate that you need 100 mm at 0.4 m, and if the 100 mm lens focuses no closer than 0.9 m, the framing is impossible with that lens regardless of the arithmetic.
This bites most in product and detail work, where the subject is small and the calculated distance is short. It is why macro lenses exist as a category — they are ordinary focal lengths with much closer minimum focus.
The workarounds are extension tubes, which reduce minimum focus at the cost of infinity focus, or close-up filters. Both are cheaper than a macro lens and both degrade image quality somewhat.
Common mistakes to avoid
- Choosing a focal length for its reputation and letting distance follow.
- Forgetting the sensor dimension, so a calculation for full frame is applied to a crop body.
- Using the wrong sensor dimension for the orientation.
- Ignoring focus breathing, which makes some lenses frame slightly wider at close focus than their marking suggests.
- Assuming a longer lens fixes perspective — it changes framing, and only moving back changes perspective.
How to do it with Lens Focal Length Calculator
The Lens Focal Length Calculator solves in any direction.
- Decide the working distance based on the perspective you want.
- Enter the subject size and your sensor format.
- Read the focal length that frames it from there.
- Check it against the lenses you own — the constraint is frequently the room rather than the lens.
Other photography tools are in the tools directory.
Frequently asked questions
Does this account for crop factor?
Yes — sensor dimension is an input, so the answer is the actual focal length for that camera rather than a full-frame equivalent.
Why does my calculated lens not look right?
Because focal length sets framing and distance sets perspective. The same framing at 1 m and at 3 m looks completely different, which is why portrait distance matters more than the lens.
What about focus breathing?
Some lenses change effective focal length slightly at close focus, so a marked 50 mm may frame like a 45 mm at minimum distance. It matters most for macro and precise framing.
Final thought
Pick the distance, then calculate the lens. Doing it the other way round lets the room decide how the subject’s face is rendered.