Depth of Field Calculator
Calculate the near limit, far limit, and total depth of field for any lens, aperture, and subject distance.
How to Use the Depth of Field Calculator
- Enter the focal length of your lens in mm.
- Enter the aperture f-number.
- Enter the distance to your subject in metres.
- Select your camera sensor size and click Calculate.
حالات الاستخدام
- •Portrait photography — achieving blurry backgrounds.
- •Landscape photography — maximising sharpness throughout the scene.
- •Macro photography — understanding extremely shallow focus.
- •Learning how focal length and aperture interact.
الصيغة
Hyperfocal H = f² / (N × c) + f. Near limit = d(H−f)/(H+d−2f). Far limit = d(H−f)/(H−d). DoF = Far − Near.
الأسئلة الشائعة
What is depth of field?
Depth of field (DoF) is the range of distance in a photo that appears acceptably sharp.
How does aperture affect DoF?
A wider aperture (smaller f-number) produces shallower DoF; a narrower aperture gives greater DoF.
Is it free?
Yes, all calculators on OhMyCalc are completely free.