Depth of Field
Find the near and far in-focus limits and the depth of field at a given focus distance.
About Depth of Field
Depth of field is the zone of acceptable sharpness around the focus point, bounded by near and far limits derived from the hyperfocal distance. A wide aperture and long focal length thin the sharp zone for portraits, while a closed aperture extends it for landscapes.
Formula
Depth of Field
Near = Hd/(H+d-f); Far = Hd/(H-d-f) where H is hyperfocal distance
- H
- Hyperfocal distance in millimeters
- coc
- Circle of confusion affected by crop factor
Worked example
With the default values below, Depth of Field returns Depth of Field of 4,721.95. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Focal lengthminimum 1
- 50
- Aperture (f-number)minimum 0.1
- 2.8
- Focus distanceminimum 0.1
- 10
- Crop factorminimum 0.5
- 1.5
Results
- Depth of Field
- 4,721.95 m
- Near in Focus
- 8.18 m
- Far in Focus
- 12.90 m
- Hyperfocal Distance
- 44.69 m
Step by step
- 1Values used
- 2Depth of Field
- 3Depth of Field= 4,721.95 m
- 4Near in Focus= 8.18 m
- 5Far in Focus= 12.90 m
- 6Hyperfocal Distance= 44.69 m
Assumptions and limits
- The result is derived only from the 4 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to 2 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
How is Depth of Field calculated?
Near = Hd/(H+d-f); Far = Hd/(H-d-f) where H is hyperfocal distance Depth of field is the zone of acceptable sharpness around the focus point, bounded by near and far limits derived from the hyperfocal distance.
Why does Depth of Field matter?
A wide aperture and long focal length thin the sharp zone for portraits, while a closed aperture extends it for landscapes.
What values do I need to enter?
This calculator takes 4 inputs: Focal length, Aperture (f-number), Focus distance, Crop factor. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.
