Skip to content

DOF Calculator — Depth of Field

Calculate the near focus limit, far focus limit and total depth of field for any lens, aperture and distance combination.

Determines the circle of confusion

How We Calculate This

This calculator uses the standard thin-lens depth of field equations:

Hyperfocal Distance

H = f² / (N × c) + f

Near and Far Focus Limits

D_near = (H × u) / (H + u - f)

D_far = (H × u) / (H - u + f)

Where f = focal length, N = f-number, c = circle of confusion, u = focus distance. When u ≥ H, the far limit extends to infinity.

Frequently Asked Questions

Last updated: February 2026

All calculations are estimates based on standard optical and photographic formulas. Results may vary with specific equipment.