Depth of Field (DOF)
What is Depth of Field (DOF)?
Depth of field is how much of a scene appears sharp in a photo or video. A shallow depth of field keeps only the subject sharp with a blurry background; a deep depth of field keeps everything sharp.
At a glance
- Also known as
- DOFFocus rangeDepth of focus
- Used for
- Isolating subjects from backgrounds in portrait and narrative photographyCreating cinematic subject separation in videoMaintaining full scene sharpness in documentary and landscape contextsDirecting viewer attention through selective focus
- Common tools
- Variable aperture lensTelephoto lens for shallow DOFWide-angle lens for deep DOFAI prompt depth-of-field specification
- Related terms
- Deep focusShallow focusBokehApertureRack focus
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.
How it compares
Depth of field describes the range of object distances in front of the lens that appear sharp in the captured image, and is the concept most relevant to creative composition. Depth of focus is a related but technical concept that describes the range of image plane positions behind the lens where the image remains acceptably sharp. Depth of field is the concept creators and photographers work with; depth of focus is a lens engineering and calibration concern.
Think of it like…
Imagine you are pointing a magnifying glass at a ladybird on a leaf. The ladybird is perfectly sharp and clear, but the leaf behind it is blurry, and the grass behind that is even blurrier. Now imagine putting down the magnifying glass and just looking at the garden with your eyes. Suddenly everything looks clear, from the flower right in front of you all the way to the fence at the end of the garden. The magnifying glass gave you very shallow depth of field, just like a camera with a wide-open aperture. Your normal eyes in the garden gave you deep depth of field, like a camera set to a small aperture. The depth of field is how much of the world in front of the camera, near or far, gets to be sharp at the same time. Viewers have been trained by decades of photography and film to associate shallow depth of field with closeness, intimacy, and importance, while deep depth of field feels more neutral and observational.
Pro tip
When directing depth of field in AI generation prompts, be specific about both the focal element and the background treatment together. A prompt that specifies sharp focus on the subject's eyes with a softly blurred background at f/2.8 bokeh gives the model more precise information than shallow depth of field alone. Adding qualitative descriptions of the blur quality, whether creamy, smooth, or featuring distinct circular bokeh shapes, further refines the output toward the exact look you are aiming for.
Types and variations
- Shallow depth of field uses wide apertures and telephoto lenses to keep only a narrow zone in focus, creating subject isolation and soft background blur.
- Deep depth of field uses narrow apertures and wide-angle lenses to keep an extended range of distances in focus, from near foreground to distant background.
- Selective focus deliberately places the point of sharpest focus on a non-dominant element to create unexpected visual hierarchy.
- Rack focus smoothly shifts the plane of sharpest focus from one distance to another during a shot, transitioning the viewer's attention from one subject to another.
Ready to make your first scene in Morphic?
Try MorphicCommon use cases
- Portrait photography and narrative close-ups where shallow DOF isolates the subject's face from a distracting background.
- Commercial product photography where the product is rendered crisply sharp against a softly blurred environment.
- Narrative filmmaking where the cinematographer uses DOF to direct the audience's attention to specific characters or objects within a scene.
- Documentary and journalistic work where deep DOF preserves the full context of a scene.
- AI generation workflows where DOF specification helps ensure outputs have the intended level of subject isolation and background treatment.
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.
FAQs
Depth of field is the range of distance in front of a camera that appears acceptably sharp in the captured image. A shallow depth of field means only a narrow zone is sharp while the rest blurs; a deep depth of field means a wide range of distances remain sharp simultaneously.
The three main factors are aperture, focal length, and subject distance. Wider apertures produce shallower DOF; narrower apertures produce deeper DOF. Longer focal lengths produce shallower DOF than wide-angle lenses. Closer subject distances also produce shallower DOF.
Shallow depth of field is when only a narrow zone of the scene is in sharp focus, while the foreground and background fall into blur. It is achieved with wide apertures and telephoto lenses and is associated with subject isolation, portraiture, and a cinematic aesthetic.
Shallow DOF isolates a subject by keeping only a narrow distance range in focus while blurring everything else. Deep DOF keeps an extended distance range in focus, from near foreground to distant background, allowing the full spatial extent of a scene to be readable.
Use a wide aperture setting such as f/1.8, f/2.8, or f/4, combined with a telephoto focal length and a relatively short distance between the camera and subject. These conditions together minimize the in-focus zone and maximize background blur.
Shallow depth of field has long been associated with professional cameras and large lenses capable of wide apertures, giving it an aesthetic connection to high-budget production. It also directs viewer attention precisely and creates visual separation between subject and environment that feels intentional and crafted.
Describe the focal element and the background treatment together, such as sharp focus on the subject with a softly blurred background at f/2.8 bokeh. Specific aperture references, focal length suggestions, and qualitative descriptions of blur quality all help the model produce the intended DOF effect.
Rack focus is a cinematographic technique in which the point of sharpest focus is smoothly shifted from one subject distance to another during a shot, transitioning the viewer's attention from one element to another as the focus plane moves through the scene.