How to Calculate Depth of Field
Updated
Near and far focus limits from focal length, stop, distance and circle of confusion: the formula, worked examples, Super 35 charts in feet and meters, and what a 1st AC does with the numbers.
- Depth of Field
- Focus
- Super 35
- Formulas
On this page
What depth of field is
A lens focuses exactly at one distance. Points in front of and behind that plane spread into small blur circles, and while those circles stay smaller than a chosen size, the circle of confusion, they still read as sharp. Depth of field is the span between the nearest and farthest distances where that holds.
Four things set it: the focal length, the stop, the focus distance, and the circle of confusion you allow, which in practice comes from the format and how big the picture will be seen. Sharpness also falls off gradually rather than at a hard edge, so the limits are a planning tool, not a guarantee. The circle of confusion guide explains where that blur budget comes from.
The depth of field formula
The standard thin-lens formulas start from the hyperfocal distance H, the closest focus at which the far limit reaches infinity, and then give each limit directly. All lengths are in millimeters.
H = f² ÷ (N × c) + fSome tables drop the final + f; it only matters for short lenses. CineMath keeps it.
Where
- f
- Focal length(mm)
- N
- Stop (f-number; most crews use the T-stop)
- c
- Circle of confusion(mm)
Example: 50mm at T2.8 on Super 35 (c = 0.025mm)
- Calculation:
- 50² ÷ (2.8 × 0.025) + 50 = 35,764mm
- Result:
- H ≈ 35.8m (117 ft)
Near = s × f² ÷ (f² + N × c × (s − f)) | Far = s × f² ÷ (f² − N × c × (s − f))When the far denominator reaches zero or goes negative, the far limit is infinity: you are focused at or beyond the hyperfocal distance.
Where
- s
- Focus distance(mm)
- f
- Focal length(mm)
- N
- Stop
- c
- Circle of confusion(mm)
Example: 50mm at T2.8, focused at 2m (6′7″), Super 35
- Calculation:
- N × c × (s − f) = 2.8 × 0.025 × 1,950 = 136.5 | Near = 5,000,000 ÷ 2,636.5 | Far = 5,000,000 ÷ 2,363.5
- Result:
- Sharp from 1.90m to 2.12m (6′3″ to 6′11″): 22cm, about 8½ inches
In that example 10.4cm of the zone sits in front of the subject and 11.6cm behind. The Cinema Calculations Handbook has the short approximation, DoF ≈ 2 × N × c × s² ÷ f², which is close as long as you are well inside the hyperfocal distance and shows the relationships at a glance. The free depth of field calculator runs both formulas above in your browser, in feet or meters.
What changes depth of field
Read the approximation above and the four levers fall out. Two of them act as squares, which is why a lens change or a step closer changes the focus puller's life far more than a stop does.
- Distance (squared). The same 50mm at T2.8 holds 7.7cm at 1.2m, 22cm at 2m and 90cm at 4m. Double the distance and you get roughly four times the depth.
- Focal length (inverse square). At 3m and T2.8, a 25mm holds 2.25m, a 50mm 50cm and a 100mm 12cm. Double the focal length and you keep about a quarter.
- Stop (in proportion). The 50mm at 3m goes 36cm at T2, 50cm at T2.8, 72cm at T4 and 102cm at T5.6: about 1.4 times per stop, so two stops roughly double it.
- Circle of confusion (in proportion). Halve the blur you will accept, from 0.025mm to 0.0125mm, and the 50cm at 3m becomes 25cm.
Sensor size and depth of field
A larger sensor on its own does not shrink depth of field; it allows a larger circle of confusion, which adds some. What shrinks it is the longer lens you fit to hold the same framing. The net effect, for the same shot at the same stop, is shallower focus on the bigger format.
f₂ = f₁ × (diagonal₂ ÷ diagonal₁) | matching stop N₂ = N₁ × (diagonal₂ ÷ diagonal₁)Scale the focal length by the ratio of the diagonals to hold the framing; scale the stop by the same ratio to hold the depth of field. This comparison uses c = diagonal ÷ 1500 for both formats so they are judged by the same standard.
Where
- f₁, N₁
- Focal length (mm) and stop on the first format
- diagonal
- Diagonal of the recorded area(mm)
Example: Super 35 (ALEXA 35 open gate) to full frame, focused at 3m
- Calculation:
- 50mm × 1.274 = 64mm | S35 50mm T2.8: 45cm | FF 64mm T2.8: 35cm | FF 64mm T3.6: 45cm
- Result:
- Full frame keeps about 78% of the depth; stop down about ⅔ stop to match
The Focal Length Match calculator does the first half of this, the lens that holds the framing on another sensor. The crop factor guide covers that ratio in detail, and the sensor size chart gives the diagonal, and so the circle of confusion, for each camera's recording modes. For the second half, enter each format's lens, stop and circle of confusion in the free depth of field calculator.
In front of and behind the subject
The old rule says a third of the depth of field falls in front of the subject and two-thirds behind. The formulas say the split depends on how far you are from the hyperfocal distance: the ratio of back to front is (H + s) ÷ (H − s), which is 2 only at s = H ÷ 3. Close up, the zone is almost evenly split.
| Focus | Near | Far | Total | Front / back |
|---|---|---|---|---|
| 0.6m (2′0″) | 59cm | 61cm | 1.8cm | 49% / 51% |
| 1m (3′3″) | 97cm | 1.03m | 5.3cm | 49% / 51% |
| 2m (6′7″) | 1.90m | 2.12m | 22cm | 47% / 53% |
| 3m (9′10″) | 2.77m | 3.27m | 50cm | 46% / 54% |
| 5m (16′5″) | 4.39m | 5.80m | 1.41m | 43% / 57% |
| 8m (26′3″) | 6.54m | 10.3m | 3.75m | 39% / 61% |
| 12m (39′4″) | 8.99m | 18.0m | 9.04m | 33% / 67% |
For the close and medium shots where focus is hardest, plan on an even split, not a third and two-thirds. If anything, an AC who leans a mark slightly behind the subject on a close-up is betting on an advantage that is not there.
Depth of field charts
Super 35 with the 0.025mm circle of confusion that cine lens makers use for 35mm depth of field tables. For full frame at 0.030mm, the same lens and stop give about a fifth more depth; at a different format, use the format's own value from the circle of confusion table.
Total depth of field at 3m (9′10″)
| Lens | T1.4 | T2 | T2.8 | T4 | T5.6 | T8 |
|---|---|---|---|---|---|---|
| 18mm | 2.16m | 3.50m | 6.61m | 36.1m | ∞ | ∞ |
| 25mm | 1.03m | 1.51m | 2.25m | 3.69m | 7.19m | 61.0m |
| 35mm | 51cm | 74cm | 1.05m | 1.54m | 2.30m | 3.79m |
| 50mm | 25cm | 36cm | 50cm | 72cm | 1.02m | 1.50m |
| 75mm | 11cm | 16cm | 22cm | 31cm | 44cm | 63cm |
| 100mm | 6cm | 9cm | 12cm | 17cm | 24cm | 35cm |
Near and far limits in feet at T2.8
| Lens | 4 ft | 6 ft | 10 ft | 15 ft | 25 ft |
|---|---|---|---|---|---|
| 25mm | 3′6″–4′7″ | 5′0″–7′6″ | 7′6″–15′1″ | 9′11″–30′7″ | 13′6″–167′5″ |
| 35mm | 3′9″–4′3″ | 5′5″–6′8″ | 8′6″–12′1″ | 11′11″–20′3″ | 17′5″–44′2″ |
| 50mm | 3′10″–4′2″ | 5′9″–6′4″ | 9′3″–10′11″ | 13′4″–17′2″ | 20′8″–31′9″ |
| 75mm | 3′11″–4′1″ | 5′10″–6′2″ | 9′8″–10′5″ | 14′2″–15′11″ | 22′10″–27′7″ |
Hyperfocal distances for each format, and the near limit when you focus there, are in the hyperfocal distance charts.
Using the numbers on set
A 1st AC rarely calculates depth of field mid-take. The numbers matter in prep and at the blocking rehearsal, when there is still time to change the plan.
- Know the budget for the shot. At the rehearsal, check the lens, stop and marks against the depth you have. A 75mm at T2 focused at 1.7m (5′7″) on Super 35 holds about 5cm, so an actor who drifts a hand's width off the mark is soft: ask for a firmer mark, a reference, or a stop. The exposure triangle guide shows where the extra light can come from.
- Measure from the focal plane. Tape and laser measurements run from the sensor mark (⦶) on the camera body, the same reference the lens's focus scale uses.
- Spend the depth where it matters. On a close-up the zone is evenly split, so set the mark on the eyes, not the tip of the nose or the ear.
- Plan two subjects, don't guess. Holding two people at different distances has an exact answer for the focus point and the stop; see split focus.
- Judge on a big, sharp monitor. A 7-inch on-board screen hides softness that a theater screen shows. The calculator says what the optics allow; the monitor, zoomed in, says whether you hit it.
Questions
How do you calculate depth of field?
Work out the hyperfocal distance first, H = f² ÷ (N × c) + f, then the limits: near = s × f² ÷ (f² + N × c × (s − f)) and far = s × f² ÷ (f² − N × c × (s − f)), with focal length f, stop N, focus distance s and circle of confusion c in millimeters. A 50mm at T2.8 focused at 2m on Super 35 (c = 0.025mm) holds focus from 1.90m to 2.12m, about 22cm.
What affects depth of field the most?
Focal length and focus distance, because both act as a square. Halving the distance or doubling the focal length cuts depth of field to roughly a quarter. The stop acts in proportion: each full stop down gives about 1.4 times more. The circle of confusion you allow scales it in proportion too.
Does a bigger sensor give shallower depth of field?
For the same framing and the same stop, yes. A larger sensor needs a longer lens to hold the frame, and that outweighs its larger circle of confusion. Going from Super 35 to full frame for the same shot at the same T-stop costs about a fifth of the depth of field when both formats are judged by the same diagonal ÷ 1,500 standard, and stopping down about two-thirds of a stop brings it back. With the usual presets of 0.025mm for Super 35 and 0.030mm for full frame it costs about a quarter, and it takes about nine-tenths of a stop to match.
Is depth of field one-third in front and two-thirds behind?
Only at one distance: about a third of the hyperfocal distance. Closer than that the split moves toward half and half, and at close-up distances it is almost exactly even. Past a third of the hyperfocal distance more of it falls behind, until the far limit reaches infinity.
Should I enter the T-stop or the f-stop in a depth of field calculator?
Depth of field depends on the f-stop, but the difference between a lens's T-stop and its f-stop is usually a fraction of a stop, which changes the limits by a few percent. Most crews enter the T-stop they are shooting at and treat the result as slightly conservative.
Why do depth of field calculators give different answers?
Mostly because they assume different circles of confusion: 0.025mm and 0.030mm are both common for 35mm-sized formats, and the larger value gives about a fifth more depth of field. Some also drop the + f term, and all thin-lens calculators measure distance to the lens, while a tape is pulled from the sensor mark, which matters only close up.
Next step: run your own lens, stop and distance. CineMath's Depth of Field calculator gives the near and far limits, the hyperfocal distance and a split-focus plan in feet or meters, with a preset circle of confusion for each format. The free web version does the same in your browser.
Calculators for this guide
- Depth of Field CalculatorNear and far focus limits, hyperfocal distance, and the stop that holds two subjects in focus.
- Close Focus CalculatorMagnification, effective aperture and light loss for extension tubes; new close-focus distance for diopters.
- Field of View CalculatorHorizontal, vertical and diagonal angle of view, and frame coverage at any distance.
- Focal Length Match CalculatorFind the lens that gives the same horizontal view on a different sensor width.