Hobbies, Pets, Food & Lifestyle

Photography Depth of Field Calculator

Calculate the exact near limit, far limit, and total depth of field based on your camera sensor, focal length, aperture, and subject distance.

mm
f/
ft
Near Focus
109
Far Focus133.4
Total Depth of Field24.4

Calculated locally in your browser. Fast, secure, and private.

Optical Physics: Depth of Field (DoF)

In photography, Depth of Field refers to the distance between the nearest and the farthest objects that are in 'acceptably sharp' focus in an image. Controlling DoF is one of the most powerful creative tools in a photographer's arsenal, allowing for the isolation of a subject (shallow DoF) or ensuring an entire landscape is sharp from the foreground to the horizon (deep DoF).

The Four Pillars of DoF

  1. Aperture (f-stop): The larger the aperture (smaller f-number, like f/1.8), the shallower the DoF.
  2. Focal Length: The longer the lens (e.g. 200mm telephoto), the shallower the perceived DoF.
  3. Subject Distance: The closer you are to the subject, the shallower the DoF.
  4. Sensor Size: Larger sensors (Full Frame) produce shallower DoF than smaller sensors (Micro Four Thirds) at equivalent fields of view.

The Circle of Confusion (CoC)

The 'sharpness' of a photo is relative. Because lenses can only focus perfectly at a single distance, every other point is technically a small blurred circle. If that circle is small enough, our eyes perceive it as sharp. The maximum size of this circle is called the Circle of Confusion.

Hyperfocal Distance (H) = f² / (N * c) + f

Where:
f=
Focal length of the lens in mm
N=
Aperture (f-number)
c=
Circle of Confusion constant (Full Frame ≈ 0.03)

The '1/3 - 2/3' Rule

At most standard distances, the depth of field is not distributed equally. Typically, the area of sharp focus extends 1/3 in front of the focal point and 2/3 behind it. As you move closer to the subject (macro photography), the distribution becomes nearly 50/50.

Frequently Asked Questions

Bokeh (from the Japanese word for 'blur') refers to the aesthetic quality of the out-of-focus areas of an image. It is not the same as Depth of Field. High-quality lenses with many aperture blades produce 'creamy,' circular bokeh, while cheaper lenses may produce 'distracting' or polygonal shapes.

Hyperfocal distance is the point of focus where everything from half that distance to infinity is in acceptable focus. Landscape photographers use this to maximize the depth of field in their shots.

Technically, no, but it affects our perception of it. A 50-megapixel image viewed at 100% zoom will reveal blur that might have looked 'sharp' on a 12-megapixel screen. This is why the Circle of Confusion constant must be smaller for modern high-resolution sensors.