No Login Data Private Local Save

Depth of Field Calculator – Online Near/Far Focus Limit

1
0
0
0
Depth of Field Calculator

Calculate near & far focus limits, hyperfocal distance, and total DOF for any camera setup.

Quick Presets
Camera & Sensor
Circle of Confusion: 0.030 mm
Lens Settings
f/
Focus Distance
Results
Full Frame (35mm)
Hyperfocal Dist.
--
m
Near Limit
--
m
Far Limit
--
m
Total DOF
--
m
DOF in Front of Subject
--
m
DOF Behind Subject
--
m
Depth Visualization
Focus
0 (Camera) Far Limit →
Adjust parameters to see the depth of field summary.
Understanding Depth of Field
What is Depth of Field (DOF)?
Depth of Field (DOF) is the distance range in a photograph that appears acceptably sharp. It extends both in front of and behind the focused subject. Anything outside this range appears progressively blurrier. DOF is one of the most powerful creative tools in photography—shallow DOF isolates subjects with creamy bokeh, while deep DOF keeps entire landscapes sharp from foreground to horizon.
What factors affect Depth of Field?
Four key factors influence DOF: 1) Aperture – wider apertures (smaller f-numbers like f/1.4) create shallower DOF; narrower apertures (larger f-numbers like f/16) create deeper DOF. 2) Focal Length – longer lenses produce shallower DOF at the same distance. 3) Focus Distance – closer subjects yield shallower DOF. 4) Sensor Size – larger sensors produce shallower DOF for the same framing and aperture (due to longer focal lengths needed for equivalent field of view).
What is Hyperfocal Distance?
Hyperfocal distance is the closest focus distance at which everything from half that distance to infinity appears acceptably sharp. It's a critical concept for landscape photographers who want maximum depth of field. When you focus at the hyperfocal distance, you maximize the DOF—the near limit becomes H/2, and the far limit extends to infinity. This calculator shows your hyperfocal distance in the highlighted card.
What is Circle of Confusion (CoC)?
The Circle of Confusion (CoC) is the largest blur spot that the human eye still perceives as a sharp point in the final image. It depends on sensor size, viewing distance, and print size. Standard CoC values: Full Frame ≈ 0.03mm, APS-C ≈ 0.02mm, Micro Four Thirds ≈ 0.015mm. A smaller CoC means stricter sharpness criteria, resulting in shallower calculated DOF. This tool automatically sets the CoC based on your selected sensor format.
How do I achieve a shallow depth of field for portraits?
To get beautifully blurred backgrounds (bokeh) for portraits: 1) Use a wide aperture like f/1.4–f/2.8. 2) Use a longer focal length (85mm–135mm is ideal). 3) Get closer to your subject. 4) Increase the distance between your subject and the background. 5) Use a larger sensor camera (full frame). Try the "Portrait" preset above to see typical portrait DOF values.
How do I maximize depth of field for landscape photography?
For maximum landscape sharpness: 1) Use a narrow aperture (f/8–f/16). 2) Use a wide-angle lens (14mm–35mm). 3) Focus at or slightly beyond the hyperfocal distance. 4) Be cautious with very small apertures (f/22+) as diffraction can soften overall sharpness. The "Landscape" preset demonstrates optimal landscape settings. Many pros prefer f/8–f/11 as the sweet spot balancing DOF and diffraction.
Why does sensor size matter for depth of field?
Larger sensors require longer focal lengths to achieve the same field of view, and those longer focal lengths produce shallower DOF at the same aperture and framing. For example, to match the field of view of a 50mm lens on full frame, you'd need roughly a 33mm lens on APS-C—and the 50mm will have shallower DOF. This is why full-frame cameras are often preferred for portrait work, while smaller sensors can be advantageous for macro photography where deeper DOF is desired.
What's the difference between front and rear depth of field?
DOF is not evenly distributed around the focus point. Typically, about one-third of the total DOF lies in front of the subject, and two-thirds lies behind it—though this ratio changes with focus distance. At very close distances (macro), the split approaches 50/50. At longer distances approaching the hyperfocal distance, the rear DOF expands dramatically, eventually reaching infinity. This calculator breaks down both front and rear DOF so you can see the exact distribution.