Depth of Field Calculator
Enter your camera and lens settings to calculate DOF, hyperfocal distance, and focus limits
Acceptable sharpness zone
Near Limit
Closest sharp distance
Far Limit
Farthest sharp distance
Hyperfocal Distance
Focus here for max DOF
DOF in Front
29% of total DOF
DOF Behind
71% of total DOF
35mm Equivalent
1.0× crop factor
Depth of Field Visualization
Focus Stacking Planner
Calculate the number of shots needed for complete sharpness across your subject
When to Use Focus Stacking
Focus stacking combines multiple images focused at different distances to achieve greater depth of field than a single shot allows. Essential for:
- Macro photography — Insects, flowers, and small objects where DOF is millimeters
- Product photography — Sharp focus from front to back of products
- Landscape photography — Sharp foreground flowers with distant mountains
- Architecture — Interior shots with close and far elements
Focus Stack Preview
Hyperfocal Distance
Maximize depth of field for landscape photography
What is Hyperfocal Distance?
The hyperfocal distance is the closest focus distance at which everything from half that distance to infinity appears acceptably sharp. It's the key to sharp landscape photography.
(Near Sharp Limit)
(Focus Here)
Formula
H = f² / (N × c)
Hyperfocal Distance Quick Reference (Full Frame)
| Focal Length | f/4 | f/5.6 | f/8 | f/11 | f/16 |
|---|---|---|---|---|---|
| 16mm | 2.1m | 1.5m | 1.1m | 0.8m | 0.5m |
| 24mm | 4.8m | 3.4m | 2.4m | 1.7m | 1.2m |
| 35mm | 10.2m | 7.3m | 5.1m | 3.7m | 2.6m |
| 50mm | 20.8m | 14.9m | 10.4m | 7.6m | 5.2m |
| 85mm | 60.2m | 43.0m | 30.1m | 21.9m | 15.1m |
| 100mm | 83.3m | 59.5m | 41.7m | 30.3m | 20.8m |
Sensor Sizes & Circle of Confusion
How sensor size affects depth of field calculations
Understanding Circle of Confusion (CoC)
The Circle of Confusion is the largest blur spot that still appears as a point to the human eye. Smaller sensors have smaller CoC values, which affects DOF calculations. However, the actual DOF difference comes from the equivalence principle:
- Smaller sensors use shorter focal lengths for the same field of view
- Shorter focal lengths have inherently greater DOF
- To match the same framing and DOF, you'd need to adjust aperture by the crop factor
| Sensor Format | Dimensions | Crop Factor | CoC (mm) | Common Cameras |
|---|---|---|---|---|
| Medium Format | 44 × 33 mm | 0.79× | 0.043 | Fuji GFX, Hasselblad X |
| Full Frame (35mm) | 36 × 24 mm | 1.0× | 0.030 | Canon R5, Sony A7, Nikon Z |
| APS-C (Canon) | 22.3 × 14.9 mm | 1.6× | 0.019 | Canon R7, 90D, M50 |
| APS-C (Sony/Nikon) | 23.5 × 15.6 mm | 1.5× | 0.020 | Sony A6700, Nikon Z50 |
| Micro Four Thirds | 17.3 × 13 mm | 2.0× | 0.015 | Olympus OM-5, Panasonic GH6 |
| 1" Sensor | 13.2 × 8.8 mm | 2.7× | 0.011 | Sony RX100, DJI drones |
| iPhone 15 Pro Main | 9.8 × 7.3 mm | 3.9× | 0.008 | iPhone 15 Pro/Max (48MP) |
Equivalence Example
A 50mm f/2.8 on Full Frame gives the same field of view and DOF as:
Camera Settings by Scenario
Recommended aperture and focus settings for common photography situations
Group Portrait
Landscape
Macro (Insects, Flowers)
Product Photography
Street Photography
Architecture (Interior)
Astrophotography
The Aperture Sweet Spot
Depth of Field Tips
Practical advice for controlling depth of field in your photography
Increasing DOF (More Sharpness)
- Use a smaller aperture (higher f-number: f/8, f/11)
- Use a wider lens (shorter focal length)
- Move farther from your subject
- Use a camera with a smaller sensor
- Focus stack multiple images
Decreasing DOF (More Blur)
- Use a wider aperture (lower f-number: f/1.4, f/2)
- Use a longer lens (telephoto)
- Move closer to your subject
- Increase subject-to-background distance
- Use a camera with a larger sensor