50 mm at f/8
With a 50 mm lens, f/8, a 5 m focus distance, and a 0.03 mm circle of confusion, the calculator returns a near limit below 5 m and a far limit beyond 5 m. The interval is continuous acceptable blur, not equal sharpness throughout.
Created by: Lucas Grant
Last updated:
Calculate thin-lens near and far acceptable-sharpness limits from focal length, aperture, focus distance, and an explicit circle of confusion.
Estimate near and far acceptable-blur limits with an explicit circle of confusion.
A Depth of Field Calculator estimates the nearest and farthest distances that meet one chosen acceptable-blur criterion for a focal length, aperture, and focus distance.
Photography settings describe several different physical and perceptual relationships. Exposure arithmetic controls recorded light under a stated model. Focus geometry describes acceptable blur for one chosen criterion. Motion estimates compare a projected displacement with an allowed sensor-plane blur. None of these calculations can see the actual scene, lens sample, camera processing, photographer technique, or final presentation.
Near and far limits are not cliffs where detail suddenly becomes sharp or unsharp. They are geometric thresholds tied to the entered circle of confusion, which itself depends on enlargement, viewing distance, acuity, and creative expectations. This tool therefore keeps every important assumption visible and provides scenarios rather than hiding uncertainty behind a single authoritative-looking number. Values such as circle of confusion, stabilization performance, filter density, and bellows factor should come from a current product source or a repeatable test whenever the result matters.
Use the result to prepare a first frame, compare alternatives, or understand which input dominates. Then verify with the camera histogram, magnified review, a calibrated meter where appropriate, and a test at the intended print or display size. Recording the successful real setting is more valuable than treating a general default as permanent truth.
The calculator first computes hyperfocal distance from focal length squared divided by f-number and circle of confusion, plus focal length. It then applies the standard near and far thin-lens equations at the entered focus distance.
When the far denominator reaches zero or becomes negative, the modeled far limit is displayed as infinity. Total and rear depth are also infinite in that mathematical branch, while the near limit remains finite.
The formula uses nominal focal length and aperture and is least representative at macro distances, with internal-focus lenses, focus breathing, strong pupil magnification, tilt, or demanding pixel-level inspection.
H = f² ÷ (N × c) + f
Dnear = H × s ÷ (H + s − f)
Dfar = H × s ÷ (H − s + f), when denominator > 0
With a 50 mm lens, f/8, a 5 m focus distance, and a 0.03 mm circle of confusion, the calculator returns a near limit below 5 m and a far limit beyond 5 m. The interval is continuous acceptable blur, not equal sharpness throughout.
Reducing the circle of confusion for a larger or more closely viewed output moves the near limit farther away and the far limit nearer. The same capture therefore has less acceptable depth under the stricter presentation assumption.
Once focus distance reaches the formula’s infinity branch, far depth is reported as infinity. Focusing farther does not make everything equally sharp and can move the near acceptable limit away from the camera.
The strongest workflow is comparative: change one input, observe the model response, make the frame, and log whether the assumption matched the intended result. That method turns a calculator into a repeatable testing aid instead of a substitute for field judgment.
Measure focus distance from the camera’s sensor-plane mark when practical, and confirm whether a lens or camera display reports a rounded estimate.
Evaluate the image at its final crop, size, sharpening, and viewing distance. Stop down only after considering diffraction, shutter time, ISO, wind, subject movement, and the lens’s tested behavior.
It applies a documented photographic model to the settings you enter and exposes the assumptions behind the result. It uses thin-lens geometry and an entered circle of confusion to estimate near and far acceptable-blur limits. The arithmetic is useful for planning and comparison, but it cannot inspect lens transmission, camera processing, focus calibration, subject movement, support technique, or final viewing conditions.
Defaults are worked examples that make the form usable on first load. Replace sensor dimensions, circle of confusion, stabilization, filter strength, focal length, aperture, file specifications, and other product-dependent values with the exact manual, label, metadata, or test result for your equipment. Named format families can contain different dimensions.
Equal calculated exposure does not mean equal pictures. Aperture changes depth of field and diffraction; shutter time changes motion rendering; ISO can change noise, highlight headroom, and camera processing. Filters can introduce color shifts or reflections. Treat equivalence as one controlled relationship while reviewing every visual consequence separately.
No. Sharpness depends on focus accuracy, subject and camera movement, stabilization behavior, lens performance, diffraction, atmospheric effects, sampling, processing, output size, viewing distance, and the viewer. Depth-of-field limits are acceptable-blur conventions rather than physical walls. Make test frames and inspect them at the intended output size.
Use the camera histogram and highlight warnings for exposure, magnified playback or tethered review for focus and motion, and the exact filter or lens documentation for marked specifications. Bracket when the scene is not repeatable. Record actual results so later estimates use measurements from the same camera, lens, support, subject, and output workflow.
Those values make the acceptable-blur assumption visible. A traditional circle of confusion is tied to an assumed enlargement and viewing condition, while pixel pitch supports a sensor-plane blur comparison. Neither value independently defines perceived sharpness. A demanding large print or close crop may justify a tighter criterion than a small screen image.
Depth-of-field output is an acceptable-blur approximation. It does not measure lens resolution, autofocus accuracy, diffraction, motion, field curvature, focus breathing, tilt, output sharpening, or the viewer.