Camera Depth of Field & Hyperfocal Distance

Calculate photographic depth of field, hyperfocal distance, near limit, far limit, and front/back focus distribution across sensor formats.

Optical Camera Setup

Photography Scenario Presets:
Total Depth of Field Focus Zone
0.61 m
Near: 2.72 m · Far: 3.33 m
Hyperfocal Distance Sharp to Infinity
29.81 m
At H, everything from 14.91 m to ∞ is sharp

Optical Focus Zone Breakdown

Near Focus Limit (Acceptable Sharpness): 2.72 m (8.92 ft)
Far Focus Limit: 3.33 m (10.93 ft)
Depth in Front of Subject: 0.28 m (45.9%)
Depth Behind Subject: 0.33 m (54.1%)
Circle of Confusion (CoC): 0.030 mm (Full Frame standard)
Equivalent 35mm Field of View: 50.0 mm (1.0x Full Frame)

About this tool

How to use it

  1. Select your camera sensor format (Full Frame 35mm, APS-C, Micro Four Thirds, 1-inch, or Medium Format) or pick a scenario preset.
  2. Enter your lens focal length in millimeters and select your aperture f-number.
  3. Enter your subject distance and choose your measurement unit (meters or feet).
  4. Read the total depth of field, near/far focus limits, hyperfocal distance, and front/back focus percentage distribution.

Why it matters

Depth of field dictates how much of a photograph appears sharp in front of and behind the subject. Miscalculating depth of field leads to blurry portrait eyes, soft landscape horizons, or unwanted background distractions. This tool uses precise geometric optical equations and format-specific circles of confusion to calculate exact focus boundaries.

When to use it

Use when planning portrait shoots to achieve creamier bokeh, setting up landscape tripod focus at hyperfocal distance for maximum front-to-back sharpness, or determining macro focus bracketing intervals.

Good to know

Circle of Confusion (CoC) values are based on standard Zeiss criteria (sensor diagonal / 1730 for normal viewing distance of an 8x10 print). Extreme cropping or pixel-peeping at 100% on high-megapixel sensors will effectively narrow the perceived sharp zone.

Common questions

What is hyperfocal distance and how do I use it in photography?

Hyperfocal distance is the closest focus distance where elements at infinity remain acceptably sharp. When you focus your lens exactly at the hyperfocal distance (H), everything from half that distance (H/2) all the way to infinity (∞) will fall within acceptable sharpness.

Why is depth of field not split evenly (50/50) in front of and behind the subject?

Due to optical perspective geometry, light rays converge and diverge non-linearly. In typical medium-distance photography, roughly one-third (33%) of the depth of field falls in front of the subject and two-thirds (67%) falls behind. At macro distances, this ratio approaches 50/50, while near hyperfocal distance the rear depth extends to infinity.

How does sensor size affect depth of field?

Smaller sensors require smaller circles of confusion (e.g. 0.015mm for Micro Four Thirds vs 0.030mm for Full Frame). However, to achieve the same field of view and framing, smaller sensors use shorter focal lengths (e.g. 25mm on MFT vs 50mm on Full Frame), which drastically increases overall depth of field.

What formula is used to calculate near and far depth of field limits?

The calculator first determines the hyperfocal distance H = (f^2 / (N * c)) + f. The near limit is calculated as Dn = (s * (H - f)) / (H + s - 2f) and the far limit as Df = (s * (H - f)) / (H - s), where f is focal length, N is f-number, c is circle of confusion, and s is subject distance.

Does aperture diffraction reduce sharpness at f/16 or f/22?

Yes. While stopping down to f/16 or f/22 increases depth of field, optical wave diffraction causes overall softness across the entire image. For most landscape photography on modern sensors, f/8 to f/11 offers the optimal compromise between deep depth of field and peak lens sharpness.