Skip to content

Depth of Field

You might say

“How do I create that beautiful cinematic background blur with circular bokeh balls, without having the AI accidentally blur the actor's face?”

Describe it to an agent this way — far better than saying “make it nicer”.
Also called
DoFShallow focusDeep focusOptical bokeh

COMPOSITION

depth-of-field · Depth of Field

Keep focal length, focus distance, and framing fixed, then stop down from f/1.4 to f/11. Watch the acceptable-sharpness zone expand in front of and behind a stationary focus plane.

Depth unfolded along the viewing direction

f/1.4 f/11

Solid fill: current acceptable-sharpness zone
Dashed outline: schematic f/1.4 range

Stopping down to f/11 widens the illustrated range

This is a relationship diagram, with no measured near or far DoF limits. Zone widths, marker positions, and blur amounts are not drawn to optical scale.

Three checks in the scene

  1. The central focus line stays at 3 m. Acceptable sharpness extends in front of and behind it, rather than existing only on one plane.
  2. With focal length and focus distance fixed, stopping down from f/1.4 to f/11 increases depth of field: the filled zone expands beyond the dashed outline and the outer markers sharpen.
  3. Sharpness needs a criterion. With an acceptable circle of confusion of 0.030 mm, a larger defocus circle at the image plane falls outside that definition of depth of field. The diagram represents this as inside versus outside the zone.
Fixed conditions and the changing parameter
QuantityValueUnit / interpretation
Focal length85mm · held fixed
Focus distance3m · focus line stays put
Aperturef/1.4 → f/11f-number · stopping down
Acceptable circle of confusion0.030mm · selected sharpness criterion

Failure criterion: if required subject detail produces defocus circles larger than the chosen limit, it is outside the accepted DoF. A 0.030 mm criterion is not universal across output sizes and viewing distances; stopping down also cannot repair motion blur.

Reduced motion shows the f/11 end state. The dashed f/1.4 range, fixed focus line, and full demonstration sequence remain available.

Not rack focus: a rack focus moves the plane of focus. Here that plane stays fixed while aperture changes the acceptable-sharpness zone around it.

Depth of field (DoF) is the zone of acceptable sharpness situated in front of and behind the exact physical plane of focus.

In cinematography, depth of field is the primary optical tool for visual hierarchy. Rather than allowing every background detail to compete equally for attention (the sterile “smartphone camera” look), a shallow depth of field carves the subject out of chaotic geography with creamy, out-of-focus background bokeh.

Why it works

Depth of field is governed by optical physics and the Circle of Confusion (CoC). Light rays originating from points on the focal plane converge into a single pin-prick point on the camera sensor. Rays coming from objects in front of or behind that plane strike the sensor as expanded discs. When these discs exceed roughly 0.025–0.030 mm on a full-frame sensor, the human eye registers them as out of focus.

Three physical variables dictate the depth of this zone:

  1. Aperture (ff-number): Shooting wide open at f/1.4, f/2.0, or f/2.8 admits light across a wide entrance pupil, producing large out-of-focus discs that resolve into luminous circular bokeh balls. Narrowing down to f/8 or f/11 shrinks the pupil, expanding depth of field until both foreground actors and distant mountains are pin-sharp (Deep Focus).
  2. Focal Length: A telephoto prime lens like an 85mm or 135mm compresses space and dramatically narrows depth of field to a few millimeters. A wide-angle 24mm lens naturally retains massive depth.
  3. Subject Distance: As demonstrated during a camera push-in, physically closing the distance from 3 m to 1 m exponentially thins the focal plane.

Psychologically, shallow depth of field acts as a selective spotlight. It commands the viewer’s gaze to settle precisely where the director intends, eliminating visual clutter. In generative AI models like Runway Gen-3 and Kling AI, naming explicit optical settings (e.g., “85mm prime lens, wide open at f/1.8, creamy background bokeh balls”) prompts the latent space to synthesize authentic optical ray falloff rather than applying a cheap digital Gaussian blur filter.

When to use it

  • Emotional portraiture and dialogue: Isolating an actor’s face against a busy public square, turning distracting passersby into soft pastel shapes.
  • Micro-detail focus: Drawing focus to a smoking cigarette, a drop of water on glass, or trembling fingertips.
  • Romantic or dreamy atmospheres: Using large specular bokeh balls to add magic to night scenes illuminated by distant city lights, complementing three-point-lighting.
  • Establishing visual contrast: Pairing an off-center subject on the rule-of-thirds with an intensely blurred opposing negative space.

Pitfalls

  • The “smeared face” defect: Prompting generic terms like “blurry background, strong blur” often confuses the text encoder, causing the model to defocus the character’s eyes or nose. Always explicitly specify: “subject face in razor-sharp critical focus, shallow depth of field confined strictly to background”.
  • Unrealistic paper-thin focus: Pushing for extreme macro-thin focus on an active character causes parts of their face (e.g., ears or nose) to drift out of focus whenever they breathe. For dialogue, anchor around a manageable f/2.8.
  • Ignoring deep focus storytelling: Shallow focus is not always superior. In political thrillers or westerns, deep focus (stopping down to f/8) lets the audience watch conspirators plotting in the background while the hero talks in the foreground.
  • Conflating with motion blur: Optical defocus is spatial; motion-blur is temporal. Ensure your prompt maintains a standard 180° shutter-angle so movement within the bokeh circles remains physically consistent.

Model-specific prompts

Runway Gen-3

Cinematic medium close-up, 85mm portrait prime lens, wide open aperture f/1.8, razor-sharp critical focus on character's eyes, background city street completely melts into soft creamy circular bokeh lights, natural rim light, 180 degree shutter, 4k photorealistic.

Kling AI

Shallow depth of field cinematography. A solitary woman in a crowded subway station, her face in tack-sharp focus while the commuters and trains behind her are dissolved in soft optical blur. 50mm lens, f/2.0 aperture, cinematic color grade, no facial defocus.

Hailuo (MiniMax)

Atmospheric night portrait, rain falling through shallow depth of field, neon streetlights in background resolved as glowing chromatic bokeh discs, tack-sharp subject silhouette, 35mm film grain, high temporal fidelity.

Depth of field works hand-in-hand with geometric placement along the rule-of-thirds. As the camera approaches a subject during a physical push-in, depth of field naturally thins out. Contrast optical defocus against temporal shutter exposure by dialing in shutter-angle and natural motion-blur.

Sources

  1. Blain Brown, Cinematography Theory and Practice, 4th ed. — Optics, circle of confusion, and depth of field calculations
  2. American Cinematographer Manual, 10th ed. — Depth of field tables, hyperfocal distance, and circle of confusion standards
  3. David Bordwell & Kristin Thompson, Film Art An Introduction, 12th ed. — Deep space, selective focus, and deep focus cinematography

Quick check

Pick the answer you think fits best and see the explanation instantly. Your answers stay in this browser.

Pick one — it grades instantly

Which combination of physical optical parameters produces the shallowest depth of field on camera?

Selecting grades it — no submit