Photo Calculator

Distance units

Depth of field

Near limit
Far limit
Depth of field
Hyperfocal distance
In front of focus
Behind focus
At the hyperfocal distance, sharp from

mm
f/
m
mm

Depth of field table

Formulas

H = f2 / (N c) + f Hyperfocal distance.

Dnear = s(H − f) / (H + s − 2f) Near limit.

Dfar = s(H − f) / (H − s) Far limit, infinite once s reaches H.

c = d / 1500 Circle of confusion from the format diagonal d: 0.029 mm for full frame.

f focal length, N f-number, c circle of confusion, s focus distance measured from the lens. Thin-lens model; at macro distances, lens asymmetry makes real lenses differ.

Sources: J. Conrad, Depth of Field in Depth, equations 6, 7 and 11, written here in terms of H; the d/1500 criterion from Circle of confusion; sensor sizes from Image sensor format and 120 film.

Keyboard

1 to 7
Switch calculator
[ ]
Aperture a third of a stop wider or narrower
← →
Turn the focused ring
Home End
Turn the focused ring to its stop
H
Focus at the hyperfocal distance
U
Switch meters and feet