Near Limit, Far Limit, Total DOF
Defaults to full frame, 50mm, f/2.8 at 3m so the numbers are already on the page
Acceptable sharpness zone
Near Limit
Closest sharp distance
Far Limit
Farthest sharp distance
Hyperfocal Distance
Focus here for max DOF
DOF in Front
45% of total DOF
DOF Behind
55% 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
Quick Reference
Essential Gear for Depth of Field
85mm or 50mm fast prime
A fast prime is how you separate a face from a messy background. At f/1.8 it produces more blur than a kit zoom at f/4.
See mount picksTravel tripod
Hyperfocal landscapes and any focus stack need a locked-down camera. Handheld stacking rarely lines up.
View on AmazonFocus rail
At 1:1, turning the focus ring changes magnification. A rail moves the camera in tiny steps so stacked frames line up.
See the macro kitDepth of Field FAQ
How the calculator works, hyperfocal distance, and when to stack
How is depth of field calculated?
Depth of field is the zone of acceptable sharpness around the focus point. This calculator uses focal length, f-number, focus distance, and the sensor’s circle of confusion to return the near limit, far limit, and total DOF.
What is hyperfocal distance?
Hyperfocal distance is the closest focus that keeps infinity acceptably sharp. Focus there and everything from half that distance to infinity falls inside the depth of field. Use it for landscapes when you want foreground to horizon sharp in one frame.
Why is more depth of field behind the subject than in front?
At typical portrait and landscape distances, depth of field splits about one third in front of the focus point and two thirds behind it. At macro distances the split is closer to 50/50. The calculator reports the exact front and rear amounts for your settings.
What is circle of confusion?
Circle of confusion is the largest blur spot that still looks like a point in a print or on screen. Smaller sensors use a smaller CoC, which is why the same focal length and aperture produce different DOF numbers on full frame versus APS-C or Micro Four Thirds.
When should I focus stack instead of stopping down?
Stack when one frame cannot cover the subject without diffraction. Macro, product, and some landscapes hit that wall around f/11 to f/16 on full frame. Use the stacking planner for shot count, then keep the aperture in the lens’s sweet spot.
Does a crop sensor have more depth of field?
For the same field of view, yes, because the crop body uses a shorter focal length. Match framing and you need to open the aperture by the crop factor to get the same blur as full frame. The sensor table on this page shows the equivalent setups.