Depth of Field Calculator
Master your focus with our free Depth of Field (DoF) calculator. Instantly find the near and far points of acceptable sharpness, the total depth of field, and the hyperfocal distance for any camera and lens combination. Essential for landscape, portrait, and macro photographers who want precise control over their images. Explore more photography tools on CalculatorBolt.
Calculate Depth of Field
Preset Scenarios
Export
How to Use This Calculator
Select your camera's sensor format, enter your lens's focal length and the aperture you're shooting at, and finally, the distance to your subject. The calculator will instantly show you the range in front of and behind your subject that will be in acceptable focus.
Understanding Depth of Field
Depth of Field (DoF) is the zone of acceptable sharpness in an image. It is primarily controlled by the aperture (f-stop): a smaller aperture (larger f-number, e.g., f/16) gives a deeper DoF, while a wider aperture (smaller f-number, e.g., f/1.8) gives a shallower DoF. Focal length and subject distance also play a key role.
Example
Using a Full-Frame camera with a 50mm lens at f/2.8, focused on a subject 10 meters away:
- Hyperfocal Distance: 29.46 m
- Near Focus Point: 9.05 m
- Far Focus Point: 11.20 m
- Total Depth of Field: 2.15 m
Tips & Important Notes
- For Landscapes: Use the hyperfocal distance. Focus at this point to make everything from half that distance to infinity acceptably sharp.
- For Portraits: Use a wide aperture (e.g., f/1.4 - f/2.8) and a longer focal length to create a shallow depth of field and blur the background.
- Sensor Size Matters: Smaller sensors (like in smartphones or compact cameras) inherently have a deeper depth of field than larger sensors (like Full-Frame) at the same equivalent focal length and aperture.
FAQs
Disclaimer
This calculator provides theoretical estimates based on standard optical formulas. Actual depth of field can be affected by lens design, diffraction at small apertures, and your own perception of sharpness. Use it as a guide, not an absolute measure.