How to use the Depth of Field Calculator tool
- Choose your format, from Micro Four Thirds and APS-C to 35mm full frame, 6x4.5, 6x6, 6x7 or 4x5 inch.
- Enter the real focal length of the lens, not a 35mm equivalent.
- Enter the aperture you plan to shoot at.
- Enter the distance from the camera to the subject you are focusing on.
- Read the near limit, far limit, total depth of field and hyperfocal distance.
To calculate depth of field, open the Archive.London depth of field calculator, choose your format, then enter the focal length, the aperture and the distance you are focused at. It returns the near limit, the far limit, the total depth of field and the hyperfocal distance, using a standard circle of confusion for that format.
What changes depth of field, and by how much
Three things control the zone of acceptable sharpness: aperture, focus distance and focal length. Stopping down two stops, say from f/4 to f/8, roughly doubles the depth of field at ordinary distances. Distance has a stronger effect: for the same lens and aperture, doubling the focus distance roughly quadruples the depth, as long as you are well inside the hyperfocal distance.
A worked example on 35mm full frame with a 0.03 mm circle of confusion: a 50mm lens at f/8 focused at 3 m is acceptably sharp from about 2.34 m to 4.19 m, a total of about 1.85 m. Its hyperfocal distance is about 10.5 m. Open up to f/2.8 at the same distance and the zone shrinks to roughly 0.6 m.
Sharpness does not stop dead at the limits. It falls away gradually on both sides of the plane of focus, and more of the zone lies behind the subject than in front.
The formulas behind the numbers
The calculator uses the standard thin-lens depth of field equations, with f as focal length, N as the f-number, c as the circle of confusion and s as the focus distance:
- Hyperfocal distance:
H = f² / (N × c) + f - Near limit:
s × (H - f) / (H + s - 2f) - Far limit:
s × (H - f) / (H - s), valid while s is less than H
Once the focus distance reaches the hyperfocal distance, the far limit is infinity. Focus exactly at H and everything from half that distance to the horizon falls inside the acceptable zone, which is why landscape and street photographers use it for zone focusing.
All lengths go into the equations in the same unit. These are the equations found in standard optics references and lens maker tables, so results will agree closely with other calculators that use the same circle of confusion.
Circle of confusion: the assumption that sets every result
The circle of confusion is the largest blur spot on the film or sensor that still looks like a point in the final picture. It is a convention, not a law of optics. The usual figures assume a print of about 8 x 10 inches viewed from around 25 cm by someone with normal eyesight, which gives roughly 0.03 mm for 35mm full frame, or about the format diagonal divided by 1,500. Smaller formats get a smaller value because they are enlarged more; larger film formats get a larger one.
Treat the results as estimates. If you make big prints, crop hard or inspect files at 100 percent on screen, real acceptable sharpness is narrower, and stopping down one or two stops beyond the calculated aperture is a sensible margin. The model also ignores diffraction at small apertures, lens aberrations, and the behaviour of real lenses at macro distances, where thin-lens figures become unreliable.
From the archive: why 6x7 film focuses so differently
The principal analogue format in the Robert Harper Photograph Library is 6 x 7 colour transparency film. On that format a standard lens is around 90 to 105mm, where 35mm uses 50mm, and longer focal lengths bring shallower depth of field for the same framing and f-number. Select 6x7 in the calculator, enter a 105mm lens at f/8 and compare the result with a 50mm lens at f/8 on full frame to see the gap in figures.
That difference is part of what gives medium format still life and portrait work its look, and it is why working apertures on larger film tend to be smaller. The analogue collections describe the film holdings, which also include 35mm slides, larger format film and black-and-white negatives.
Frequently asked questions
What is hyperfocal distance?
It is the closest focus distance at which the far limit of depth of field reaches infinity. Focus there and everything from half that distance to the horizon is acceptably sharp by the chosen standard. For a 28mm lens at f/11 on full frame it is about 2.4 m, so sharpness runs from about 1.2 m to infinity.
Why does the format change the depth of field result?
Each format is enlarged by a different amount to make the same size of print, so each has its own circle of confusion. A small sensor needs a tighter blur limit than a sheet of 4x5 film. The calculator applies a standard value per format, so the same lens, aperture and distance give different limits on different formats.
Should I enter the real focal length or the 35mm equivalent?
Enter the real focal length engraved on the lens. Depth of field depends on the actual optics, and the format setting already accounts for sensor or film size. Entering an equivalent focal length as well would apply the format correction twice and give limits that are too narrow or too wide.
Why do my photos look less sharp than the calculator predicts?
The standard circle of confusion assumes a modest print seen at normal reading distance. High resolution sensors viewed at 100 percent, large prints and heavy crops are far more demanding. Focus error, camera shake, diffraction at small apertures and lens aberrations also reduce real sharpness. Stopping down a further stop or two gives a safer margin.
Is the calculator accurate for macro photography?
Not reliably. The thin-lens equations work well at ordinary distances but drift at high magnification, where lens design, pupil magnification and the extra extension all matter. For close-up work, formulas based on magnification and effective aperture are a better guide. Use these results as a rough starting point and confirm by testing.
