How depth of field is calculated.
The calculator first finds the hyperfocal distance, H = f² ÷ (N × c) + f, where f is the focal length, N the f-number and c the circle of confusion. Focused at distance s, acceptable sharpness runs from s(H − f) ÷ (H + s − 2f) to s(H − f) ÷ (H − s). Written without H, the same limits are f²s ÷ (f² ± N·c·(s − f)), the form used in Berkeley's camera and lens lecture.
The circle of confusion is the key judgement in the model: the largest blur spot that still looks like a point once the picture is enlarged and viewed. This calculator uses the sensor diagonal ÷ 1500 (0.029 mm for full frame) or a stricter diagonal ÷ 3000 for large prints and close inspection.
What changes depth of field?
Aperture. With the lens, distance and viewing standard fixed, a smaller opening (a larger f-number) extends the zone. For a 50 mm lens on full frame focused at 3 m:
| Aperture | Near limit | Far limit | Total |
|---|---|---|---|
| f/1.8 | 2.83 m | 3.20 m | 37 cm |
| f/4 | 2.64 m | 3.47 m | 83 cm |
| f/8 | 2.36 m | 4.12 m | 1.76 m |
| f/16 | 1.94 m | 6.59 m | 4.65 m |
Distance. Moving the focus point farther away deepens the zone quickly; close-up work leaves very little in focus. Focal length. From the same position, a longer lens gives a shallower zone, partly because it magnifies the subject more.
Using the hyperfocal distance.
Focus at the hyperfocal distance and the zone runs from about half that distance to infinity. A 24 mm lens at f/11 on full frame has a hyperfocal distance of about 1.84 m, so everything from about 92 cm onward meets the standard. Use the Focus here button to set it.
At the hyperfocal distance, the farthest detail only just meets the chosen standard. When distant detail matters most, focus slightly beyond it, choose the critical standard, or check a magnified preview.
Why there is often more behind than in front.
At ordinary distances the zone extends farther behind the focus point than in front of it; the calculator shows the actual split. The familiar “one-third in front, two-thirds behind” rule only holds at particular distances. At close range the split approaches equal, and beyond the hyperfocal distance the far side reaches infinity.
Does sensor size change depth of field?
It depends on what stays the same. Keep the same 50 mm lens at f/4 and 3 m: on Micro Four Thirds the image must be enlarged more, the circle of confusion is smaller, and the zone shrinks from 83 cm to 41 cm, but the frame is also much tighter. Match the framing with a 25 mm lens instead, and the Micro Four Thirds zone grows to 1.78 m. That is why smaller formats usually give deeper focus for the same composition and f-number.
Treat every result as a guide. Sharpness fades gradually rather than stopping at a line, and real lenses differ from the thin-lens model.