Camera Field of View Calculator

Angle of view depends on two numbers and nothing else: the focal length of the lens and the physical size of the sensor behind it. This calculator gives you the horizontal, vertical and diagonal angles for any combination, then converts them into the thing you actually need on location — how wide and how tall the frame covers at your subject distance. It also solves the question backwards, giving the focal length that frames a chosen width from where you are standing, and the distance you must stand at to get that framing with the lens you have.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Sensor formatChoose the sensor your camera actually has. Only the physical dimensions matter; pixel count does not affect angle of view.Full frame 36 × 24 mm
Sensor widthThe long dimension of the imaging area, in millimetres.36 mm
Sensor heightThe short dimension of the imaging area, in millimetres.24 mm
Focal lengthThe real focal length marked on the lens, not a full-frame equivalent.50 mm
Teleconverter1.0 for none. A 1.4× or 2× teleconverter multiplies the focal length; a 0.71× speed booster divides it.1 ×
Subject distanceDistance from the lens to the subject. Measure from roughly the middle of the lens barrel for ordinary distances.3 m
Frame width you want to coverHow wide the scene should be across the long edge of the frame. Used for the reverse-solve outputs only.1.5 m

It returns

  • Horizontal angle of view
  • Vertical angle of view
  • Diagonal angle of view — The figure manufacturers usually quote in a lens specification.
  • Frame width at the subject
  • Frame height at the subject
  • Magnification — Image size on the sensor divided by subject size. 1.0 is life size.
  • Focal length for that framing — At your current subject distance.
  • Distance for that framing — With the lens you already have.

The formula

θ=2arctan(d2f)
W=d(Df)f
f=dDW+d

In plain text: AFOV = 2 · arctan( d / (2f) )

  • θAngle of view along the chosen sensor dimension (degrees)
  • dSensor dimension — width, height or diagonal (mm)
  • fFocal length, after any teleconverter (mm)
  • DDistance from the lens to the subject (mm)
  • WWidth of the scene the frame covers at that distance (mm)

This is the geometric field of a rectilinear lens focused at infinity. Focusing closer than infinity extends the lens and slightly narrows the angle, which is why the coverage formula uses (D − f) rather than D.

Updated Category Photography, Optics & Printing Verified against published test cases Reading time 13 min

Angle of view is a triangle, not a lens property

A lens does not have a field of view on its own. Put a 50 mm lens on a full-frame body and it takes in 39.6 degrees horizontally; put the same lens on a Micro Four Thirds body and it takes in 19.6 degrees. The lens has not changed. What changed is how much of the image circle the sensor sits inside.

The geometry is a single right-angled triangle. The lens projects an image at a distance f behind it when focused at infinity. The sensor is d millimetres across, so it stretches d/2 either side of the axis. The half-angle it accepts is therefore arctan(d/2 ÷ f), and the full angle is twice that.

Because sensors are rectangles, there are three answers, and confusing them causes most of the disagreement between published numbers. A 50 mm lens on full frame gives 39.6° horizontally, 27.0° vertically and 46.8° diagonally. Lens manufacturers quote the diagonal, which is the largest of the three. When somebody says a lens is "46.8 degrees", they mean the diagonal; when a location scout asks how wide the shot is, they mean the horizontal.

Angle of view answers the framing question only in the abstract. What you actually need on a shoot is linear coverage: how many metres of wall the frame takes in from where the tripod is. That comes from the same triangle, projected forwards.

From angle to coverage, and the (D − f) that people drop

The similar-triangles argument gives coverage directly. Whatever is W wide at the subject must map onto d on the sensor, and the ratio of those two lengths is the ratio of the two distances involved. Doing that properly in thin-lens terms gives W = d(Df)/f, where D is measured to the front principal plane.

Most quick calculations use the simpler WdD/f. The difference is exactly one focal length in the numerator, so at 3 m with a 50 mm lens the simple version overstates the coverage by 50/3000 = 1.7%, which nobody notices. At a subject distance of 300 mm it overstates it by 20%, which everybody does. Use the full form and it works at both ends.

Magnification falls straight out of it: m = d/W = f/(Df). At D = 2f that gives exactly 1 — life size, the classic 1:1 macro condition, and a useful check that the formula is behaving.

Both reverse questions come from rearranging the same identity. If you know where you are standing and how wide you want the frame, f = dD/(W + d). If you know the lens and how wide you want the frame, D = f(W/d + 1). Product photographers use the first constantly; anyone shooting a group portrait in a small room uses the second.

One consequence worth stating carefully, because intuition gets it slightly wrong: doubling the focal length does not exactly halve the frame width. The ratio is W₂/W₁ = f₁(D − f₂) ÷ [f₂(D − f₁)]. At 3 m, going from 50 mm to 100 mm gives 50 × 2900 ÷ (100 × 2950) = 0.4915, so the frame narrows to 49.2% rather than 50%. The approximation improves as the subject gets further away and breaks down badly up close.

Worked example: a 50 mm lens on full frame at 3 metres

You are shooting a product on a table three metres away with a 50 mm lens on a full-frame body, and you want the frame to cover exactly 1.5 m across.

  1. Half-width over focal length. 36 ÷ 2 = 18 mm, and 18 ÷ 50 = 0.36.
  2. Horizontal angle of view. 2 × arctan(0.36) = 2 × 19.799° = 39.60°.
  3. Vertical. 2 × arctan(12 ÷ 50) = 2 × 13.496° = 26.99°.
  4. Diagonal. The sensor diagonal is √(36² + 24²) = √1,872 = 43.267 mm, so 2 × arctan(21.633 ÷ 50) = 46.79°. This is the figure the lens box quotes.
  5. Coverage at 3 m. W = 36 × (3,000 − 50) ÷ 50 = 36 × 59 = 2,124 mm = 2.124 m wide, and 24 × 59 = 1,416 mm = 1.416 m tall.
  6. Magnification. 50 ÷ 2,950 = 0.01695×, or about 1:59.
  7. Focal length for a 1.5 m frame from here. f = 36 × 3,000 ÷ (1,500 + 36) = 108,000 ÷ 1,536 = 70.31 mm. Check it: 36 × (3,000 − 70.31) ÷ 70.31 = 1,500 mm exactly.
  8. Or keep the 50 mm and move. D = 50 × (1,500 ÷ 36 + 1) = 50 × 42.667 = 2,133 mm = 2.133 m.

Those last two lines are the same framing reached two different ways, and they are not equivalent pictures. Standing at 2.13 m with the 50 mm gives more perspective — nearer parts of the subject appear relatively larger — than standing at 3 m with a 70 mm. Framing is set by the ratio of focal length to distance; perspective is set by distance alone.

Angle of view and coverage on full frame

Horizontal and diagonal angle of view for a 36 × 24 mm sensor, and the frame width at a subject distance of 3 m, computed from 2·arctan(d/2f) and d(D − f)/f.
Focal length (mm)Horizontal AoV (°)Diagonal AoV (°)Frame width at 3 m (m)Frame height at 3 m (m)
14104.25114.187.6785.119
2083.9794.505.3643.576
2473.7484.064.4642.976
3554.4363.443.0502.033
5039.6046.792.1241.416
8523.9128.561.2350.823
13515.1918.210.7640.509
20010.2912.350.5040.336

Angle of view is not proportional to focal length. Going from 50 mm to 100 mm roughly halves the frame width but takes the horizontal angle from 39.60° to 20.41°, which is not half of 39.60° — the arctangent is only close to linear for small angles, which is why the change from 14 mm to 20 mm looks so much more dramatic than the change from 135 mm to 200 mm despite being a smaller ratio.

Using the numbers on a real job

For interiors and real estate, work backwards from the room. A 4 m wall photographed from 3 m needs a frame width of at least 4 m, so f = 36 × 3,000 ÷ (4,000 + 36) = 26.8 mm on full frame. That tells you a 24 mm lens will do it with room to spare and a 35 mm will not, before you carry anything up the stairs.

For product and copy work, the magnification figure is the one to watch. Filling the long edge of a full-frame sensor with a 100 mm object means m = 36/100 = 0.36×, which is beyond what most non-macro lenses reach — a standard 50 mm typically stops around 0.15×. If the required magnification is above about 0.2×, you need a macro lens, an extension tube, or a longer working distance with a longer lens.

For machine vision the same arithmetic runs in reverse and with tighter tolerances. Given a required field of view and a fixed mounting distance, the focal length formula gives the lens; the resolution per pixel then follows from the field width divided by the sensor's pixel count along that edge. Choose the next standard focal length below the calculated one so the field is slightly larger than required rather than slightly smaller.

For portraits, remember that the flattering property people attribute to an 85 mm lens comes from the working distance it forces, not from the glass. At 3 m the 85 covers 1.24 m across, which is a head-and-shoulders frame. Getting that same frame with a 35 mm lens means standing at 35 × (1,235/36 + 1) = 1.24 m, and the nose-to-ear distance ratio at that range is what makes the result unflattering. If you are comparing lenses across formats, the crop factor calculator converts focal lengths so the fields match.

Angle of view and depth of field are separate questions

Changing the focal length changes both framing and depth of field, which makes the two easy to conflate. They are independent: if you change focal length and move so the framing stays the same, depth of field changes only slightly, and almost all of the apparent difference between a wide-angle and a telephoto shot of the same subject size is background compression rather than depth. Work the focus range out separately with the depth of field calculator or the hyperfocal distance calculator.

Assumptions and where they break

  • Rectilinear projection. The formula assumes straight lines in the scene stay straight in the image. Fisheye lenses use equidistant or equisolid projections instead and cover far more than this predicts — a 15 mm fisheye reaches 180° where this formula would say about 110° on the diagonal.
  • Thin lens. Real lenses have two principal planes separated by a distance you cannot see from outside, so the distance you measure with a tape is not exactly the D in the formula. The error is small at ordinary distances and significant in macro work.
  • Focal length is nominal. A lens marked 50 mm can be 48 or 52, and many modern lenses change focal length as they focus — an internal-focusing telephoto can lose 20% of its focal length at its close limit.
  • Distortion is ignored. Barrel or pincushion distortion moves the frame edges, and in-camera corrections crop the image, both of which change the real angle of view by a degree or two.
  • The sensor is fully used. Video crops, aspect-ratio settings and stabilisation margins all reduce the active area. Enter the dimensions actually being read out.
  • Only the physical size matters. Pixel count has no effect on angle of view. It affects how much detail the frame resolves, which the print resolution calculator handles.

Key terms

Angle of view
The angular extent of the scene the sensor records, measured horizontally, vertically or diagonally. Set by sensor dimension and focal length only.
Field of view
The linear extent of the scene covered at a given distance, in metres or feet. Angle of view projected onto the subject plane.
Crop factor
The ratio of the full-frame diagonal (43.27 mm) to the sensor's diagonal. It converts a focal length into the full-frame focal length that gives the same field.
Magnification
Image size on the sensor divided by object size. 1.0 is life size, and it occurs at a subject distance of twice the focal length.
Working distance
The lens-to-subject distance needed for a given framing with a given lens. It is what constrains you in a small room or on a crowded set.

Crop factors, equivalence and what actually transfers

Crop factor is a shorthand for exactly this calculation. Full frame's diagonal is 43.27 mm; Micro Four Thirds is 21.64 mm; the ratio is 2.0. Multiply a Micro Four Thirds focal length by 2.0 and you get the full-frame focal length with the same diagonal angle of view. The shorthand works because angle of view depends only on the ratio d/f, so scaling both by the same factor leaves it unchanged.

What the shorthand does not transfer is aperture behaviour. Two lenses giving the same field at the same f-number give the same exposure but different depth of field, because the physical aperture diameters differ — a 25 mm f/2 on Micro Four Thirds has a 12.5 mm entrance pupil against the 50 mm f/2's 25 mm on full frame. This is the substance behind arguments about equivalence, and it is a depth-of-field question rather than a field-of-view one.

Aspect ratio is the other thing that quietly changes the answer. Super 35 cine sensors are wider and shorter than stills full frame, so a lens giving 54° horizontally on one gives a different vertical field on the other even at the same focal length. Whenever you move between stills and video, or between 3:2 and 4:3 crops, compute the horizontal and vertical angles separately rather than converting through the diagonal.

For night work, field of view interacts with a constraint most photography never meets: the sky moves, and the longer the lens the sooner that shows. The 500 rule calculator gives the shutter ceiling that goes with whatever focal length you choose here, and the two together decide whether a composition is possible at all from a fixed tripod.

Frequently asked questions

How wide is a 24 mm lens?

On full frame it takes in 73.7° horizontally, 53.1° vertically and 84.1° diagonally, and at 3 m it covers 4.46 m across by 2.98 m high. On a 1.5× APS-C body the same lens takes in 52.2° horizontally, roughly what a 36 mm lens gives on full frame. Manufacturers quote the diagonal figure, which is why a 24 mm is often described as an 84° lens.

Which angle should I use — horizontal, vertical or diagonal?

Use the horizontal figure for framing decisions, because it answers how much of a wall or a group you can fit. Use the diagonal when comparing against a manufacturer's specification, since that is what they publish. Use the vertical for ceiling height and headroom questions in interiors. The three differ substantially: on full frame at 50 mm they are 39.6°, 46.8° and 27.0° respectively.

How do I work out the focal length I need for a shot?

Use f = d·D/(W + d), where d is the sensor width, D the distance to the subject and W the width you want to cover, with everything in the same units. To cover 1.5 m at 3 m on full frame: 36 × 3,000 ÷ (1,500 + 36) = 70.3 mm, so a 70 mm setting on a zoom. Choose the next shorter focal length if you must, because a slightly wider frame can be cropped and a slightly tighter one cannot.

Does a smaller sensor really make a lens more telephoto?

No — it crops. The lens projects the identical image; the smaller sensor simply records less of it, so the resulting picture has a narrower field. Nothing about the light or the perspective changes. That is why 'crop factor' is the accurate name and 'focal length multiplier' is the misleading one: a 50 mm lens on APS-C still focuses at 50 mm, still has the depth of field of a 50 mm at that aperture, and still has to be that far from the subject for a given magnification.

Why does the coverage formula subtract the focal length?

Because the lens has to move away from the sensor to focus on anything closer than infinity, and the image distance is D·f/(D − f) rather than f. Working the similar triangles through gives W = d(D − f)/f. At ordinary distances the correction is tiny — 1.7% at 3 m with a 50 mm lens — but at close range it matters: at 0.3 m the simple formula overstates the coverage by 20%.

Does the number of megapixels affect field of view?

Not at all. Angle of view depends only on the physical dimensions of the sensor and the focal length. A 12 MP and a 61 MP full-frame camera with the same lens frame identically; the second one simply samples that frame more finely. Pixel count matters for how large you can print and for how visible small blurs are, not for what fits in the picture.

How do I get 1:1 macro magnification?

Place the subject at twice the focal length from the lens, which the magnification formula m = f/(D − f) confirms: at D = 2f it gives exactly 1. In practice you need a lens designed to focus that close, or extension tubes to move an ordinary lens further from the sensor. Note what this means for framing — at 1:1 on full frame the frame covers exactly 36 × 24 mm of subject, which is smaller than a credit card.

Does this work for fisheye lenses?

No. The formula assumes a rectilinear projection, where straight lines in the scene stay straight in the image. Fisheye lenses deliberately use an equidistant or equisolid-angle projection to squeeze more than 180° onto the sensor, and their coverage cannot be derived from arctan(d/2f). Manufacturers publish fisheye coverage directly, and it is usually far wider than this calculator would predict from the same focal length.

Should I zoom or should I move?

They give the same framing and different pictures. Framing depends on the ratio of focal length to distance, so you can reach any given frame width either way. Perspective — how large near objects look relative to far ones — depends only on where you stand. Move closer with a wider lens and the subject's nearest features enlarge; step back with a longer lens and everything flattens. Choose the distance for the perspective you want, then pick the focal length that frames it.

References

  • Field Guide to Geometrical Optics — John E. Greivenkamp, SPIE Press
  • Optics, 5th ed. — Gaussian imaging, magnification and the thin-lens equation — Eugene Hecht, Pearson
  • Photography, 11th ed. — lenses, focal length and angle of view — Barbara London, Jim Stone & John Upton, Pearson