CalcChef
Search tools (e.g. 'calc', 'converter')... (Press '/' or 'Cmd+K')

Depth of Field (DOF) Calculator

Calculate depth of field, near/far focus limits, and hyperfocal distance for photography planning.

Loading Tool...

Applications

Used by portrait photographers for shallow DOF backgrounds, landscape photographers for hyperfocal distance planning, macro photographers for focus stacking, and photography students learning depth of field concepts.

The Formula

Hyperfocal Distance: H = (f² / (N × c)) + f. Near Focus: Dn = (s × (H − f)) / (H + s − 2f). Far Focus: Df = (s × (H − f)) / (H − s). Total DOF = Df − Dn. Where f=focal length, N=f-number, c=circle of confusion, s=subject distance.

Fun Fact: When focused at the hyperfocal distance, everything from half that distance to infinity will appear acceptably sharp. This is why landscape photographers often focus at the hyperfocal distance to maximize depth of field!

Related Tools

View all tools