Depth of Field Calculator
Near limit, far limit and the sensor that changes both.
Work out Depth of Field. Near limit, far limit and the sensor that changes both. Answers in the units the job actually uses.
Total depth of field
57.7 cm
Sharp from 2.74 m to 3.32 m
Depth of field is not a hard edge. It is the zone where blur is small enough to read as sharp at a normal viewing size — enlarge the picture enough and the zone shrinks. That threshold is the circle of confusion, and it scales with the sensor, which is why the sensor selector above changes the answer rather than decorating it. The split is roughly one third in front and two thirds behind at moderate distances, but that ratio is a rule of thumb, not a law. Close up it approaches half and half; near the hyperfocal distance almost all of the depth falls behind the subject. Stopping down past about f/11 on a small sensor starts to lose sharpness to diffraction faster than it gains depth of field, so the sharpest overall result is often a stop or two wider than the maximum.
How the Depth of Field Calculator works
Work out exactly what will be sharp at a given focal length, aperture and distance. The sensor selector is not decoration — the circle of confusion scales with sensor size, so the same lens and aperture give roughly half the depth on Micro Four Thirds that a full-frame calculator would tell you.
Also known as: how much will be in focus · 50mm f1.8 depth of field · blurry background calculator · dof calculator apsc · what aperture for sharp group photo
Frequently asked questions
What is depth of field?
The zone in front of and behind the focus point that still looks sharp. It is not a hard boundary — blur increases continuously either side of the focus plane, and depth of field is where that blur is small enough to read as sharp at normal viewing size.
Is depth of field really one third in front and two thirds behind?
Only roughly, and only at moderate distances. Close up the split approaches half and half; near the hyperfocal distance almost all of the depth falls behind the subject. Treat it as a rule of thumb, not a formula.
Does sensor size change depth of field?
Yes. A smaller sensor is enlarged more to reach the same print size, so it tolerates less blur — the circle of confusion shrinks with the sensor. At the same focal length, aperture and distance, a Micro Four Thirds sensor gives about half the depth a full-frame one does.
Should I just stop down as far as the lens goes?
No. Past roughly f/11 on a small sensor, diffraction softens the whole frame faster than the extra depth of field gains you. The sharpest overall result is usually a stop or two wider than the minimum aperture.
Why does my calculator disagree with another one?
Almost always the circle of confusion. This one derives it from the sensor diagonal divided by 1500; many others hard-code 0.03 mm, which is a full-frame value and wrong on anything smaller.
Put this calculator on your own site
Free to use, on any site, commercial or not. Paste this where you want it to appear. It is a plain iframe, so it works in WordPress, Squarespace, Wix, Webflow, Ghost and anything else that accepts HTML.
<iframe src="https://www.thecalclibrary.com/embed/depth-of-field-calculator" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px" loading="lazy" title="Depth of Field Calculator"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:6px 0 0;color:#64748b">Powered by <a href="https://www.thecalclibrary.com/depth-of-field-calculator" style="color:#64748b">Depth of Field Calculator</a> from The Calc Library</p>The only condition is that the credit line below the frame stays in place. That one line is what pays for the tool being free — it is how anyone else finds it.
Related calculators
Hyperfocal Distance Calculator
Focus here and everything to infinity stays sharp.
OpenCrop Factor Calculator
Equivalent focal length and the aperture rule everyone gets wrong.
OpenField of View Calculator
How wide a lens really sees, in degrees and in metres.
Open