Calculate DOF
Professional Depth of Field Calculator for Photographers and Cinematographers.
Visual DOF Representation
The green area represents the sharp region around your subject.
What is Calculate DOF?
When you Calculate DOF (Depth of Field), you are determining the distance between the nearest and farthest objects in a scene that appear acceptably sharp in an image. In photography, focus is technically only possible at a single distance. However, the human eye perceives a range of distances as "sharp," which is what we call the depth of field.
Professional photographers Calculate DOF to control the narrative of their images. A shallow depth of field (small range) is often used in portraiture to blur the background, while a deep depth of field (large range) is essential for landscape photography where everything from the foreground to the horizon should be crisp.
Common misconceptions include the idea that only aperture affects depth of field. In reality, when you Calculate DOF, you must account for focal length, subject distance, and the physical size of the camera sensor, which dictates the circle of confusion.
Calculate DOF Formula and Mathematical Explanation
The mathematics behind the ability to Calculate DOF relies on the geometry of light rays passing through a lens. The primary components are the Hyperfocal Distance (H), the Near Limit (Dn), and the Far Limit (Df).
The Core Formulas
1. Hyperfocal Distance (H):
H = (f² / (N * c)) + f
2. Near Limit of Sharpness (Dn):
Dn = (s * (H - f)) / (H + s - 2f)
3. Far Limit of Sharpness (Df):
Df = (s * (H - f)) / (H - s)
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| f | Focal Length | mm | 14mm – 600mm |
| N | Aperture (f-number) | f-stop | f/1.2 – f/22 |
| c | Circle of Confusion | mm | 0.01mm – 0.03mm |
| s | Subject Distance | meters | 0.5m – Infinity |
Practical Examples (Real-World Use Cases)
Example 1: Portrait Photography
Imagine you are using a Full Frame camera with an 85mm lens at f/1.8. Your subject is 2 meters away. When you Calculate DOF for this setup, the total depth of field is only about 4 centimeters. This means if you focus on the eyes, the ears might already be slightly out of focus, creating that creamy, professional background blur.
Example 2: Landscape Photography
You are shooting a mountain range with a 24mm wide-angle lens at f/11. You focus on a rock 5 meters away. When you Calculate DOF, you'll find the hyperfocal distance is approximately 1.75 meters. Since your focus distance is beyond this, everything from about 1.3 meters to infinity will be sharp, ensuring the entire landscape is captured in detail.
How to Use This Calculate DOF Calculator
To get the most accurate results when you Calculate DOF, follow these steps:
- Select Sensor Size: Choose your camera type. This sets the "Circle of Confusion" based on industry standards for sensor size comparison.
- Enter Focal Length: Use the actual focal length printed on your lens, not the "equivalent" focal length.
- Set Aperture: Input your desired f-stop. Remember that smaller numbers (f/1.8) mean wider apertures and shallower DOF.
- Input Distance: Measure or estimate the distance to your main subject.
- Analyze Results: Look at the "Total Depth of Field" and the "Near/Far Limits" to understand your sharp zone.
Key Factors That Affect Calculate DOF Results
- Aperture Size: The most direct control. Widening the aperture (lower f-number) decreases the depth of field.
- Subject Distance: The closer you are to your subject, the shallower the depth of field becomes. This is why macro photography has such tiny DOF.
- Focal Length: Longer focal lengths (telephoto) appear to have shallower depth of field compared to wide-angle lenses, even at the same aperture.
- Sensor Size: Larger sensors (Full Frame) require longer focal lengths to achieve the same field of view as smaller sensors, which indirectly leads to shallower DOF. Understanding circle of confusion basics is key here.
- Circle of Confusion: This is a measure of how much a point of light can be blurred before it is no longer perceived as sharp. It depends on the final print size and viewing distance.
- Diffraction: At very small apertures (like f/22), image sharpness decreases due to light waves interfering with each other, which can complicate how you Calculate DOF.
Frequently Asked Questions (FAQ)
Related Tools and Internal Resources
- Focal Length Guide: Learn how different lenses affect your perspective.
- Aperture Explained: A deep dive into f-stops and light transmission.
- Photography Basics: Master the exposure triangle and composition.
- Exposure Triangle Calculator: Balance ISO, Shutter Speed, and Aperture.
- Lens Selection Guide: Choosing the right glass for your camera body.
- Hyperfocal Distance Tool: Specifically for landscape sharp-focusing.