Depth Of Field Calculator
Calculate the depth of field (DOF) for a camera lens based on aperture, focal length, and distance to subject. Useful for photographers to achieve desired blur or sharpness.
Was this calculator helpful?
How to use this tool?
How to use the Depth of Field Calculator
- Enter Aperture (f-number) – e.g., 2.8. Range: 1.0 to 32.
- Enter Focal Length (mm) – e.g., 50. Range: 1 to 1000 mm.
- Enter Distance to Subject (meters) – e.g., 5. Range: 0.1 to 100 m. All distances are in metric.
- Enter Circle of Confusion (mm) – e.g., 0.029 (typical for full-frame). Range: 0.001 to 0.1 mm.
- Click Calculate.
Results explained:
- Near Focus Limit – closest point in focus (in meters).
- Far Focus Limit – farthest point in focus (shows "Infinity" if beyond hyperfocal distance).
- Depth of Field – total distance between near and far limits (shows "Infinity" if far limit is infinite).
Tip: If distance is greater than or equal to hyperfocal distance, the far limit becomes infinity.
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
Depth of field (DOF) is the distance between the nearest and farthest objects that appear acceptably sharp in a photograph. It depends on aperture, focal length, distance to subject, and sensor size.
A smaller f-number (wider aperture) reduces DOF, creating more background blur. A larger f-number (narrower aperture) increases DOF, keeping more of the scene in focus.
The circle of confusion (CoC) is the maximum blur spot size that still appears sharp to the human eye. It varies by sensor size; common values are 0.029mm for full-frame and 0.018mm for APS-C.