Skip to content

Depth of Field Geometry Calculator

Calculate thin-lens near/far focus limits and hyperfocal distance from actual focal length, focus distance, f-number, and an entered CoC criterion.

Use this result well

Inputs that matter
Actual focal length, taking f-number, focus distance from the lens/camera reference plane and an explicit acceptable circle-of-confusion criterion
Output to expect
Thin-lens hyperfocal distance, near/far limits, front/rear depth and finite or infinity state
How it works
Use exact thin-lens hyperfocal and near/far equations with all lengths converted to the same unit
  • Choose the circle-of-confusion criterion for the intended output size, viewing distance and acceptance standard; a sensor label alone does not establish acceptable sharpness.
  • Verify the actual lens and capture for aberrations, diffraction, focus shift, field curvature, close-focus extension, movement and output processing; geometry is not a sharpness guarantee.

Choose your path

Built around the job you need to finish

Calculate auditable thin-lens depth-of-field geometry from an explicit acceptable-blur criterion without assigning sensor presets or promising perceived sharpness.

Landscape photographer checking hyperfocal geometry

See when the far entered-criterion limit reaches infinity without using a symmetric approximation.

Enter actual focal length, aperture, focus distance and the chosen output CoC.

Gets exact near/far and hyperfocal values with infinity handled explicitly.

Cinematographer planning a focus pull

Record front and rear acceptable-focus geometry around a measured mark.

Use the lens-plane focus distance and production-approved CoC criterion.

Gets transparent geometry while retaining lens tests, movement and viewing criteria.

Macro photographer avoiding a false promise

Know when the ordinary thin-lens model is insufficient.

Compare focus distance to focal length and read the close-focus/magnification boundary.

Does not mistake a geometric estimate for measured macro sharpness.

Was this tool helpful?

Reference & details

How it works

Entered Acceptable-Blur Criterion

Circle of confusion is an input criterion, not a measured sharpness result. Choose it for the intended image area, enlargement, viewing conditions, and acceptance standard; the calculator does not prescribe a sensor-format value.

c = user-entered acceptable circle diameter in mm

Exact Thin-Lens Limits

All lengths are converted to the same unit. The far limit becomes infinity when its denominator is zero or negative; finite near and far limits are not assumed to be symmetric around the focus distance.

H = f²/(Nc)+f; Dn = Hs/(H+s−f); Df = Hs/(H−s+f)

Model Boundary

The output is geometric. Real results can differ because of lens extension at close focus, magnification, diffraction, aberrations, focus shift, field curvature, camera or subject movement, processing, enlargement, and viewing conditions.

Calculated geometry ≠ measured lens/output sharpness

Updated: August 2026

Example Scenarios

Enter the actual focal length, taking aperture, measured focus distance, and the CoC criterion approved for the output. Confirm when the calculated far limit reaches infinity, then test the real lens and foreground detail.

Use distances from the camera or lens reference plane and a production-defined criterion. Record asymmetric front and rear limits, then retain movement, lens tests, monitor/output, and focus-puller judgment outside the arithmetic.

If focus distance approaches focal length, the engine rejects the invalid geometry. At meaningful magnification, use a lens- or magnification-aware model and physical testing rather than treating this ordinary thin-lens result as decisive.

Common Mistakes to Avoid

Selecting a circle of confusion only from a sensor-format table

Document the actual output and acceptance criterion. A format preset can hide enlargement, crop, display/print, viewing-distance, and audience assumptions.

Treating calculated limits as guaranteed sharp boundaries

Depth of field is criterion-based and transitions gradually. Verify the real lens, capture stability, focus accuracy, processing, enlargement, and viewing conditions.

FAQ

Acceptable blur depends on more than a sensor name. Output size, enlargement, viewing distance, eyesight, display or print process, and the acceptance standard all matter, so the chosen criterion remains visible and auditable.

The exact near and far equations are rational functions of focus and hyperfocal distance. Except in limited conditions, the acceptable-focus zone is not centered symmetrically on the focused distance.

It shows infinity when H − s + f is zero or negative under the entered thin-lens values. Infinity here means the far geometric limit at the entered criterion, not perfect optical sharpness at every distant detail.

No. The engine does not model aberrations, diffraction, field curvature, focus shift, sample variation, motion, processing, or the output system. Test the real lens and workflow for critical work.

Use caution. At close focus, lens extension, pupil magnification, effective aperture, and reproduction ratio can be important. Use a model and measurements appropriate to the actual lens and magnification.

About Depth of Field Geometry Calculator

This calculator records thin-lens depth-of-field geometry at the circle-of-confusion criterion you enter. It does not assign a criterion from a camera label or promise that the calculated zone will look sharp in every lens, capture, output, and viewing condition.