Home / Photography / Depth of Field Calculator
Depth of Field Calculator
Near and far limits of acceptable sharpness for any lens setup.
mm
f/
m
mm
How it works
The hyperfocal distance is H = f² ÷ (N × c) + f. Near limit = s(H − f) ÷ (H + s − 2f) and far limit = s(H − f) ÷ (H − s). When the focus distance reaches H, the far limit becomes infinity and shows as a dash. A circle of confusion of 0.03 mm suits full frame, 0.02 mm suits APS-C, and 0.015 mm suits Micro Four Thirds. Example: A 50 mm lens at f/2.8 focused at 3 m is sharp from 2.73 m to 3.33 m, a depth of field of 0.6 m.
FAQ
Is this calculator free?
Yes. No signup is needed and nothing you enter is stored.
Is the result exact?
Results are rounded for display. For financial, medical, or legal decisions, confirm with a professional.
Do my numbers leave my device?
No. The calculation runs in your browser.