Photography
Depth of Field Calculator
Depth of field (DoF) controls how much of your shot is sharp. For portrait shooters chasing creamy bokeh: maximize aperture (low f-number), get close, use a long lens. For landscape shooters chasing edge-to-edge sharpness: stop down, focus at the hyperfocal distance. This calculator runs the actual DoF math for your specific camera (sensor format), lens (focal length), aperture, and focus distance. Outputs near focus limit, far focus limit, total DoF, and hyperfocal distance. Real numbers, not depth-of-field marketing fluff.
The three variables that control DoF
- Aperture: smaller f-number (f/1.4) = shallower DoF. Larger f-number (f/16) = deeper DoF. Doubling aperture (f/2.8 → f/5.6) roughly doubles DoF.
- Focal length: longer lens = shallower DoF at the same f-number and distance. A 200mm at f/2.8 has dramatically less DoF than a 50mm at f/2.8.
- Focus distance: closer to the subject = shallower DoF. Macro work has razor-thin DoF even at small apertures.
Sensor size matters indirectly: smaller sensors (M4/3, APS-C) have deeper DoF than full frame at the same focal length and f-stop because of the smaller circle of confusion. Or framed differently: to get the same FOV from a closer M4/3 sensor, you'd need to use a 25mm at f/2.8 instead of full-frame 50mm at f/5.6 — same DoF at equivalent setting.
Worked examples
Portrait: 85mm f/1.4 at 8 ft on full frame. Near focus 7.83 ft, far focus 8.17 ft. Total DoF: 0.34 ft (4 inches). Razor thin — nose tip will be out of focus if focus is on eyes.
Landscape: 24mm f/11 on full frame, focused at hyperfocal distance. Hyperfocal = 17.5 ft. Everything from 8.75 ft to infinity is acceptably sharp. Foreground rocks and distant mountains both in focus.
Street: 35mm f/8 at 15 ft on full frame. Near focus 8 ft, far focus 100+ ft (toward infinity). Anything 8-100 ft is sharp — zone-focus territory for fast street shooting.
How to use this calculator
- Sensor / Format: pick your camera type — different sensor sizes have different circles of confusion.
- Focal length: in mm, of the actual lens (not 35mm equivalent).
- Aperture: f-stop you're shooting at.
- Focus distance: in feet from camera to subject.
- Output: total DoF, near focus, far focus, and hyperfocal distance for the lens.
FAQ
What's hyperfocal distance? +
Why does the circle of confusion (CoC) matter? +
How accurate is this for digital sensors? +
Why do crop sensors look like they have deeper DoF? +
What's diffraction-limited aperture? +
How do I focus at hyperfocal distance practically? +
Does focal length affect DoF or just background blur? +
What about focus stacking? +
Heads up: ClutchCalcs gives you fast, accurate results — but always sanity-check critical decisions (medical, financial, structural) with a professional.
Spot a wrong number or want a calculator added? Tell us →