Depth of Field Calculator for Photography
This depth of field calculator allows you to quickly evaluate the area of acceptable sharpness obtained according to the format, focal length, aperture and focusing distance. It displays the near limit of sharpness, the far limit of sharpness, the total depth of field and its distribution in front of and behind the focus point.
Depth of field remains one of the essential parameters for anticipating the rendering of a photograph. It is involved in portrait photography, macrophotography, landscape photography, street photography, architectural photography and sports photography. It depends on the format used, the focal length, the aperture and the focusing distance.
This calculator has been designed as a practical tool. It is not intended to replace field experience, but to provide a quick and consistent estimate for comparing shooting configurations, preparing an image or evaluating the real difference between two lenses.
Depth of field calculator
Enter the format, actual focal length, aperture and focusing distance. The calculator displays the near limit of sharpness, the far limit of sharpness, the total depth of field and its distribution in front of and behind the focus point.
Configuration 1
Configuration 2
| Result | Configuration 1 | Configuration 2 |
|---|---|---|
| Settings | ||
| Near limit of acceptable sharpness | ||
| Far limit of acceptable sharpness | ||
| Depth of field in front of focus | ||
| Depth of field behind focus | ||
| Total depth of field | ||
| Hyperfocal distance |
Compare two lenses or two configurations
The comparison mode displays two configurations side by side to measure the depth of field difference between two lenses, two apertures or two focusing distances.
This feature can be useful for comparing two versions of the same focal length, for example a very fast lens and a more compact version, or for evaluating the difference between a prime lens and a zoom used at a specific focal length. The comparison becomes especially relevant when you want to check whether the theoretical difference between two apertures produces a truly significant difference in a given situation.
In practice, depth of field does not depend on aperture alone. A longer focal length, a shorter focusing distance or a larger format can significantly change the apparent area of sharpness. The comparison mode therefore makes it possible to go beyond general impressions and observe the values obtained in a specific case.
Understanding the displayed results
| Result | Meaning |
|---|---|
| Near limit of sharpness | Distance of the nearest plane still considered acceptably sharp. |
| Far limit of sharpness | Distance of the farthest plane still considered acceptably sharp. |
| Depth of field in front of focus | Part of the depth of field located between the near limit and the focus point. |
| Depth of field behind focus | Part of the depth of field located between the focus point and the far limit. |
| Total depth of field | Total distance between the near limit and the far limit of sharpness. |
| Hyperfocal distance | Focusing distance from which the area of acceptable sharpness extends to infinity. |
Depth of field in front of and behind the focus point
Total depth of field is not always enough to interpret an image. Two configurations may show a similar overall area of sharpness, but with a different distribution in front of and behind the focus point.
At short distances, depth of field can be extremely shallow. This is particularly true in tight portraits, close-up photography or macrophotography. In these situations, a few centimetres can be enough to move an important detail outside the area of acceptable sharpness.
At greater distances, the area behind the focus point generally becomes larger than the area in front of it. This is one reason why hyperfocal distance remains useful in landscape photography, street photography or architecture, when you want to make the best use of the available depth of field.
Hyperfocal distance
Hyperfocal distance indicates the focusing distance that provides acceptable sharpness to infinity for a given format, focal length and aperture. By focusing at this distance, the sharp area extends approximately from half that distance to infinity.
This value should be interpreted as an indication, not as an absolute boundary. Perceived sharpness also depends on sensor resolution, display size, viewing distance, subject contrast and the photographer’s level of requirement.
Calculation principle
The calculation is based on focal length, aperture, focusing distance and the circle of confusion associated with the selected format. Hyperfocal distance is calculated using the following formula:
H = f² / (N × c) + f
In this formula, H represents the hyperfocal distance, f the focal length, N the aperture and c the circle of confusion. Values are calculated in millimetres, then converted into centimetres or metres for display.
From this hyperfocal distance, the calculator determines the near limit of sharpness, the far limit of sharpness and then the total depth of field. When the far limit extends to optical infinity according to the selected parameters, the result is displayed as infinity.
Formats included in the calculator
| Format | Indicative circle of confusion |
|---|---|
| 24x36 full frame | 0.030 mm |
| APS-C Nikon, Sony, Fujifilm | 0.020 mm |
| APS-C Canon | 0.019 mm |
| Micro Four Thirds | 0.015 mm |
| 1 inch | 0.011 mm |
| Digital medium format 33x44 mm | 0.038 mm |
| Medium format film 6x4.5 | 0.045 mm |
| Medium format film 6x6 | 0.050 mm |
| Medium format film 6x7 | 0.060 mm |
| Medium format film 6x8 | 0.065 mm |
| Medium format film 6x9 | 0.070 mm |
| 4x5 inch sheet film | 0.100 mm |
Limitations of a depth of field calculator
A depth of field calculator provides a useful estimate, but it does not describe the complete rendering of a photograph on its own. The transition between sharpness and blur is gradual. It depends on the optical design, contrast, distance between the subject and the background, bokeh and final image size.
Two lenses may therefore produce a similar calculated depth of field while giving a different visual impression. The calculator allows you to compare geometric parameters, but the aesthetic quality of blur remains linked to the character of the lens and the photographed scene.
A tool for comparing, preparing and deciding
This depth of field calculator allows you to quickly check the effect of a change in focal length, aperture, focusing distance or format. It is particularly useful for comparing two lenses, preparing a demanding shoot or confirming an intuition before working in the field.
Depth of field is not just a technical value. It is a compositional tool. It allows you to isolate a subject, structure planes, guide the viewer’s eye or, on the contrary, keep a scene readable throughout its depth.
FAQ about depth of field calculation
Why does depth of field vary with focusing distance?
The closer the focusing distance, the shallower the depth of field. At short distances, a few centimetres can be enough to significantly change the area of acceptable sharpness.
Does depth of field depend only on aperture?
No. Aperture plays an important role, but depth of field also depends on focal length, focusing distance, the format used and the selected circle of confusion.
Why compare two lenses with a depth of field calculator?
Comparison makes it possible to measure the real difference between two configurations. It can help evaluate the difference between two apertures, two focal lengths or two shooting distances before a purchase or a shoot.
Does hyperfocal distance guarantee perfect sharpness to infinity?
No. Hyperfocal distance is based on the idea of acceptable sharpness. The result also depends on sensor resolution, display size, viewing distance and the photographer’s level of requirement.
Why can blur rendering differ between two lenses with a similar depth of field?
Depth of field describes an area of acceptable sharpness, but not the character of blur. Rendering also depends on optical design, diaphragm shape, contrast, the distance between the subject and the background and the lens’s bokeh.
About the author
Sebastien Desnoulez is a photographer, author and image-maker based in Paris. His work spans architectural photography, landscape photography and travel photography, with particular attention to composition, lines, light, blur and visual accidents. Trained in photography in the mid-1980s, he covered Formula 1 and produced reportages around the world before developing a fine art photography practice based on the tension between graphic rigour and visual instability. He also shares his technical experience through practical articles for passionate photographers, drawing on a strong visual culture acquired in both film and digital photography.
Tags
I am represented by the gallery
Une image pour rêver