Skip to main content

Depth of Field Calculator — Free DoF Tool for Filmmakers & PhotographersDepth of FieldCalculator

Calculate depth of field, hyperfocal distance, and near/far focus limits for any camera and lens combination. Supports cinema and photography sensor formats.

Total Depth of Field

87.0 cm

Near Limit

2.63 m

Far Limit

3.50 m

Hyperfocal

20.81 m

Sharp from 10.41 m to ∞

2.63 m3.00 m3.50 m
NearFocusFar
Camera & Lens Settings
mm
f/
m

Sensor Sizes & Crop Factors

Reference table for common cinema and photography sensor formats, their crop factors, and circle of confusion values

Common Sensor Formats

SensorDimensions (mm)Crop FactorCoC (mm)Common Cameras
Full Frame36 × 241.0×0.030Sony A7 series, Canon R5/R6, Nikon Z6/Z8, Panasonic S1
Super 3524.9 × 18.71.4×0.019ARRI Alexa, RED Komodo, Sony FX6, Canon C70
APS-C (Canon)22.3 × 14.91.6×0.019Canon R7, Canon R10, Canon 90D
APS-C (Nikon/Sony)23.5 × 15.61.5×0.020Sony A6700, Nikon Z50, Fujifilm X-T5
Micro 4/317.3 × 132.0×0.015Panasonic GH6, OM System OM-1, Blackmagic Pocket 4K
Super 1612.5 × 7.52.9×0.012ARRI SR3, Aaton XTR, Bolex H16, Blackmagic Micro
1" Sensor13.2 × 8.82.7×0.011Sony RX100, DJI Mavic 3, Panasonic FZ1000
Medium Format43.8 × 32.90.79×0.043Fujifilm GFX 100S, Hasselblad X2D, Phase One IQ4
iPhone 15 Pro (Main)9.8 × 7.33.7×0.007iPhone 15 Pro / Pro Max (48MP main sensor)

How Depth of Field Works

Depth of field depends on three primary factors: aperture, focal length, and focus distance. Understanding these relationships helps you control how much of your scene appears sharp.

Aperture (f-stop)

A wider aperture (lower f-number) creates a shallower depth of field, isolating the subject from the background. A narrower aperture (higher f-number) increases DoF, keeping more of the scene in focus.

f/1.4 = very shallow → f/16 = very deep

Focal Length

Longer focal lengths produce shallower depth of field at the same aperture and distance. A 135mm lens has much less DoF than a 24mm lens at the same f-stop and subject distance.

24mm = deep DoF → 135mm = shallow DoF

Focus Distance

The closer you focus to the subject, the shallower the depth of field becomes. At macro distances, DoF can be as thin as a fraction of a millimeter.

0.5m = razor-thin → 50m = very deep

Depth of Field Formula

The approximate total depth of field can be calculated using:

DoF ≈ 2 × N × c × d² / f²

N = f-stop • c = CoC • d = distance • f = focal length

Hyperfocal Distance

The focus distance that maximizes depth of field from half H to infinity:

H = f² / (N × c) + f

Focus at H → sharp from H/2 to ∞

Near Focus Limit

The closest distance that appears acceptably sharp:

Dn = d × (H − f) / (H + d − 2f)

Far Focus Limit

The farthest distance that appears acceptably sharp:

Df = d × (H − f) / (H − d)

When d ≥ H, far limit = ∞

Frequently Asked Questions

Common questions about depth of field, circle of confusion, and hyperfocal distance

Depth of field is the distance range in front of and behind the focus point that appears acceptably sharp in an image. A shallow DoF isolates the subject with a blurred background (bokeh), while a deep DoF keeps more of the scene in focus. It is controlled by aperture, focal length, and the distance between the camera and subject.

The circle of confusion is the maximum diameter of a blur spot on the sensor that still appears acceptably sharp to the human eye. It varies by sensor size — larger sensors have a larger acceptable CoC. For full-frame (35mm) sensors it is typically 0.030mm, while Super 35 cinema sensors use approximately 0.019mm.

The hyperfocal distance is the focus distance at which everything from half that distance to infinity appears acceptably sharp. Focusing at the hyperfocal distance maximizes overall depth of field, which is especially useful in landscape photography and wide-angle cinematography.

Larger sensors produce a shallower depth of field at the same field of view and aperture. This is because you need a longer focal length on a larger sensor to match the same framing, and longer focal lengths reduce DoF. A full-frame sensor gives noticeably shallower DoF than Micro Four Thirds or Super 16 at the same composition.

Crop factor describes how much smaller a sensor is compared to full-frame 35mm. A 1.5× crop sensor (APS-C) has a field of view equivalent to 1.5× the focal length on full frame. To match the same framing, you use a shorter lens, which increases depth of field. So smaller sensors (higher crop factor) tend to have deeper DoF at the same framing and aperture.

The three main factors are: (1) Aperture — wider apertures (lower f-numbers like f/1.4) produce shallower DoF; (2) Focal length — longer focal lengths compress perspective and reduce DoF; (3) Subject distance — the closer you focus, the shallower the depth of field. Sensor size also plays a role because it influences the focal length needed for a given field of view.

At a focus distance of 3 meters, a 50mm f/1.4 on a full-frame sensor produces approximately 24cm of depth of field (roughly 2.92m to 3.08m in focus). At 5 meters, DoF increases to about 66cm. At 1.5 meters (a typical headshot distance), DoF shrinks to just 6cm — so precise focus is critical for portraits at wide apertures.

For landscapes, f/8 to f/11 on full frame typically provides excellent sharpness across the frame. Focus at the hyperfocal distance (which you can calculate above) to maximize depth of field from foreground to infinity. For example, a 24mm lens at f/8 on full frame has a hyperfocal distance of about 2.4m — focusing there keeps everything from 1.2m to infinity sharp.

At the same framing and aperture, a Super 35 sensor (~1.4× crop) produces approximately 1 stop more depth of field than full frame. To match the shallow DoF of a 50mm f/2 on full frame, you would need roughly a 35mm f/1.4 on Super 35. This is why full-frame cinema cameras like the Sony Venice are popular for shallow-focus work.

Bokeh refers to the aesthetic quality of the out-of-focus areas in an image. It is a direct result of shallow depth of field. Factors that enhance bokeh include wider apertures (f/1.2–f/2), longer focal lengths, and closer focus distances. The shape and smoothness of bokeh are influenced by the lens design, particularly the number and shape of aperture blades.

Paul Kothe
InstagramVimeoLinkedIn
© 2026 Paul Kothehello@paulkothe.de