Camera Depth of Field (DoF) & Hyperfocal Distance Calculator
Calculate depth of field (DoF), near/far focus limits, 35mm equivalent focal length, and hyperfocal distance across camera sensors.
🚀 Recommended WorkflowWorkflow Chain
Tools recommended next in your workflow based on your current task.
Video Bitrate & SD Card/SSD Storage Calculator
Proceed to next step with Video Bitrate & SD Card/SSD Storage Calculator.
Audio Delay, Distance (ms), DSP Samples & BPM Calculator
Proceed to next step with Audio Delay, Distance (ms), DSP Samples & BPM Calculator.
Image Format Converter (WebP · PNG · JPG · BMP)
Optimize image formats, dimensions, and compression next.
Camera Depth of Field (DoF), Equivalent Field of View, & Hyperfocal Distance Guide
In photography and cinematography, Depth of Field (DoF) defines the zone of acceptable sharpness in front of and behind the exact plane of focus. Controlling depth of field is the cornerstone of visual composition, spanning from creamy portrait background separation (bokeh) to edge-to-edge landscape pan-focus.
Optical depth of field is governed by four geometric variables: the lens's actual physical focal length, the selected aperture (f-number), subject distance, and the camera sensor format's permissible Circle of Confusion (CoC).
This professional optical calculator supports 35mm full-frame, APS-C (1.5x/1.6x), Micro Four Thirds (2.0x), 1-inch, and Medium Format sensors, computing 35mm equivalent focal lengths, near/far focus thresholds, total DoF spread, and hyperfocal distances for landscape infinity sharpness.
Geometric Optics: Depth of Field & Hyperfocal Distance Formulation
Rigorous optical equations integrating circle of confusion criteria with aperture entrance pupil geometry.
Where f is physical focal length, N is aperture f-number, c is Circle of Confusion (0.030 mm for 35mm full frame, 0.020 mm for APS-C, 0.015 mm for M4/3), and s is subject distance. Focusing at H guarantees sharpness from H/2 to infinity.
👉 The in-focus depth is just 12.9 cm (approx. 5 inches), providing dramatic background blur with subject eyes sharply isolated.
Sensor Formats, Circle of Confusion, & DoF Benchmark Table
Standardized benchmark comparing formats with 50mm lens at f/2.8 and subject distance of 2.5 meters
| Sensor Format | Sensor Size (mm) | Crop Factor | Permissible CoC | 35mm Equiv. FoV | Total DoF Spread | Hyperfocal Dist. |
|---|---|---|---|---|---|---|
| Medium Format (44x33) | 43.8 × 32.9 mm | 0.79x | 0.038 mm | 39.5 mm | 38.2 cm | 23.5 m |
| 35mm Full Frame | 36.0 × 24.0 mm | 1.00x | 0.030 mm | 50.0 mm | 30.3 cm | 29.8 m |
| APS-C (Sony/Nikon/Fuji) | 23.5 × 15.6 mm | 1.53x | 0.020 mm | 76.5 mm | 20.1 cm | 44.7 m |
| APS-C (Canon) | 22.2 × 14.8 mm | 1.62x | 0.019 mm | 81.0 mm | 19.1 cm | 47.1 m |
| Micro Four Thirds (M4/3) | 17.3 × 13.0 mm | 2.00x | 0.015 mm | 100.0 mm | 15.2 cm | 59.6 m |
| 1-Inch Sensor (RX100) | 13.2 × 8.8 mm | 2.72x | 0.011 mm | 136.0 mm | 11.1 cm | 81.2 m |
| Smartphone 1/1.3" Sensor | 9.6 × 7.2 mm | 3.75x | 0.008 mm | 187.5 mm | 8.1 cm | 111.7 m |
How to Use
11. Select Sensor Format
Choose your camera sensor format (Full Frame, APS-C crop, Micro Four Thirds, Medium Format, etc.).
22. Set Physical Focal Length & Aperture
Input the native focal length in millimeters (e.g., 50mm, 85mm) and working aperture f-stop (f/1.4, f/2.8, f/8).
33. Input Subject Distance
Specify distance from the sensor plane to the subject in meters or feet.
44. Review DoF Bounds & Hyperfocal Distance
Examine near limit, far limit, total depth, depth split distribution (front/behind %), and hyperfocal distance.
Genre-Specific Depth of Field Setups
Optimal focal lengths, apertures, and distance combinations across shooting disciplines
Full frame body with 85mm at f/1.8 focused at 2.5m creates a 8cm focal plane, rendering hair and background into smooth creamy bokeh.
Full frame with 24mm wide-angle at f/8 gives a hyperfocal distance of 2.4m. Focusing precisely at 2.4m keeps everything from 1.2m to the horizon pin-sharp.
A 100mm macro lens focused at 0.35m yields a razor-thin DoF of only 2 to 3mm even at f/11, requiring motorized focus stacking.
Photographing 20 people in three rows with a 35mm lens at 4m requires stepping down to f/5.6 to f/8 to achieve at least 2.5m of depth, keeping all faces crisp.
💡 Practical Depth of Field Field Rules
Setting lens focus to the infinity hard-stop sacrifices foreground sharpness. Focus at the calculated hyperfocal point instead.
Stopping down to f/16 or f/22 increases DoF but causes optical diffraction across small sensor pixels, noticeably softening overall image resolution.
To amplify background blur, minimize the distance between camera and subject, and maximize the gap between subject and distant background.
⚠️ Common Pitfalls & Mistakes to Avoid
Frequently Asked Questions (FAQ)
Expert answers to the most frequently asked questions and edge cases.
Hyperfocal distance is the closest focus distance at which elements at infinity maintain acceptable optical sharpness. When you focus your lens precisely at the hyperfocal distance, your depth of field extends from half of that distance all the way to infinity, ensuring total foreground-to-horizon sharpness.
Smartphone sensors are tiny compared to full-frame cameras. To achieve standard viewing angles, smartphones must use extremely short physical focal lengths (4mm to 7mm). Extremely short focal lengths inherently generate massive optical depth of field, making background blur negligible without computational AI rendering.
No. The popular 1/3:2/3 rule is only an approximation that applies at intermediate distances. In macro photography or close portraits, the DoF distribution approaches an exact 50:50 ratio. As the subject approaches the hyperfocal distance, the rear depth expands exponentially towards infinity.
This is caused by optical diffraction. As light passes through an extremely narrow physical aperture opening, light waves bend and interfere with each other, forming blurry Airy disk patterns that override high sensor resolution. Most full-frame lenses achieve peak resolving power between f/5.6 and f/8.
The Circle of Confusion is the maximum diameter of an out-of-focus point of light on the camera sensor that human vision still perceives as a sharp point when viewed at standard print sizes and distances. Standard values are 0.030mm for 35mm full frame and 0.020mm for APS-C.
You must multiply both the focal length and the f-number by the crop factor. To replicate a full-frame 50mm f/2.8 look on an APS-C (1.5x) camera, you need a 33mm lens shooting at approximately f/1.8.