Depth of Field Calculator

Enter focal length, aperture, and subject distance. Get near/far limits, total DOF, hyperfocal distance, and a visual representation of the focus zone.

Sensor size
Focal Length
50mm
8mm50mm600mm
Aperture
f/2.8
f/1f/5.6f/22
Subject Distance
3.0m
0.3m3m
Near Focus Limit
Far Focus Limit
Total DOF
Hyperfocal Distance
Circle of Confusion
DOF character
Focus zone visualisation
📷
In-focus zone
Subject

// depth of field explained

Depth of field is the range of distance in a scene that appears acceptably sharp. "Acceptably sharp" is defined by the circle of confusion — the maximum size a point of light can be on the sensor before it looks blurry.

Hyperfocal distance is the closest focus distance at which infinity is still acceptably sharp. Focusing at the hyperfocal distance gives you the maximum possible depth of field for any given aperture and focal length.

Shallow DOF is achieved with: wide aperture (low f-number) + long focal length + close subject distance. Deep DOF: small aperture (high f-number) + short focal length + distant subject.