Optics

Depth of Field

DOF≈2Ncs2f2DOF \approx \frac{2Nc s^2}{f^2}

Approximate depth of field for distant subjects. DOF increases with higher f-number (smaller aperture) and increases with the square of subject distance.

Variables

DOF
Depth of field
Allowed values: greater than 0
m
N
F-number
Allowed values: greater than 0
unitless
c
Circle of confusion diameter
Allowed values: greater than 0
m
s
Subject distance
Allowed values: greater than 0
m
f
Focal length
m

Your notes

0/5000

Check value

Round inputs run through this page's calculator. Use it to test your own working or a rearranged form. It is a test case, not a real-world example.

  • N = 2 (F-number)
  • c = 3 m (Circle of confusion diameter)
  • s = 4 m (Subject distance)
  • f = 5 m (Focal length)

Result: DOF = 7.68 m

Other optics formulas with the same quantities

Where this formula is listed

Common questions

What is the Depth of Field formula?

Depth of Field is written DOF ≈ 2Ncs²/f². Approximate depth of field for distant subjects. DOF increases with higher f-number (smaller aperture) and increases with the square of subject distance. It belongs to Optics, under Optical Instruments.

What are the units in DOF ≈ 2Ncs²/f²?

In SI units, DOF is depth of field, measured in m; N is f-number (dimensionless); c is circle of confusion diameter, measured in m; s is subject distance, measured in m; f is focal length, measured in m.