Calcometry

Depth of Field Calculator

By using our calculators, you agree to our Terms of Use.

Near and far focus limits from focal length, aperture, focus distance, and sensor size.

Lens & focus settings

Total depth of field

6.09 m

Near: 3.39 m · Far: 9.49 m

Near limit
3.39 m
Far limit
9.49 m

Related calculators

Depth of field

Depth of field (DOF) is the zone in front of and behind your focus point that appears acceptably sharp. It depends on four things: focal length, aperture (f-number), focus distance, and sensor size — smaller apertures (higher f-numbers), wider lenses, smaller sensors, and farther focus distances all increase depth of field.

The math runs through the hyperfocal distance (H): H = f² / (N × c) + f, where f is focal length, N is the f-number, and c is the circle of confusion — a sensor-size-dependent value for the largest blur spot the eye perceives as a sharp point. Near and far limits are then derived from H, the focus distance, and f.

Example: a 50mm lens at f/8 on a full-frame sensor, focused at 5 meters, has a near limit around 3.4m and a far limit around 9.5m — about 6.1m of total depth of field. Stopping down to f/16 would roughly double that range.

Common questions

Why does sensor size affect depth of field?

Smaller sensors need shorter focal lengths to achieve the same field of view, and shorter focal lengths naturally produce more depth of field at a given aperture and framing — the sensor size changes the circle of confusion used in the math.

What does it mean when the far limit shows as infinite?

When your focus distance is at or beyond the hyperfocal distance, everything from the near limit out to the horizon appears sharp — the far limit becomes effectively infinite.