The rectangle behind the lens

A focal length is not an angle

Fifty millimetres means nothing until a rectangle is named behind it. The same lens is 39.6° across full frame, 26.6° across APS-C and 8.7° across a phone sensor — and the distance the resulting print is correct from depends on the ratio of the two, so two cameras matched on angle agree exactly whatever their formats.

Worth reading first: The point you have to stand at · Wide angle is not distortion.

Every camera on this site has had a focal length in pixels. That is deliberate, and its own docstring says why: everything is a ratio until a physical size is named, and naming one prematurely disguises which claims are about geometry and which are about a particular piece of equipment.

This field names them. And the first thing that follows is that the phrase everybody uses — a 50 mm lens — is an incomplete specification of a picture, in a way that is not a quibble.

θ=2arctan ⁣(w2f)\theta = 2\arctan\!\left(\frac{w}{2f}\right)

One line, and the ww in it is the width of the sensor. A 50 mm lens is 39.6° across a full-frame sensor, 26.6° across APS-C, 19.6° across Micro Four Thirds, and 8.7° across the sensor in a phone. Those are four different pictures of the same scene from the same place.

The same lens behind five sensorsA 50 mm lens subtends 39.6° across full frame and 8.7° across a phone sensor. The focal length is the same in every one of these; what changes is the rectangle behind it. Two setups matched on angle rather than on focal length are correct from the same distance — 222 mm for a 160 mm print — whatever their formats.full frame · 39.6°APS-C · 26.6°Micro Four Thirds · 19.6°1 inch · 15.0°phone (1/1.7″) · 8.7°one 50 mm lens · the angle is a property of the rectangle behind itMicro Four Thirds: 2.00× diagonal, 2.08× wide, 1.85× tall50 mm across five formats39.6° down to 8.7°
Fig. 1 One focal length behind five rectangles, drawn at the angles they actually subtend. The lens has not changed in any of these — what changes is the rectangle behind it, and the rectangle is the half of the specification the phrase leaves out.

Where the sensor came in

It is worth being clear about what has changed, because the site’s machinery has not.

This site’s camera takes a focal length in pixels or a field of view in degrees and derives the other, and refuses to be given both, on the stated ground that a figure whose stated field of view does not match its focal length “is exactly the kind of thing this site is about”. The pixels there are the picture’s pixels, and the picture is whatever the figure is drawn at.

A real camera has one more rectangle in the chain: the sensor. The focal length is a physical distance from the lens’s rear nodal point to the sensor, and the sensor has a physical width, and the ratio of the two is the only thing that decides the angle. Which is exactly the same statement the site’s own camera makes with f/Wf/W, with a millimetre in place of a pixel.

So nothing has been added. What has happened is that a ratio the site has always used has been given two named ends, and giving them names makes visible something that was invisible while both ends were the same abstract picture.

The format cancels — and this is the site’s own claim

Here is the result worth having, and it is a statement about where the reader has to stand rather than about photography.

This site’s central claim is that a picture is correct from exactly one distance, and that the distance is computable: scale the picture to a display width WdW_d and the focal length scales with it, and the scaled focal length is the viewing distance. In the sensor’s terms,

d=fWdwd = f \cdot \frac{W_d}{w}

and every symbol on the right is a length in millimetres.

Now take two cameras matched on angle rather than on focal length — a 50 mm on full frame and the 32.8 mm that gives the same 39.6° on APS-C. Their prints, at the same size, are correct from the same distance: 222.2 mm for a 160 mm print, both ways, to nine digits.

They must be, because dd depends on f/wf/w and the two setups were chosen to have the same f/wf/w. But it is worth checking rather than deducing, because it is the kind of statement that is easy to write down and easy to get backwards, and because the check discriminates: the same focal length on the smaller sensor gives 339 mm rather than 222, so the assertion is not satisfied by a function that ignores its arguments.

Where the reader has to be for a 40° picture to be correctShown 160 mm wide, this picture is a correct projection only from 22 cm away. Drawn to scale.the picture, 160 mm wide22 cm40°the eyefocal length 948 px22 cm at 160 mm wide
Fig. 2 The claim being cancelled into. A 39.6° picture is correct from 1.39 of its own width, and every camera that produces a 39.6° picture agrees — full frame, APS-C, a phone, or a drawing made with a ruler. The station point is a property of the picture, and the picture does not remember what made it.

That is a more interesting result than it first looks. A photograph does not carry its format. Nothing about a print says what size the sensor behind it was, and nothing needs to: the only quantity that survives into the picture is the angle, and the angle is what the station point is computed from. The whole vocabulary of formats and crop factors is about how to achieve an angle with the equipment in hand, and it disappears the moment the picture exists.

Crop factor is a diagonal, and it disagrees with itself

The trade’s way of handling this is the crop factor: the ratio of the 35 mm frame’s diagonal to the sensor’s, used to convert focal lengths into “equivalents”.

It is a genuinely useful number and it is exactly right only on the diagonal. Micro Four Thirds has a crop factor of 2.00 on the diagonal, and:

measured on ratio
diagonal 1.999
width 2.081
height 1.846

The spread is because Micro Four Thirds is 4:3 and the 35 mm frame is 3:2. A “50 mm equivalent” lens on that format gives the same diagonal angle and a narrower horizontal one and a wider vertical one, and which of those a photographer cares about depends entirely on what is being photographed.

This is not a criticism of the convention — one number cannot reconcile two aspect ratios and the diagonal is the sensible compromise. It is a reason to be careful with the word equivalent, which is doing more work than it can carry. The gate asserts the disagreement rather than the agreement: the crop factor is computed on all three axes and the check requires them to differ substantially, because a crop factor that agreed on all three axes would mean the two formats had the same shape and the whole subject would be trivial.

The same lens behind five sensorsA 24 mm lens subtends 73.7° across full frame and 18.0° across a phone sensor. The focal length is the same in every one of these; what changes is the rectangle behind it. Two setups matched on angle rather than on focal length are correct from the same distance — 222 mm for a 160 mm print — whatever their formats.full frame · 73.7°APS-C · 52.4°Micro Four Thirds · 39.6°1 inch · 30.8°phone (1/1.7″) · 18.0°one 24 mm lens · the angle is a property of the rectangle behind itMicro Four Thirds: 2.00× diagonal, 2.08× wide, 1.85× tall24 mm across five formats73.7° down to 18.0°
Fig. 3 The same five rectangles at 24 mm, where every angle is wider and the ratios between them are identical. That invariance is the point: the relative sizes of the frames are fixed by the sensors alone, at every focal length there is, so nothing about a crop factor depends on the lens.

What the sensor does not change

Three things, each of which is regularly attributed to sensor size and none of which is a consequence of it.

Perspective. The relationship between near and far things in a picture is set by where the camera is, and by nothing else. Two cameras at the same place with different sensors produce two pictures that are crops of each other, so every ratio between things in the scene is identical in both. That is the next essay’s whole subject, and the invariance is asserted to machine precision.

The viewing distance for a given angle. Established above: it depends on f/wf/w, so any two setups with the same angle agree.

What a straight line does. A rectilinear lens draws straight lines straight, and a crop of a rectilinear picture is a rectilinear picture. Sensor size cannot bend anything.

What sensor size does change is the angle for a given lens, the depth of field for a given angle and aperture, and how much light each photosite collects. The first is this essay. The second and third are optics and photometry, which this site does not own and does not take a position on — the honest limit stated wherever it matters is that this site computes the geometry of pictures.

The phrase “wide angle” belongs to the angle

There is a small vocabulary problem worth clearing up, because it makes an argument the site has already made harder to state.

Wide-angle is not distortion argues that the stretch at the edge of a wide photograph is not a defect of the lens but a correct consequence of projecting a large angle onto a flat plane — and that it disappears entirely when the picture is viewed from the point it is correct from, which for a wide picture is very close.

That argument is about the angle, and the word “wide-angle” says so. But the trade’s usage attaches it to the focal length — a “wide-angle lens” is one with a short focal length — which is a property of the glass and not of the picture. A 24 mm lens on a phone sensor is a substantial telephoto, subtending about 18°.

So the rule for reading any claim in this area: if it is about the picture, it is about the angle; if it is about the equipment, it is about the focal length. The two are related by one line of arithmetic and the sensor’s width, and confusing them produces claims that are true of one camera and false of the next.

Seven identical spheres across a 84° frameThe outer sphere images 27% wider than the central one. That is what a correct rectilinear projection does, and it vanishes if the picture is viewed from 9 cm.54 px69 px84° across27% wider at the edge
Fig. 4 The claim that is genuinely about the angle. Spheres across an 84° frame, stretched at the edges by exactly 1/cos θ — a consequence of the angle off axis and nothing else. Nothing about the sensor, the focal length or the lens enters, which is why the effect is identical on any camera that produces an 84° picture.

Which dimension the angle is measured across

A sensor is a rectangle and has three obvious widths — horizontal, vertical and diagonal — so “the field of view” is three numbers, and the trade quotes whichever suits.

For full frame at 50 mm: 39.6° horizontal, 27.0° vertical, 46.8° diagonal. Cinema quotes horizontal, still photography usually quotes diagonal, and the specification of a rendered picture is almost always horizontal — with a vertical variant that appears whenever somebody wants the picture to behave sensibly when the window is resized.

That last case is worth a sentence because it is a genuine design decision hiding as a convention. A picture whose horizontal angle is fixed shows the same width whatever the window’s shape, so making a window taller adds scene at the top and bottom. A picture whose vertical angle is fixed does the reverse. Neither is more correct; what is wrong is not saying which, because a viewer who resizes a window and finds the framing changed has no way to tell whether the picture is a wider view or a closer one.

For this site the relevant one is horizontal, because the site’s viewing-distance claim is stated against the width a figure is displayed at, and the arithmetic has to use the same dimension at both ends. Mixing them is the same category of error as the crop factor’s — a ratio taken on one axis applied to a length on another — and it is worth naming for the same reason.

How far back the picture is correct from, against how wide it isA 24° picture is correct from 38 cm and a 90° picture from 8 cm.020406020406080horizontal field of view (degrees)correct viewing distance for a 160 mm wide picture (cm)long lens — 38 cma normal photograph — 22 cmwide — 11 cmvery wide — 8 cmsame picture width throughoutthe only variable is the angle
Fig. 5 The curve every one of the three angles sits on, since all three obey the same relation with a different sensor dimension in it. A 50 mm lens is three different points on this curve depending on which way the rectangle is measured, and the station distance that follows is three different distances for three differently-shaped crops of the same picture.

The chain, and where it goes next

Everything so far concerns one end of the chain. The full chain has three links and each contributes one ratio:

scene f/w picture Wd/w print or screen d reader\text{scene} \xrightarrow{\ f/w\ } \text{picture} \xrightarrow{\ W_d/w\ } \text{print or screen} \xrightarrow{\ d\ } \text{reader}

The first ratio decides what is in the picture. The second decides how large it is shown. The product decides where the reader has to be, and the screen field is about the second and third links, where the answer turns out to be that nobody is standing there.

What makes it worth doing as a chain rather than as a single number is that the two ends are decided by different people, at different times, with no communication between them. The photographer picks ff and ww; the reader picks WdW_d and dd, usually without knowing that either is a choice. Nothing in between records what was intended.

How far back the picture is correct from, against how wide it isA 24° picture is correct from 38 cm and a 90° picture from 8 cm.020406020406080horizontal field of view (degrees)correct viewing distance for a 160 mm wide picture (cm)long lens — 38 cma normal photograph — 22 cmwide — 13 cmvery wide — 8 cmsame picture width throughoutthe only variable is the angle
Fig. 6 The chain’s first link, drawn as the site has drawn it since its foundation. Viewing distance in picture widths against field of view, with four focal lengths on a full-frame sensor marked. The curve is a property of the angle; the four marks are a property of one format’s arithmetic, and on another format they would sit somewhere else on the same curve.

The focal length is not quite a distance either

One qualification, made here rather than left implicit, because the whole essay treats ff as a length and a real lens complicates that.

The formula θ=2arctan(w/2f)\theta = 2\arctan(w/2f) is a statement about a pinhole: rays converge on a point ff in front of the sensor. A lens is not a point, and its focal length is defined against a nodal point whose position depends on the design and is regularly nowhere near the middle of the glass. A retrofocus wide-angle lens has its nodal point in front of the front element; a telephoto has it behind the rear one.

None of that changes the arithmetic, because the nodal point is exactly the point the geometry needs and its position inside the barrel is irrelevant to the picture. What it changes is the intuition that a “50 mm lens” is 50 mm long, which almost none of them are.

And it matters in one place this site has already measured. The eye is a place, not a point shows that the centre a panorama must be rotated about is the entrance pupil — a specific point which is neither the front element nor the sensor nor the middle of the barrel — and that rotating about the wrong one turns a rotating camera into a translating one, with parallax that no alignment removes. So the question “where exactly is the camera” has an answer, it is not where anybody assumes, and it is the same question the focal length’s definition depends on.

Two frames stitched on the sky, with the pivot 50 mm behind the pupilThe far field registers to 1e-13 px, which is what makes the stitch look correct. The near field does not: the nearest post lands 3.2 px from where the other frame put it and the furthest 0.31 px, an error falling as 1/distance — the signature of a parallax rather than a calibration error.the far field — where the stitch was fitted2.2 m — 3.2 px out24 m — 0.3 px outthe sky registers to 1e-13 pxthe foreground does not — up to 3.2 px
Fig. 7 Why the exact position of the optical centre is a measurable question rather than a pedantic one. Rotating about a point five centimetres from the entrance pupil produces depth-dependent misalignment — the camera translated, and no rotation aligns near and far together. The focal length is defined against the same point.

Two conveniences that are worth keeping

Having spent the essay separating the focal length from the angle, it is only fair to say why the trade quotes the focal length and not the angle. There are two reasons and both are good.

A focal length is a property of one object. A lens has one, permanently, whoever puts it on whatever camera. An angle is a property of a pairing, and quoting it requires naming both halves every time.

And focal length composes. Teleconverters, extension tubes and focal reducers multiply it. Two lenses of the same focal length behave identically as regards magnification whatever else differs. Angles do none of that cleanly.

So the convention is right for the person holding the equipment and wrong for the person looking at the picture, and this site is written for the second one. Which is the same split the whole site runs on — a construction is described from the draughtsman’s side and measured from the viewer’s — and it is worth naming rather than treating the trade’s usage as sloppiness. It is precise about a different thing.

The same lens behind five sensorsA 85 mm lens subtends 23.9° across full frame and 5.1° across a phone sensor. The focal length is the same in every one of these; what changes is the rectangle behind it. Two setups matched on angle rather than on focal length are correct from the same distance — 222 mm for a 160 mm print — whatever their formats.full frame · 23.9°APS-C · 15.8°Micro Four Thirds · 11.6°1 inch · 8.9°phone (1/1.7″) · 5.1°one 85 mm lens · the angle is a property of the rectangle behind itMicro Four Thirds: 2.00× diagonal, 2.08× wide, 1.85× tall85 mm across five formats23.9° down to 5.1°
Fig. 8 And the long end, where the drawn rectangles have shrunk to a fraction of the canvas because the angles have. Nothing about the lens has changed except one number, and every rectangle behind it has become a much narrower picture — which is what “a focal length is not an angle” means when it is drawn rather than said.
What the sixty-degree cone is a rule aboutA 60° picture is correct from 0.866 of its own width — 13.9 cm at 160 mm wide. A reader at an ordinary 40 cm is 2.89× too far back and sees a scene 2.89× too deep. The rule cannot fix that; it only makes the error smaller by making the pictures narrower.0510255075100125field of view of the picture (degrees)how much deeper the scene looks, read from 50 cmno error60° → × 3.61160 mm wide, read from 50 cm60° is correct from 13.9 cm
Fig. 9 The rule this field inherits from the viewing field, restated in the sensor’s vocabulary. The taught sixty-degree cone of vision is not a rule about the drawing; it is a hedge against a reader who will stand further back than the picture’s own station point. A sensor and a focal length together decide which side of that hedge a photograph lands on.

What links here

Computed from the collection, not written here: the essays that point at this one.

Reads more easily once this is understood

Essays that name this one as worth reading first.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

Aspect ratioCrop factorDemonstrationfield of viewFocal lengthPicture planeSensor formatStation pointSubtended angleViewing distance