Depth of Field Calculator
Calculate the range of acceptable sharpness for your lens, aperture, and focus distance. See how much of your scene will be in focus.
Calculate depth of field
Enter your camera settings to see the focus range
Total depth of field
60.1 cm
Near limit
2.73 m
Far limit
3.33 m
Depth of field range
In front of subject
27.1 cm
Behind subject
33.0 cm
Hyperfocal distance
Focus here for maximum depth of field
29.81 m
Understanding DoF
Depth of field is the range of distances where objects appear acceptably sharp. Only one distance is truly in perfect focus, but there's a zone around it that looks sharp enough.
Three factors control DoF
- Aperture: Wider = shallower DoF
- Focal length: Longer = shallower apparent DoF
- Distance: Closer = shallower DoF
The formulas
Hyperfocal distance
H = (f² / (N × c)) + f
Near limit
Dn = s × (H - f) / (H + s - 2f)
Far limit
Df = s × (H - f) / (H - s)
When s ≥ (H - f), far limit is infinity
Where: f = focal length, N = f-number, c = circle of confusion, s = subject distance
Circle of confusion by format
Standard values used in this calculator
| Format | CoC (mm) |
|---|---|
| Micro Four Thirds | 0.015 |
| APS-C (Canon) | 0.019 |
| APS-C | 0.020 |
| Full Frame (35mm) | 0.030 |
| 645 | 0.043 |
| 6×6 | 0.049 |
| 6×7 | 0.055 |
| 4×5 | 0.100 |