How to Use This Calculator
- 1
Enter the Focal Length
Input the focal length of your lens in millimeters. Longer focal lengths produce stronger background compression and more bokeh.
- 2
Enter the Aperture (f-number)
Input the aperture f-number. Lower values (e.g. f/1.8) produce shallower depth of field and more bokeh.
- 3
Enter the Subject Distance
Enter the distance from the camera to your subject in metres. Closer subjects produce shallower depth of field.
- 4
Enter the Circle of Confusion
Input the maximum acceptable circle of confusion for your sensor. Full-frame: 0.03 mm, APS-C: 0.02 mm, Micro 4/3: 0.015 mm.
- 5
Review your results
The calculator displays six cards: Bokeh Intensity Score, Depth of Field, Blur Circle Diameter, Near Focus Limit, Far Focus Limit, and Hyperfocal Distance.
Example Calculation
A photographer wants to estimate bokeh intensity and depth of field for a 50mm lens at f/1.8 focused 3 metres from the subject.
Focal Length
50
Aperture (f-number)
1.8
Subject Distance
3
Circle of Confusion
0.03
Results
Bokeh Intensity Score
92.6 / 100
Depth of Field
0.383 m
Blur Circle Diameter
0.237 mm
Near Focus Limit
2.822 m
Far Focus Limit
3.204 m
Hyperfocal Distance
46.35 m
Tips
Mastering CoC for Different Sensors
The Circle of Confusion (CoC) is critical. For APS-C sensors, a common CoC is 0.019mm, while Micro Four Thirds might use 0.015mm. Adjusting this value accurately reflects the perceived sharpness on different camera formats.
Aperture's Impact on Blur
To maximize bokeh, use the widest possible aperture (smallest f-number) your lens offers. For instance, moving from f/2.8 to f/1.4 can dramatically increase background blur, often halving the depth of field at similar focal lengths and subject distances.
Subject-to-Background Distance
The distance between your subject and the background is just as important as the subject distance from the camera. A greater separation between the subject and background will enhance the blur, making the bokeh more prominent and pleasing.
Understanding Depth of Field for Artistic Blur
Achieving that coveted creamy background blur, known as bokeh, is a hallmark of professional photography, particularly in portraits and product shots.
The Bokeh Intensity Estimator Calculator helps photographers precisely determine the depth of field (DoF), which directly influences the amount and quality of background blur.
By inputting key lens and shooting parameters, you can predict how much of your scene will be acceptably sharp, allowing for creative control.
For instance, a shallow depth of field, often less than 0.5 meters, can isolate a subject beautifully, making them pop against a softly blurred backdrop.
The Math Behind Depth of Field and Hyperfocal Distance
The calculation of depth of field and the resulting bokeh intensity relies on the interrelationship of several optical principles.
At its core, the calculator determines the hyperfocal distance (H) and then uses this to derive the near and far limits of acceptable focus.
The hyperfocal distance is the closest point to the camera at which a lens can be focused while keeping objects at infinity acceptably sharp.
The hyperfocal distance (H) is calculated first:
H = (focal length × focal length) / (aperture × circle of confusion) + focal length
Where:
focal lengthis the lens's focal length in millimeters (mm)apertureis the f-number (e.g., 1.8 for f/1.8)circle of confusionis the acceptable circle of confusion in millimeters (mm)
Once H is known, the near and far focus limits are derived:
near focus limit = (H × subject distance) / (H + (subject distance - focal length))
far focus limit = (H × subject distance) / (H - (subject distance - focal length))
depth of field = far focus limit - near focus limit
All distances are converted to millimeters for consistency in the calculation.
The subject distance is the distance from the camera to the main subject.
Estimating Bokeh for a Headshot with an 85mm Lens
Consider a portrait photographer aiming for a tight depth of field to isolate their subject.
They are using an 85mm prime lens, shooting at a wide aperture of f/1.8.
The subject is positioned 2 meters away, and for their full-frame camera, they are using a standard Circle of Confusion (CoC) of 0.029mm.
Here’s how the calculation unfolds:
- Input Focal Length: 85 mm
- Input Aperture: 1.8 f/
- Input Subject Distance: 2 m (which is 2000 mm)
- Input Circle of Confusion: 0.029 mm
First, calculate the hyperfocal distance (H):
H = (85 * 85) / (1.8 * 0.029) + 85H = 7225 / 0.0522 + 85H = 138410 + 85 = 138495 mm (or approximately 138.5 meters)
Next, calculate the near focus limit:
near = (138495 * 2000) / (138495 + (2000 - 85))near = 276990000 / (138495 + 1915)near = 276990000 / 140410 = 1972.7 mm, or approximately 1.97 m
Then, calculate the far focus limit:
far = (138495 * 2000) / (138495 - (2000 - 85))far = 276990000 / (138495 - 1915)far = 276990000 / 136580 = 2028.1 mm, or approximately 2.03 m
Finally, the total depth of field is:
DoF = far - near = 2028.1 mm - 1972.7 mm = 55.4 mm, or approximately 0.06 m.
The photographer can expect a very shallow depth of field of about 6 centimeters, with acceptable focus extending from 1.97m to 2.03m.
This ensures the subject's eyes are sharp while the background melts into a soft blur.
Practical Shooting Context
The values derived from this calculator significantly influence a photographer's creative decisions regarding exposure, composition, and equipment selection.
A shallow depth of field, often achieved with wide apertures like f/1.4 or f/2.8, allows for strong subject isolation, making the main subject pop against a blurred background.
This is particularly effective in portraiture, where the goal is to draw the viewer's eye directly to the subject's face.
Conversely, a deep depth of field, typically f/8 or f/11, keeps more of the scene in focus, which is ideal for landscape photography where sharpness from foreground to background is desired.
Lens choice also plays a crucial role; longer focal lengths (e.g., 85mm, 135mm) inherently produce shallower depth of field and more compression, enhancing bokeh, compared to wider lenses (e.g., 24mm, 35mm) at the same aperture.
When bokeh intensity estimator gives misleading results
While the Bokeh Intensity Estimator Calculator provides a strong theoretical foundation, there are specific scenarios where its results might not perfectly align with real-world perception or creative intent.
- Complex Backgrounds and Foreground Elements: The calculator assumes a uniform "blur quality." However, a busy background with high contrast or distinct shapes can produce less pleasing bokeh, even if the calculated depth of field is shallow. The "intensity" of bokeh is also influenced by the number of aperture blades and the lens's optical design, which this calculator does not account for. In such cases, use the calculator as a starting point, but always evaluate the actual bokeh in test shots.
- Perceived vs. Actual Sharpness: The Circle of Confusion (CoC) is a subjective measure of "acceptable sharpness." Different photographers, or different viewing conditions (e.g., a large print vs. a small phone screen), might have varying tolerances for what appears sharp. If you find your calculated DoF doesn't match your visual expectation, adjust the CoC value slightly (e.g., from 0.029mm to 0.025mm for full-frame) to better align with your personal standards of sharpness.
- Lens Aberrations and Focus Shift: Real-world lenses are not perfect. Chromatic aberration, spherical aberration, and focus shift (where the point of sharpest focus changes when stopping down the aperture) can all subtly alter the actual depth of field and bokeh quality. For critical work, particularly with fast prime lenses, it's essential to perform real-world focus tests at your intended aperture and subject distance to confirm the actual DoF and bokeh appearance.
Frequently Asked Questions
What is bokeh in photography?
Bokeh refers to the aesthetic quality of the blur produced in the out-of-focus parts of an image. It is not just about the amount of blur, but the quality and appearance of the blurred areas, often characterized by soft, pleasing circles of light.
How does focal length affect bokeh?
Longer focal lengths generally produce more compressed backgrounds and shallower depth of field, leading to stronger bokeh. An 85mm lens at f/1.8 will typically yield more pronounced bokeh than a 35mm lens at the same aperture and subject distance.
Is a larger aperture always better for bokeh?
While a larger aperture (smaller f-number like f/1.4 or f/2.8) typically results in a shallower depth of field and more blur, the 'quality' of bokeh is subjective. Some lenses produce smoother, creamier bokeh even at slightly smaller apertures, depending on their optical design.
What is the Circle of Confusion (CoC)?
The Circle of Confusion (CoC) is the maximum size a blurred point of light can be before it is perceived as 'sharp' by the human eye. This value is typically related to sensor size and print size, with full-frame cameras often using a CoC around 0.029mm.
