Skip to main content

Depth of Field Calculator

Calculate the range of acceptable sharpness for your lens, aperture, and focus distance. See how much of your scene will be in focus.

Calculate depth of field

Enter your camera settings to see the focus range

mm

Total depth of field

60.1 cm

Near limit

2.73 m

Far limit

3.33 m

Depth of field range

In front of subject

27.1 cm

Behind subject

33.0 cm

Hyperfocal distance

Focus here for maximum depth of field

29.81 m

Understanding DoF

Depth of field is the range of distances where objects appear acceptably sharp. Only one distance is truly in perfect focus, but there's a zone around it that looks sharp enough.

Three factors control DoF

  • Aperture: Wider = shallower DoF
  • Focal length: Longer = shallower apparent DoF
  • Distance: Closer = shallower DoF

The formulas

Hyperfocal distance

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

Near limit

Dn = s × (H - f) / (H + s - 2f)

Far limit

Df = s × (H - f) / (H - s)

When s ≥ (H - f), far limit is infinity

Where: f = focal length, N = f-number, c = circle of confusion, s = subject distance

Circle of confusion by format

Standard values used in this calculator

Circle of confusion values by camera format
FormatCoC (mm)
Micro Four Thirds0.015
APS-C (Canon)0.019
APS-C0.020
Full Frame (35mm)0.030
6450.043
6×60.049
6×70.055
4×50.100

Track your focus settings with Silverlog

Coming soon

Report an error
Support