Depth of field calculator
Calculate near/far focus, depth of field, hyperfocal distance, and circle of confusion.
35mm equivalent: 50mm
Near focus
4.31 m
Far focus
5.96 m
Depth of field
1.65 m
Hyperfocal
30.84 m
Circle of confusion
0.029 mm
In front / behind
69 cm / 96 cm
Depth of field diagram
About this tool
- 1
Select camera sensor
Choose your camera body or sensor size (full frame, APS-C, Micro Four Thirds, etc.) for correct crop factor.
- 2
Enter lens settings
Input the focal length and aperture (f-stop) of your lens.
- 3
Set subject distance
Enter the distance from your camera to the subject in meters or feet.
- 4
View depth of field
See the near focus limit, far focus limit, total DoF, and hyperfocal distance with a visual depth map.
- For sharp landscapes, set focus to the hyperfocal distance - everything from half that distance to infinity will be acceptably sharp.
- Wider apertures (lower f-number) create shallower depth of field - great for portraits with blurry backgrounds.
- Sensor size matters: a full-frame camera has shallower DoF than APS-C at the same framing and aperture.
- For macro photography, DoF becomes extremely shallow - consider focus stacking.
- Supports all common sensor sizes with custom circle of confusion values
- Calculates near limit, far limit, total DoF, and hyperfocal distance
- Visual depth map showing the in-focus zone
- Hyperfocal distance calculation for landscape photography
- Comparison mode to see DoF at different apertures side by side
- Planning portrait shoots to achieve the right amount of background blur
- Calculating hyperfocal distance for sharp landscape photography
- Determining if a group photo will have everyone in focus at a given aperture
- Pre-planning macro photography focus stacking shots