Worked example · Depth of field

50mm f/1.8 Canon APS-C focus range at 2.5 m

For a headshot with a 50mm lens on Canon APS-C, set f/1.8 and focus to 2.5 m. The preset permits a 0.019 mm circle of confusion.

See the worked calculation

Inputs

Enter 0 to use the selected sensor’s default.

Results

Runs on your device

Near limit
2.42 m
Far limit
2.59 m
Hyperfocal distance
73.15 m
Total depth of field
0.17 m
Circle of confusion
0.019 mm
Focus zone
Near limit 2.42 m, focus 2.5 m, far limit 2.59 mNEARFOCUSFAR2.42 m2.5 m2.59 m
The shaded band spans the modeled near and far limits. The brass line marks the plane of focus.

Worked calculation

  1. Calculate H − f = 50² ÷ (1.8 × 0.019) ≈ 73,099 mm.
  2. The ratio q = (2500 − 50) ÷ 73099 is roughly 0.03352.
  3. 2.5 ÷ (1 ± 0.03352) places the limits near 2.42 m and 2.59 m for a range of about 16.8 cm.

How the calculation works

Hyperfocal distance

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

Use millimeters for focal length f, circle of confusion c and focus distance s. N is the displayed f-number.

Near and far limits

q = (s − f) ÷ (H − f), near = s ÷ (1 + q), far = s ÷ (1 − q)

The far limit is infinite at or beyond H. The model measures distances from the ideal lens principal plane.

Questions and answers

Will this APS-C headshot have the same framing as 50mm on full frame?

It captures a narrower angle from the same spot. Use the field-of-view calculator to compare the active sensor sizes.

Does moving the subject toward me by 10 cm keep the eyes sharp?

At the original focus setting the near limit is about 8.1 cm in front of the focus plane, so a 10 cm move falls outside the modeled band.