Worked example · Depth of field

24mm f/2.8 APS-C hyperfocal distance

For a landscape on Nikon or Sony APS-C, use a 24mm lens at f/2.8 and set focus to 11 m to put it just beyond the hyperfocal distance.

See the worked calculation

Inputs

Enter 0 to use the selected sensor’s default.

Results

Runs on your device

Near limit
5.32 m
Far limit
∞ m
Hyperfocal distance
10.31 m
Total depth of field
∞ m
Circle of confusion
0.02 mm
Focus zone
Near limit 5.32 m, focus 11 m, far limit ∞ mNEARFOCUSFAR5.32 m11 m∞
The shaded band spans the modeled near and far limits. The brass line marks the plane of focus.

Worked calculation

  1. With a 0.020 mm blur circle, H = 24² ÷ (2.8 × 0.020) + 24 ≈ 10,310 mm.
  2. At 11 m, q = (11000 − 24) ÷ 10285.7 ≈ 1.067. The near limit is 11 ÷ (1 + 1.067) ≈ 5.32 m.
  3. Eleven meters exceeds H, so the modeled far limit is infinity.

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

Where is the near limit if I focus at exactly 10.31 m?

It is approximately half the hyperfocal distance, or 5.15 m. Focusing farther away moves the near limit farther out.

Can I use the same hyperfocal distance for Canon APS-C?

Select the Canon preset to use its 0.019 mm blur circle. That tighter convention places the hyperfocal point a little farther away.