About the Depth of Field Calculator
Depth of field is the zone that looks acceptably sharp either side of the focus point. It depends on aperture, focal length, subject distance and the sensor size, through the circle of confusion. Wide apertures and long lenses shrink it; small sensors and wide lenses stretch it.
Also known as: dof calculator, focus distance calculator, aperture depth of field, bokeh calculator, sharpness zone.
How to use this calculator
- Enter sensor, focal length, aperture (f-number), subject distance.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Review the breakdown shown under the main result.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
Worked example
Using the values pre-filled in the calculator above:
- Sensor: Full frame (CoC 0.030)
- Focal length = 50 mm
- Aperture (f-number) = 2.8
- Subject distance = 3 m
the calculator returns:
- Depth of field: 0.601 m
- Near focus limit: 2.729 m
- Far focus limit: 3.33 m
- Hyperfocal distance: 29.812 m