Depth of Field (approx.)
Range of distances that appear acceptably sharp.
Formula
Variables
Example
N=8, c=0.03, s=3 m, f=50 mm: DoF ≈ 1.7 m
How it works
This approximation estimates the total depth of field, meaning the near-to-far span that looks sharp enough in a photo. It comes from the geometry of how a lens focuses light: larger apertures (smaller N) and longer focal lengths spread blur more quickly, while stopping down or focusing farther away increases the tolerated range. The circle of confusion c is the maximum blur diameter your eye/viewing conditions will still accept as "sharp," so it sets the sharpness criterion.
When to use it
Use this when you need a quick estimate of how much of a scene will look acceptably sharp for a given lens, aperture, and focus distance. It is especially useful in portrait, macro, landscape, and product photography when planning whether you need to stop down or focus stack.
Worked example, step by step
Given: N = 11, c = 0.02 mm, s = 5 m, f = 85 mm Step 1: Square the subject distance: s^2 = 5^2 = 25 m^2 Step 2: Compute the numerator: 2Nc s^2 = 2 × 11 × 0.02 × 25 = 11 Step 3: Compute the denominator: f^2 = 85^2 = 7225 Step 4: Divide: DoF ≈ 11 / 7225 = 0.00152 m Step 5: Convert to a more practical unit: 0.00152 m × 1000 = 1.52 mm Final answer: DoF ≈ 0.0015 m, or about 1.5 mm
Common mistakes to avoid
- Mixing units without converting consistently, especially using mm for f and c but forgetting that s is in metres
- Treating the result as exact instead of an approximation that depends on the chosen circle of confusion
- Using this formula for very close-focus or extreme wide-angle cases where the approximation can become less reliable
Did You Know?
Wide apertures blur the background (shallow DoF) — the look portrait photographers chase.
Share this formula
More in Photography & Imaging
View allF-Number
BasicAperture f-number is focal length divided by aperture diameter.
Exposure Value (EV)
IntermediateCombines aperture and shutter speed into one exposure figure.
Hyperfocal Distance
AdvancedFocus distance that keeps everything from H/2 to infinity sharp.
Lens Magnification
IntermediateImage magnification from focal length and subject distance.
Angle of View
IntermediateField of view from sensor size and focal length.
Equivalent Focal Length
BasicFocal length on a crop sensor expressed in full-frame terms.