Depth of Field Calculator 2026

Calculate precise depth of field, hyperfocal distance, and focus range for any camera and lens combination. Get sharp photos from foreground to background.

Last Updated: January 2026 | Reviewed by: VerCalc Photography Team

What is Depth of Field (DoF)?

Depth of Field (DoF) is the zone of acceptable sharpness in front of and behind your focus point. It's determined by three factors: aperture (f-number), focal length, and focus distance. Use this calculator to determine exactly what will be sharp in your photograph, from portrait background blur to landscape foreground-to-infinity sharpness.

Camera Settings

CoC: 0.030mm

f/

Depth of Field Results

TOTAL DEPTH OF FIELD
60 cm
Near Limit
2.73 m
Far Limit
3.33 m
In front of subject27 cm
Behind subject33 cm
Hyperfocal distance29.81 m
FOCUS RANGE VISUALIZATION
Near Limit● Focus PointFar Limit
1

How It Works

**Depth of Field (DoF)** is the zone of acceptable sharpness in front of and behind your focus point. This calculator uses industry-standard optical formulas to determine exactly what will be sharp in your photograph. **Calculation Methodology:** We use the classic depth of field equations based on the **circle of confusion (CoC)**, which defines the maximum blur spot that still appears sharp to the human eye. **Key Formulas:** * **Hyperfocal Distance**: `H = f² / (N × c) + f` * **Near Limit**: `DN = (H × s) / (H + (s – f))` * **Far Limit**: `DF = (H × s) / (H – (s – f))` * **Total DoF**: `DF - DN` Where: * **f** = Focal length (mm) * **N** = Aperture (f-number) * **s** = Focus distance (meters) * **c** = Circle of confusion (mm, varies by sensor size) * **H** = Hyperfocal distance **Circle of Confusion by Sensor:** The CoC value depends on your sensor size and intended print viewing distance. We use these standard values: * Full Frame: 0.030mm * APS-C Canon: 0.019mm * APS-C Nikon/Sony: 0.020mm * Micro Four Thirds: 0.015mm *Note: All calculations follow professional photography standards and account for sensor size differences.*

2

Why Trust This Calculator?

Industry-Standard Formulas

Based on optical physics equations used by lens manufacturers and professional photographers worldwide.

Sensor-Specific CoC

Accurate circle of confusion values for all major camera sensor formats, ensuring precise results for your specific camera.

Hyperfocal Distance

Calculate the optimal focus distance to maximize depth of field—essential for landscape photography.

Visual Focus Range

See exactly how much of your scene will be in focus with an intuitive graphical representation.

Depth of Field Calculator

Calculate the exact depth of field for your camera and lens combination. Get precise near and far focus limits, hyperfocal distance, and visualize your focus range for perfect sharpness in portraits and landscapes.

Depth of Field Comparison by Aperture

Understanding how aperture affects DoF helps you choose the right settings for your photography style:

ApertureDoF DepthBackground BlurBest For
f/1.4 - f/2.8Very ShallowStrong (bokeh)Portraits, subject isolation
f/4 - f/5.6ModerateMediumEnvironmental portraits, products
f/8 - f/11DeepSlightLandscapes, architecture, groups
f/16 - f/22Very DeepMinimalMacro, landscapes with near foreground

Note: Very small apertures (f/22+) may cause diffraction, slightly reducing overall sharpness. For most lenses, f/8-f/11 provides the sharpest results. When shooting in bright conditions and need to use wide apertures for shallow DoF, consider using an ND filter to reduce light without changing your aperture setting.

Hyperfocal Distance Table for Common Lenses

Quick reference guide for hyperfocal distances with popular lens and aperture combinations (Full Frame sensor):

Focal Lengthf/8f/11f/16
16mm1.1 m0.8 m0.5 m
24mm2.4 m1.7 m1.2 m
35mm5.1 m3.7 m2.6 m
50mm10.4 m7.6 m5.2 m

Tip: Focus at the hyperfocal distance to keep everything from half that distance to infinity in sharp focus.

Related Photography Calculators

Master all aspects of your photography with these additional tools:

Frequently Asked Questions

Q:What is depth of field (DoF)?

Depth of field is the distance between the nearest and farthest objects in a photo that appear acceptably sharp. A shallow DoF (small zone of sharpness) is used for portraits to blur backgrounds, while a deep DoF (large zone of sharpness) is used for landscapes where you want everything from foreground to background in focus.

Q:What affects depth of field?

Three main factors control depth of field: (1) Aperture - smaller f-numbers (like f/1.8) create shallow DoF, larger f-numbers (like f/11) create deep DoF; (2) Focal length - longer lenses produce shallower DoF at the same distance; (3) Focus distance - the closer you focus, the shallower the DoF becomes. Sensor size also plays a role through the circle of confusion.

Q:What is hyperfocal distance?

Hyperfocal distance is the closest distance at which you can focus your lens while keeping objects at infinity acceptably sharp. When you focus at the hyperfocal distance, everything from half that distance to infinity will be in focus—maximizing depth of field. This technique is essential for landscape photography when you want sharpness from foreground to background.

Q:What is circle of confusion (CoC)?

The circle of confusion is the maximum blur spot diameter that still appears as a point to the human eye when viewing a print at a standard distance. It depends on sensor size—smaller sensors have smaller CoC values. For example, a full-frame sensor uses 0.030mm while an APS-C sensor uses approximately 0.020mm. This value is crucial for accurate DoF calculations.

Q:How do I get maximum depth of field for landscapes?

To maximize depth of field for landscapes: (1) Use a small aperture like f/11 or f/16; (2) Use a wide-angle lens (shorter focal length); (3) Focus at the hyperfocal distance instead of infinity—this calculator will tell you exactly where to focus. Focusing at the hyperfocal distance ensures maximum sharpness from the foreground to infinity.

Q:How do I get shallow depth of field for portraits?

For shallow DoF with blurred backgrounds in portraits: (1) Use a wide aperture like f/1.4, f/1.8, or f/2.8; (2) Use a longer focal length like 85mm or 135mm; (3) Get closer to your subject; (4) Keep the background far from your subject. All these factors combine to create beautiful background blur (bokeh) while keeping your subject sharp.

Master Focus Control

Take control of sharpness in your images. Use depth of field calculations to create stunning portraits with creamy backgrounds or tack-sharp landscapes from foreground to infinity.