ONLINToolsPremium Suite

Depth of Field Calculator

Calculate precise depth of field, hyperfocal distance, and sharp focus range for any camera sensor and lens combination.

Lens & Camera Settings
Configure your camera and lens parameters

Circle of confusion: 0.03 mm

Standard

Depth of Field Results
Total Depth of Field
0.60 m
Near: 2.7 mFocus: 3.0 mFar: 3.3 m
Near Limit
2.7 m
Far Limit
3.3 m
Front DOF
0.27 m
Rear DOF
0.33 m
Hyperfocal Distance
30 m
Focus here for max sharpness from 15 m to ∞
Front/Rear ratio: 1:1.2(~1/3 front, ~2/3 rear at moderate distances)

Complete Guide to Depth of Field in Photography

Depth of field is one of the most important creative tools available to photographers. Understanding how to control DOF allows you to direct the viewer's attention, create mood, and add a three-dimensional quality to your two-dimensional images.

Understanding Depth of Field

In any photograph, there is only one exact plane of perfect focus. Everything in front of and behind that plane gradually becomes less sharp. Depth of field describes the zone where this blur is small enough to appear acceptably sharp to the viewer. The boundaries of this zone — the near and far focus limits — are determined by your aperture, focal length, focusing distance, and sensor size.

Hyperfocal Distance: The Landscape Photographer's Secret

Hyperfocal distance is the focus distance that gives you the maximum possible depth of field. When you focus at the hyperfocal distance, everything from half that distance to infinity will be acceptably sharp. This technique is invaluable for landscape photography where you want both near foreground elements and distant mountains to be sharp simultaneously.

For example, with a 24mm lens at f/11 on a full-frame camera, the hyperfocal distance is approximately 1.7 meters. By focusing at 1.7m, everything from 0.87m to infinity will be sharp — a vast improvement over simply focusing at infinity, which would waste all the depth of field beyond the horizon.

DOF and Sensor Size

Sensor size affects depth of field because to achieve the same field of view with a smaller sensor, you either use a shorter focal length or stand further away — both of which increase DOF. This is why smartphones (with tiny sensors) have nearly everything in focus, while medium format cameras can produce extremely shallow DOF even at moderate apertures.